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