ansys.mapdl.core.math.ApdlMathObj

class ansys.mapdl.core.math.ApdlMathObj(id_, mapdl, dtype=<ObjType.GEN: 1>)

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

ApdlMathObj.copy()

Returns the name of the copy of this object

ApdlMathObj.norm([nrmtype])

Matrix or vector norm.

ApdlMathObj.ones()

Set all values of the vector to one

ApdlMathObj.rand()

Set all values of the vector to a random number

ApdlMathObj.zeros()

Set all values of the vector to zero