Package com.singularsys.extensions.matrix.functions
PostfixMathCommands for functions and operators which work on matrices. Most methods simply use the corresponding method of a MatrixField.
- Since:
- Jep 3.5 / Extensions 2.0
-
Class Summary Class Description MatrixAdd Adds two elements using a MatrixField.MatrixCmp Compare two elements using a MatrixField.MatrixCross Calculates the cross-product of two 3D vectors using a matrix field.MatrixDet Calculate the determinant of a matrix using a MatrixField.MatrixDiv Divides two objects using a MatrixField.MatrixDot Calculates the dot-product of two vectors using a MatrixField.MatrixEle Gets and sets the elements of a matrix or vector using a MatrixFactory.MatrixId Generates identity matrices. id(2) will generate a 2 by 2 identity. id(3,2) will generate a 3 by 2 matrix with ones down the principal diagonal.MatrixInv Calculate the inverse of a square matrix using a MatrixField.MatrixList PostfixMathCommand which takes a number of objects on the stack and creates either a matrix or a vector.MatrixMod Calculates the modulus of two elements using a MatrixField.MatrixMul Multiplies two objects using a MatrixField.MatrixNeg Negates an object using a MatrixField.MatrixPow Raise one element to a power using a MatrixField.MatrixSize Returns the size of an Scaler, Vector or Matrix.MatrixSolve Solved the equation A * X = B Default implementation is to use Gauss-JordanMatrixSub Subject two objects using a MatrixField.MatrixTrace Calculate the trace of a matrix using a MatrixField.MatrixTrans Calculate the transpose of a matrix using a MatrixField.MatrixZeroMat Construct a matrix of zeros using a matrix field.MatrixZeroVec Construct a matrix of zeros using a matrix field.