Method | Description | |
---|---|---|
Cholesky ( ) : Cholesky |
||
Create ( int rows, int columns, Func |
Create a new dense matrix and initialize each value using the provided init function.
|
|
Create ( int rows, int columns, float value ) : |
Create a new dense matrix and initialize each value to the same provided value.
|
|
CreateDiagonal ( int rows, int columns, float>.Func |
Create a new diagonal dense matrix and initialize each diagonal value using the provided init function.
|
|
CreateDiagonal ( int rows, int columns, float value ) : |
Create a new diagonal dense matrix and initialize each diagonal value to the same provided value.
|
|
CreateIdentity ( int order ) : |
Create a new square sparse identity matrix where each diagonal value is set to One.
|
|
CreateRandom ( int rows, int columns, IContinuousDistribution distribution ) : |
Create a new dense matrix with values sampled from the provided random distribution.
|
|
DenseMatrix ( DenseColumnMajorMatrixStorage |
Create a new dense matrix straight from an initialized matrix storage instance. The storage is used directly without copying. Intended for advanced scenarios where you're working directly with storage for performance or interop reasons.
|
|
DenseMatrix ( int order ) : System |
Create a new square dense matrix with the given number of rows and columns. All cells of the matrix will be initialized to zero. Zero-length matrices are not supported.
|
|
DenseMatrix ( int rows, int columns ) : System |
Create a new dense matrix with the given number of rows and columns. All cells of the matrix will be initialized to zero. Zero-length matrices are not supported.
|
|
DenseMatrix ( int rows, int columns, float storage ) : System |
Create a new dense matrix with the given number of rows and columns directly binding to a raw array. The array is assumed to be in column-major order (column by column) and is used directly without copying. Very efficient, but changes to the array and the matrix will affect each other.
|
|
Evd ( Symmetricity symmetricity = Symmetricity.Unknown ) : Evd |
||
FrobeniusNorm ( ) : double |
Calculates the entry-wise Frobenius norm of this matrix.
|
|
GramSchmidt ( ) : GramSchmidt |
||
InfinityNorm ( ) : double |
Calculates the induced infinity norm of this matrix.
|
|
IsSymmetric ( ) : bool |
Evaluates whether this matrix is symmetric.
|
|
L1Norm ( ) : double |
Calculates the induced L1 norm of this matrix.
|
|
LU ( ) : LU |
||
OfArray ( float array ) : |
Create a new dense matrix as a copy of the given two-dimensional array. This new matrix will be independent from the provided array. A new memory block will be allocated for storing the matrix.
|
|
OfColumnArrays ( ) : |
Create a new dense matrix as a copy of the given column arrays. This new matrix will be independent from the arrays. A new memory block will be allocated for storing the matrix.
|
|
OfColumnArrays ( IEnumerable |
Create a new dense matrix as a copy of the given column arrays. This new matrix will be independent from the arrays. A new memory block will be allocated for storing the matrix.
|
|
OfColumnMajor ( int rows, int columns, IEnumerable |
Create a new dense matrix as a copy of the given enumerable. The enumerable is assumed to be in column-major order (column by column). This new matrix will be independent from the enumerable. A new memory block will be allocated for storing the matrix.
|
|
OfColumnVectors ( ) : |
Create a new dense matrix as a copy of the given column vectors. This new matrix will be independent from the vectors. A new memory block will be allocated for storing the matrix.
|
|
OfColumnVectors ( IEnumerable |
Create a new dense matrix as a copy of the given column vectors. This new matrix will be independent from the vectors. A new memory block will be allocated for storing the matrix.
|
|
OfColumns ( IEnumerable |
Create a new dense matrix as a copy of the given enumerable of enumerable columns. Each enumerable in the master enumerable specifies a column. This new matrix will be independent from the enumerables. A new memory block will be allocated for storing the matrix.
|
|
OfColumns ( int rows, int columns, IEnumerable |
Create a new dense matrix as a copy of the given enumerable of enumerable columns. Each enumerable in the master enumerable specifies a column. This new matrix will be independent from the enumerables. A new memory block will be allocated for storing the matrix.
|
|
OfDiagonalArray ( float diagonal ) : |
Create a new dense matrix with the diagonal as a copy of the given array. This new matrix will be independent from the array. A new memory block will be allocated for storing the matrix.
|
|
OfDiagonalArray ( int rows, int columns, float diagonal ) : |
Create a new dense matrix with the diagonal as a copy of the given array. This new matrix will be independent from the array. A new memory block will be allocated for storing the matrix.
|
|
OfDiagonalVector ( Vector |
Create a new dense matrix with the diagonal as a copy of the given vector. This new matrix will be independent from the vector. A new memory block will be allocated for storing the matrix.
|
|
OfDiagonalVector ( int rows, int columns, Vector |
Create a new dense matrix with the diagonal as a copy of the given vector. This new matrix will be independent from the vector. A new memory block will be allocated for storing the matrix.
|
|
OfIndexed ( int rows, int columns, IEnumerable |
Create a new dense matrix as a copy of the given indexed enumerable. Keys must be provided at most once, zero is assumed if a key is omitted. This new matrix will be independent from the enumerable. A new memory block will be allocated for storing the matrix.
|
|
OfMatrix ( Matrix |
Create a new dense matrix as a copy of the given other matrix. This new matrix will be independent from the other matrix. A new memory block will be allocated for storing the matrix.
|
|
OfRowArrays ( ) : |
Create a new dense matrix as a copy of the given row arrays. This new matrix will be independent from the arrays. A new memory block will be allocated for storing the matrix.
|
|
OfRowArrays ( IEnumerable |
Create a new dense matrix as a copy of the given row arrays. This new matrix will be independent from the arrays. A new memory block will be allocated for storing the matrix.
|
|
OfRowVectors ( ) : |
Create a new dense matrix as a copy of the given row vectors. This new matrix will be independent from the vectors. A new memory block will be allocated for storing the matrix.
|
|
OfRowVectors ( IEnumerable |
Create a new dense matrix as a copy of the given row vectors. This new matrix will be independent from the vectors. A new memory block will be allocated for storing the matrix.
|
|
OfRows ( IEnumerable |
Create a new dense matrix as a copy of the given enumerable of enumerable rows. Each enumerable in the master enumerable specifies a row. This new matrix will be independent from the enumerables. A new memory block will be allocated for storing the matrix.
|
|
OfRows ( int rows, int columns, IEnumerable |
Create a new dense matrix as a copy of the given enumerable of enumerable rows. Each enumerable in the master enumerable specifies a row. This new matrix will be independent from the enumerables. A new memory block will be allocated for storing the matrix.
|
|
QR ( QRMethod method = QRMethod.Thin ) : QR |
||
Svd ( bool computeVectors = true ) : Svd |
||
Trace ( ) : float |
Computes the trace of this matrix.
|
|
operator ( ) : |
Multiplies a Matrix by a constant and returns the result.
|
|
operator ( ) : MathNet.Numerics.LinearAlgebra.Single.DenseVector |
Multiplies a Matrix and a Vector.
|
Method | Description | |
---|---|---|
DoAdd ( Matrix |
Adds another matrix to this matrix.
|
|
DoAdd ( float scalar, Matrix |
Add a scalar to each element of the matrix and stores the result in the result vector.
|
|
DoDivide ( float divisor, Matrix |
Divides each element of the matrix by a scalar and places results into the result matrix.
|
|
DoModulus ( float divisor, Matrix |
Computes the canonical modulus, where the result has the sign of the divisor, for the given divisor each element of the matrix.
|
|
DoModulusByThis ( float dividend, Matrix |
Computes the canonical modulus, where the result has the sign of the divisor, for the given dividend for each element of the matrix.
|
|
DoMultiply ( Matrix |
Multiplies this matrix with another matrix and places the results into the result matrix.
|
|
DoMultiply ( Vector |
Multiplies this matrix with a vector and places the results into the result vector.
|
|
DoMultiply ( float scalar, Matrix |
Multiplies each element of the matrix by a scalar and places results into the result matrix.
|
|
DoNegate ( Matrix |
Negate each element of this matrix and place the results into the result matrix.
|
|
DoPointwiseDivide ( Matrix |
Pointwise divide this matrix by another matrix and stores the result into the result matrix.
|
|
DoPointwiseMultiply ( Matrix |
Pointwise multiplies this matrix with another matrix and stores the result into the result matrix.
|
|
DoRemainder ( float divisor, Matrix |
Computes the remainder (% operator), where the result has the sign of the dividend, for the given divisor each element of the matrix.
|
|
DoRemainderByThis ( float dividend, Matrix |
Computes the remainder (% operator), where the result has the sign of the dividend, for the given dividend for each element of the matrix.
|
|
DoSubtract ( Matrix |
Subtracts another matrix from this matrix.
|
|
DoSubtract ( float scalar, Matrix |
Subtracts a scalar from each element of the matrix and stores the result in the result vector.
|
|
DoTransposeAndMultiply ( Matrix |
Multiplies this matrix with transpose of another matrix and places the results into the result matrix.
|
|
DoTransposeThisAndMultiply ( Matrix |
Multiplies the transpose of this matrix with another matrix and places the results into the result matrix.
|
|
DoTransposeThisAndMultiply ( Vector |
Multiplies the transpose of this matrix with a vector and places the results into the result vector.
|
public static Create ( int rows, int columns, Func |
||
rows | int | |
columns | int | |
init | Func |
|
return |
public static Create ( int rows, int columns, float value ) : |
||
rows | int | |
columns | int | |
value | float | |
return |
public static CreateDiagonal ( int rows, int columns, float>.Func |
||
rows | int | |
columns | int | |
init | float>.Func | |
return |
public static CreateDiagonal ( int rows, int columns, float value ) : |
||
rows | int | |
columns | int | |
value | float | |
return |
public static CreateIdentity ( int order ) : |
||
order | int | |
return |
public static CreateRandom ( int rows, int columns, IContinuousDistribution distribution ) : |
||
rows | int | |
columns | int | |
distribution | IContinuousDistribution | |
return |
public DenseMatrix ( DenseColumnMajorMatrixStorage |
||
storage | DenseColumnMajorMatrixStorage |
|
return | System |
public DenseMatrix ( int rows, int columns ) : System | ||
rows | int | |
columns | int | |
return | System |
public DenseMatrix ( int rows, int columns, float storage ) : System | ||
rows | int | |
columns | int | |
storage | float | |
return | System |
protected DoAdd ( Matrix |
||
other | Matrix |
The matrix to add to this matrix. |
result | Matrix |
The matrix to store the result of add |
return | void |
protected DoAdd ( float scalar, Matrix |
||
scalar | float | The scalar to add. |
result | Matrix |
The matrix to store the result of the addition. |
return | void |
protected DoDivide ( float divisor, Matrix |
||
divisor | float | The scalar to divide the matrix with. |
result | Matrix |
The matrix to store the result of the division. |
return | void |
protected DoModulus ( float divisor, Matrix |
||
divisor | float | The scalar denominator to use. |
result | Matrix |
Matrix to store the results in. |
return | void |
protected DoModulusByThis ( float dividend, Matrix |
||
dividend | float | The scalar numerator to use. |
result | Matrix |
A vector to store the results in. |
return | void |
protected DoMultiply ( Matrix |
||
other | Matrix |
The matrix to multiply with. |
result | Matrix |
The result of the multiplication. |
return | void |
protected DoMultiply ( Vector |
||
rightSide | Vector |
The vector to multiply with. |
result | Vector |
The result of the multiplication. |
return | void |
protected DoMultiply ( float scalar, Matrix |
||
scalar | float | The scalar to multiply the matrix with. |
result | Matrix |
The matrix to store the result of the multiplication. |
return | void |
protected DoNegate ( Matrix |
||
result | Matrix |
The result of the negation. |
return | void |
protected DoPointwiseDivide ( Matrix |
||
divisor | Matrix |
The matrix to pointwise divide this one by. |
result | Matrix |
The matrix to store the result of the pointwise division. |
return | void |
protected DoPointwiseMultiply ( Matrix |
||
other | Matrix |
The matrix to pointwise multiply with this one. |
result | Matrix |
The matrix to store the result of the pointwise multiplication. |
return | void |
protected DoRemainder ( float divisor, Matrix |
||
divisor | float | The scalar denominator to use. |
result | Matrix |
Matrix to store the results in. |
return | void |
protected DoRemainderByThis ( float dividend, Matrix |
||
dividend | float | The scalar numerator to use. |
result | Matrix |
A vector to store the results in. |
return | void |
protected DoSubtract ( Matrix |
||
other | Matrix |
The matrix to subtract. |
result | Matrix |
The matrix to store the result of the subtraction. |
return | void |
protected DoSubtract ( float scalar, Matrix |
||
scalar | float | The scalar to subtract. |
result | Matrix |
The matrix to store the result of the subtraction. |
return | void |
protected DoTransposeAndMultiply ( Matrix |
||
other | Matrix |
The matrix to multiply with. |
result | Matrix |
The result of the multiplication. |
return | void |
protected DoTransposeThisAndMultiply ( Matrix |
||
other | Matrix |
The matrix to multiply with. |
result | Matrix |
The result of the multiplication. |
return | void |
protected DoTransposeThisAndMultiply ( Vector |
||
rightSide | Vector |
The vector to multiply with. |
result | Vector |
The result of the multiplication. |
return | void |
public Evd ( Symmetricity symmetricity = Symmetricity.Unknown ) : Evd |
||
symmetricity | Symmetricity | |
return | Evd |
public static OfArray ( float array ) : |
||
array | float | |
return |
public static OfColumnArrays ( ) : |
||
return |
public static OfColumnArrays ( IEnumerable |
||
columns | IEnumerable |
|
return |
public static OfColumnMajor ( int rows, int columns, IEnumerable |
||
rows | int | |
columns | int | |
columnMajor | IEnumerable |
|
return |
public static OfColumnVectors ( ) : |
||
return |
public static OfColumnVectors ( IEnumerable |
||
columns | IEnumerable |
|
return |
public static OfColumns ( IEnumerable |
||
data | IEnumerable |
|
return |
public static OfColumns ( int rows, int columns, IEnumerable |
||
rows | int | |
columns | int | |
data | IEnumerable |
|
return |
public static OfDiagonalArray ( float diagonal ) : |
||
diagonal | float | |
return |
public static OfDiagonalArray ( int rows, int columns, float diagonal ) : |
||
rows | int | |
columns | int | |
diagonal | float | |
return |
public static OfDiagonalVector ( Vector |
||
diagonal | Vector |
|
return |
public static OfDiagonalVector ( int rows, int columns, Vector |
||
rows | int | |
columns | int | |
diagonal | Vector |
|
return |
public static OfIndexed ( int rows, int columns, IEnumerable |
||
rows | int | |
columns | int | |
enumerable | IEnumerable |
|
return |
public static OfMatrix ( Matrix |
||
matrix | Matrix |
|
return |
public static OfRowArrays ( IEnumerable |
||
rows | IEnumerable |
|
return |
public static OfRowVectors ( IEnumerable |
||
rows | IEnumerable |
|
return |
public static OfRows ( IEnumerable |
||
data | IEnumerable |
|
return |
public static OfRows ( int rows, int columns, IEnumerable |
||
rows | int | |
columns | int | |
data | IEnumerable |
|
return |
public static operator ( ) : MathNet.Numerics.LinearAlgebra.Single.DenseVector | ||
return | MathNet.Numerics.LinearAlgebra.Single.DenseVector |