AnsSolver#

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

Provides the AnsMath solver class.

Methods

AnsSolver.axpy(obj, val1, val2)

Perform the matrix operation: self= val1*obj + val2*self.

AnsSolver.const(value)

Set all values of the object to a constant.

AnsSolver.copy()

Get 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])

Return the norm of the AnsMath object.

AnsSolver.ones()

Set all values of the object to one.

AnsSolver.rand()

Set all values of the object to a random number.

AnsSolver.solve(b[, x])

Solve a linear system.

AnsSolver.zeros()

Set all values of the object to zero.