Skip to main content
Back to top
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
More
Release notes
Ctrl
+
K
GitHub
Support
Ctrl
+
K
Getting started
User guide
API reference
Examples
Contribute
Release notes
GitHub
Support
Section Navigation
PyAnsys Math
AnsMath
AnsMathObj
AnsVec
AnsMat
asarray
axpy
const
copy
dot
kron
norm
ones
rand
sym
zeros
T
ncol
nrow
shape
size
AnsSolver
PyAnsys
API reference
PyAnsys Math
AnsMat
ones
ones
#
AnsMat.
ones
(
)
#
Set all values of the object to one.
On this page
AnsMat.ones()
Edit on GitHub
Show Source