ApdlMathObj#
- class ansys.mapdl.core.math.ApdlMathObj(id_, mapdl, dtype=ObjType.GEN)[source]#
Common class for MAPDL Math objects
Methods
ApdlMathObj.axpy
(op, val1, val2)Perform the matrix operation:
M2= v*M1 + w*M2
ApdlMathObj.const
(value)Set all values of the vector to a constant
Returns the name of the copy of this object
ApdlMathObj.kron
(obj)Calculates the Kronecker product of two matrices/vectors
ApdlMathObj.norm
([nrmtype])Matrix or vector norm.
Set all values of the vector to one
Set all values of the vector to a random number
Set all values of the vector to zero