Matrix provides the fundamental operations of numerical linear algebra.
Constructor | Description |
Full Usage:
Matrix(rows, columns)
Parameters:
int
-
Number of rows.
columns : int
-
Number of columns.
|
![]() ![]() ![]() ![]() Constructs an empty matrix of the given size.
|
Full Usage:
Matrix(rows, columns, value)
Parameters:
int
-
Number of rows.
columns : int
-
Number of columns.
value : float
-
Value to assign to the diagnoal elements.
|
![]() ![]() ![]() ![]() Constructs a matrix of the given size and assigns a given value to all diagonal elements.
|
Full Usage:
Matrix(data)
Parameters:
float[][]
-
The array the matrix gets constructed from.
|
![]() ![]() ![]() ![]() Constructs a matrix from the given array.
|
Instance member | Description |
|
![]() ![]() ![]() ![]() Matrix addition.
|
|
![]() ![]() ![]() ![]() Creates a copy of the matrix.
|
Full Usage:
this.ColumnCount
Returns: int
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns the number of columns.
|
Full Usage:
this.Determinant
Returns: float
Modifiers: abstract |
![]() ![]() ![]() ![]() Determinant if matrix is square.
|
Full Usage:
this.FrobeniusNorm
Returns: float
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns the Frobenius Norm for the matrix.
|
|
![]() ![]() ![]() ![]() Returns the cholesky decomposition for this matrix.
|
|
![]() ![]() ![]() ![]() Returns the eigenvalue decomposition for this matrix.
|
|
![]() ![]() ![]() ![]() Returns the LU decomposition for this matrix.
|
|
![]() ![]() ![]() ![]() Returns the QR decomposition for this matrix.
|
Full Usage:
this.GetSingularValueDecomposition
Returns: ISingularValueDecomposition
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns the singular value decomposition for this matrix.
|
Full Usage:
this.InfinityNorm
Returns: float
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns the Infinity Norm for the matrix.
|
|
![]() ![]() ![]() ![]() Inverse of the matrix if matrix is square, pseudoinverse otherwise.
|
Full Usage:
this.IsSquare
Returns: bool
Modifiers: abstract |
![]() ![]() ![]() ![]() Return if the matrix is a square matrix.
|
Full Usage:
this.IsSymmetric
Returns: bool
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns if the matrix is symmetric.
|
Full Usage:
this.[arg1, arg2]
Parameters:
int
Returns: int
Modifiers: abstract |
![]() ![]() ![]() ![]() Access the value at the given location.
|
|
![]() ![]() ![]() ![]() Matrix-scalar multiplication.
|
|
![]() ![]() ![]() ![]() Matrix-matrix multiplication.
|
Full Usage:
this.Norm1
Returns: float
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns the One Norm for the matrix.
|
Full Usage:
this.RowCount
Returns: int
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns the number of columns.
|
|
![]() ![]() ![]() ![]() Returns the LHS solution vetor if the matrix is square or the least squares solution otherwise.
|
Full Usage:
this.Submatrix
Parameters:
int
-
Starttial row index
i1 : int
-
End row index
j0 : int
-
Start column index
j1 : int
-
End column index
Returns: IMapackMatrix
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns a sub matrix extracted from the current matrix.
|
Full Usage:
this.Submatrix
Parameters:
int[]
-
Array of row indices
c : int[]
-
Array of row indices
Returns: IMapackMatrix
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns a sub matrix extracted from the current matrix.
|
Full Usage:
this.Submatrix
Parameters:
int
-
Starttial row index
i1 : int
-
End row index
c : int[]
-
Array of row indices
Returns: IMapackMatrix
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns a sub matrix extracted from the current matrix.
|
Full Usage:
this.Submatrix
Parameters:
int[]
-
Array of row indices
j0 : int
-
Start column index
j1 : int
-
End column index
Returns: IMapackMatrix
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns a sub matrix extracted from the current matrix.
|
Full Usage:
this.Subtraction
Parameters:
IMapackMatrix
Returns: IMapackMatrix
Modifiers: abstract |
![]() ![]() ![]() ![]() Matrix subtraction.
|
Full Usage:
this.ToString
Returns: string
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns the matrix in a textual form.
|
Full Usage:
this.Trace
Returns: float
Sum of the diagonal elements.
Modifiers: abstract |
![]() ![]() ![]() ![]() Returns the trace of the matrix.
|
|
![]() ![]() ![]() ![]() Returns the transposed matrix.
|
|
![]() ![]() ![]() ![]() Unary minus.
|
Static member | Description |
Full Usage:
Matrix.Diagonal(rows, columns, value)
Parameters:
int
columns : int
value : float
Returns: IMapackMatrix
|
![]() ![]() ![]() ![]() Returns a diagonal matrix of the given size.
|
Full Usage:
Matrix.Random(rows, columns)
Parameters:
int
columns : int
Returns: IMapackMatrix
|
![]() ![]() ![]() ![]() Returns a matrix filled with random values.
|