Méthode | 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.
|
Méthode | 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 |
|
Résultat |
public static Create ( int rows, int columns, float value ) : |
||
rows | int | |
columns | int | |
value | float | |
Résultat |
public static CreateDiagonal ( int rows, int columns, float>.Func |
||
rows | int | |
columns | int | |
init | float>.Func | |
Résultat |
public static CreateDiagonal ( int rows, int columns, float value ) : |
||
rows | int | |
columns | int | |
value | float | |
Résultat |
public static CreateIdentity ( int order ) : |
||
order | int | |
Résultat |
public static CreateRandom ( int rows, int columns, IContinuousDistribution distribution ) : |
||
rows | int | |
columns | int | |
distribution | IContinuousDistribution | |
Résultat |
public DenseMatrix ( DenseColumnMajorMatrixStorage |
||
storage | DenseColumnMajorMatrixStorage |
|
Résultat | System |
public DenseMatrix ( int rows, int columns ) : System | ||
rows | int | |
columns | int | |
Résultat | System |
public DenseMatrix ( int rows, int columns, float storage ) : System | ||
rows | int | |
columns | int | |
storage | float | |
Résultat | System |
protected DoAdd ( Matrix |
||
other | Matrix |
The matrix to add to this matrix. |
result | Matrix |
The matrix to store the result of add |
Résultat | void |
protected DoAdd ( float scalar, Matrix |
||
scalar | float | The scalar to add. |
result | Matrix |
The matrix to store the result of the addition. |
Résultat | 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. |
Résultat | void |
protected DoModulus ( float divisor, Matrix |
||
divisor | float | The scalar denominator to use. |
result | Matrix |
Matrix to store the results in. |
Résultat | void |
protected DoModulusByThis ( float dividend, Matrix |
||
dividend | float | The scalar numerator to use. |
result | Matrix |
A vector to store the results in. |
Résultat | void |
protected DoMultiply ( Matrix |
||
other | Matrix |
The matrix to multiply with. |
result | Matrix |
The result of the multiplication. |
Résultat | void |
protected DoMultiply ( Vector |
||
rightSide | Vector |
The vector to multiply with. |
result | Vector |
The result of the multiplication. |
Résultat | 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. |
Résultat | void |
protected DoNegate ( Matrix |
||
result | Matrix |
The result of the negation. |
Résultat | 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. |
Résultat | 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. |
Résultat | void |
protected DoRemainder ( float divisor, Matrix |
||
divisor | float | The scalar denominator to use. |
result | Matrix |
Matrix to store the results in. |
Résultat | void |
protected DoRemainderByThis ( float dividend, Matrix |
||
dividend | float | The scalar numerator to use. |
result | Matrix |
A vector to store the results in. |
Résultat | void |
protected DoSubtract ( Matrix |
||
other | Matrix |
The matrix to subtract. |
result | Matrix |
The matrix to store the result of the subtraction. |
Résultat | void |
protected DoSubtract ( float scalar, Matrix |
||
scalar | float | The scalar to subtract. |
result | Matrix |
The matrix to store the result of the subtraction. |
Résultat | void |
protected DoTransposeAndMultiply ( Matrix |
||
other | Matrix |
The matrix to multiply with. |
result | Matrix |
The result of the multiplication. |
Résultat | void |
protected DoTransposeThisAndMultiply ( Matrix |
||
other | Matrix |
The matrix to multiply with. |
result | Matrix |
The result of the multiplication. |
Résultat | void |
protected DoTransposeThisAndMultiply ( Vector |
||
rightSide | Vector |
The vector to multiply with. |
result | Vector |
The result of the multiplication. |
Résultat | void |
public Evd ( Symmetricity symmetricity = Symmetricity.Unknown ) : Evd |
||
symmetricity | Symmetricity | |
Résultat | Evd |
public static OfArray ( float array ) : |
||
array | float | |
Résultat |
public static OfColumnArrays ( ) : |
||
Résultat |
public static OfColumnArrays ( IEnumerable |
||
columns | IEnumerable |
|
Résultat |
public static OfColumnMajor ( int rows, int columns, IEnumerable |
||
rows | int | |
columns | int | |
columnMajor | IEnumerable |
|
Résultat |
public static OfColumnVectors ( ) : |
||
Résultat |
public static OfColumnVectors ( IEnumerable |
||
columns | IEnumerable |
|
Résultat |
public static OfColumns ( IEnumerable |
||
data | IEnumerable |
|
Résultat |
public static OfColumns ( int rows, int columns, IEnumerable |
||
rows | int | |
columns | int | |
data | IEnumerable |
|
Résultat |
public static OfDiagonalArray ( float diagonal ) : |
||
diagonal | float | |
Résultat |
public static OfDiagonalArray ( int rows, int columns, float diagonal ) : |
||
rows | int | |
columns | int | |
diagonal | float | |
Résultat |
public static OfDiagonalVector ( Vector |
||
diagonal | Vector |
|
Résultat |
public static OfDiagonalVector ( int rows, int columns, Vector |
||
rows | int | |
columns | int | |
diagonal | Vector |
|
Résultat |
public static OfIndexed ( int rows, int columns, IEnumerable |
||
rows | int | |
columns | int | |
enumerable | IEnumerable |
|
Résultat |
public static OfMatrix ( Matrix |
||
matrix | Matrix |
|
Résultat |
public static OfRowArrays ( ) : |
||
Résultat |
public static OfRowArrays ( IEnumerable |
||
rows | IEnumerable |
|
Résultat |
public static OfRowVectors ( ) : |
||
Résultat |
public static OfRowVectors ( IEnumerable |
||
rows | IEnumerable |
|
Résultat |
public static OfRows ( IEnumerable |
||
data | IEnumerable |
|
Résultat |
public static OfRows ( int rows, int columns, IEnumerable |
||
rows | int | |
columns | int | |
data | IEnumerable |
|
Résultat |
public Svd ( bool computeVectors = true ) : Svd |
||
computeVectors | bool | |
Résultat | Svd |
public static operator ( ) : MathNet.Numerics.LinearAlgebra.Single.DenseVector | ||
Résultat | MathNet.Numerics.LinearAlgebra.Single.DenseVector |