CADability dotNET
The Matrix type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Matrix(array<Double,2>[,](,)[,][,]) | Constructs a matrix from a 2-D array. | |
Matrix(array<GeoVector>[]()[][]) | ||
Matrix(array<GeoVector2D>[]()[][]) | ||
Matrix(ModOp) | ||
Matrix(array<Double>[]()[][], Int32) | Construct a matrix from a one-dimensional packed array | |
Matrix(Int32, Int32) | Construct an m-by-n matrix of zeros. | |
Matrix(Int32, Int32, Double) | Construct an m-by-n constant matrix. |
Methods
Name | Description | |
---|---|---|
Add | In place addition of m to this Matrix. | |
ArrayDivide(Matrix) | In place element-by-element right division, A ./= B. | |
ArrayDivide(Matrix, Matrix) | Element-by-element right division, C = A./B. | |
ArrayMultiply(Matrix) | In place element-by-element multiplication. | |
ArrayMultiply(Matrix, Matrix) | Element-by-element multiplication. | |
chol | Cholesky Decomposition | |
Clone | Returns a deep copy of this instance. | |
Condition | Matrix condition (2 norm) | |
Create | Constructs a matrix from a copy of a 2-D array. | |
Determinant | Matrix determinant | |
Eigen | Eigenvalue Decomposition | |
GetMatrix(array<Int32>[]()[][], array<Int32>[]()[][]) | Gets a submatrix. | |
GetMatrix(Int32, Int32, array<Int32>[]()[][]) | Get a submatrix. | |
GetMatrix(array<Int32>[]()[][], Int32, Int32) | Get a submatrix. | |
GetMatrix(Int32, Int32, Int32, Int32) | Gets a submatrix. | |
Identity | Generates identity matrix | |
Inverse | Matrix inverse or pseudoinverse. | |
LUD | LU Decomposition | |
Multiply | Multiplies in place this Matrix by a scalar. | |
Norm1 | One norm | |
Norm2 | Two norm | |
NormF | Frobenius norm | |
NormInf | Infinity norm | |
QRD | QR Decomposition | |
Random | Generates matrix with random elements | |
Rank | Matrix rank | |
RowVector | ||
SaveInverse | ||
SaveSolve | ||
SaveSolveTranspose | ||
SetMatrix(array<Int32>[]()[][], array<Int32>[]()[][], Matrix) | Sets a submatrix. | |
SetMatrix(Int32, Int32, array<Int32>[]()[][], Matrix) | Set a submatrix. | |
SetMatrix(array<Int32>[]()[][], Int32, Int32, Matrix) | Sets a submatrix. | |
SetMatrix(Int32, Int32, Int32, Int32, Matrix) | Set a submatrix. | |
Solve | Solve A*X = B | |
SolveTranspose | Solve X*A = B, which is also A'*X' = B' | |
Subtract | In place substraction of m to this Matrix. | |
SVD | Singular Value Decomposition | |
ToString | (Overrides Object..::..ToString()()()().) | |
Trace | Matrix trace. | |
Transpose()()()() | In place transposition of this Matrix. | |
Transpose(Matrix) | Gets the transposition of the provided Matrix. | |
UnaryMinus | In place unary minus of the Matrix. |
Operators
Name | Description | |
---|---|---|
Addition | Addition of matrices | |
ExplicitNarrowingExplicitExplicitExplicit(Matrix to array<Double>[]()[][]) |
Explicit convertion to a double[] array of a single column matrix.
| |
ImplicitWideningImplicitImplicitImplicit(Matrix to array<Double,2>[,](,)[,][,]) | Implicit convertion to a double[,] array. | |
Multiply(Double, Matrix) | Multiplication of a matrix by a scalar, C = s*A | |
Multiply(Matrix, Matrix) | Linear algebraic matrix multiplication. | |
Subtraction | Subtraction of matrices |
Properties
Name | Description | |
---|---|---|
ColumnCount | Gets the number of columns. | |
Item | Gets or set the element indexed by (i, j)
in the Matrix. | |
RowCount | Gets the number of rows. |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICloneable..::..Clone |