AnsMathObj#
- class ansys.math.core.math.AnsMathObj(id_, mapdl=None, dtype=ObjType.GEN)#
Provides the common class for AnsMath objects.
Methods
AnsMathObj.axpy
(obj, val1, val2)Perform the matrix operation:
self= val1*obj + val2*self
.AnsMathObj.const
(value)Set all values of the object to a constant.
Get the name of the copy of this object.
AnsMathObj.kron
(obj)Calculates the Kronecker product of two matrices/vectors
AnsMathObj.norm
([nrmtype])Return the norm of the AnsMath object.
Set all values of the object to one.
Set all values of the object to a random number.
Set all values of the object to zero.