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.
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.
Set all values of the object to one.
Set all values of the object to a random number.
AnsSolver.solve(b[, x])Solve a linear system.
Set all values of the object to zero.