vec

MapdlMath.vec(size=0, dtype=<class 'numpy.float64'>, init=None, name=None)

Create a vector.

Parameters
sizeint

Size of the vector

dtypenp.dtype, optional

Datatype of the vector. Must be either np.int32, np.int64, or np.double.

initstr, optional

Initialization options. Can be "ones", "zeros", or "rand".

namestr, optional

Give the vector a name. Otherwise one will be automatically generated.

Returns
ansys.mapdl.math.AnsVec

APDLMath Vector.