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