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
asarray
axpy
const
copy
dot
kron
norm
ones
rand
zeros
size
AnsMat
AnsSolver
PyAnsys
API reference
PyAnsys Math
AnsVec
ones
ones
#
AnsVec.
ones
(
)
#
Set all values of the object to one.
On this page
AnsVec.ones()
Edit on GitHub
Show Source