AnsSolver#

class ansys.mapdl.core.math.AnsSolver(id_, mapdl, dtype=ObjType.GEN)[source]#

APDLMath Solver Class

Methods

AnsSolver.axpy(op, val1, val2)

Perform the matrix operation: M2= v*M1 + w*M2

AnsSolver.const(value)

Set all values of the vector to a constant

AnsSolver.copy()

Returns the name of the copy of this object

AnsSolver.factorize(mat[, algo, inplace])

Factorize a matrix

AnsSolver.kron(obj)

Calculates the Kronecker product of two matrices/vectors

AnsSolver.norm([nrmtype])

Matrix or vector norm.

AnsSolver.ones()

Set all values of the vector to one

AnsSolver.rand()

Set all values of the vector to a random number

AnsSolver.solve(b[, x])

Solve a linear system

AnsSolver.zeros()

Set all values of the vector to zero