Sparse |
[SerializableAttribute] public class SparseMatrix : Matrix
The SparseMatrix type exposes the following members.
Name | Description | |
---|---|---|
SparseMatrix(Int32) | Create a new square sparse matrix with the given number of rows and columns. All cells of the matrix will be initialized to zero. | |
SparseMatrix(SparseCompressedRowMatrixStorageSingle) | Create a new sparse 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. | |
SparseMatrix(Int32, Int32) | Create a new sparse matrix with the given number of rows and columns. All cells of the matrix will be initialized to zero. |
Name | Description | |
---|---|---|
ColumnCount |
Gets the number of columns.
(Inherited from MatrixT) | |
Item |
Gets or sets the value at the given row and column, with range checking.
(Inherited from MatrixT) | |
NonZerosCount | Gets the number of non zero elements in the matrix. | |
RowCount |
Gets the number of rows.
(Inherited from MatrixT) | |
Storage |
Gets the raw matrix data storage.
(Inherited from MatrixT) |
Name | Description | |
---|---|---|
Add(T) |
Adds a scalar to each element of the matrix.
(Inherited from MatrixT) | |
Add(MatrixT) |
Adds another matrix to this matrix.
(Inherited from MatrixT) | |
Add(T, MatrixT) |
Adds a scalar to each element of the matrix and stores the result in the result matrix.
(Inherited from MatrixT) | |
Add(MatrixT, MatrixT) |
Adds another matrix to this matrix.
(Inherited from MatrixT) | |
Append(MatrixT) |
Concatenates this matrix with the given matrix.
(Inherited from MatrixT) | |
Append(MatrixT, MatrixT) |
Concatenates this matrix with the given matrix and places the result into the result matrix.
(Inherited from MatrixT) | |
AsArray |
Returns the internal multidimensional array of this matrix if, and only if, this matrix is stored by such an array internally.
Otherwise returns null. Changes to the returned array and the matrix will affect each other.
Use ToArray instead if you always need an independent array.
(Inherited from MatrixT) | |
AsColumnArrays |
Returns the internal column arrays of this matrix if, and only if, this matrix is stored by such arrays internally.
Otherwise returns null. Changes to the returned arrays and the matrix will affect each other.
Use ToColumnArrays instead if you always need an independent array.
(Inherited from MatrixT) | |
AsColumnMajorArray |
Returns the internal column by column (column major) array of this matrix if, and only if, this matrix is stored by such arrays internally.
Otherwise returns null. Changes to the returned arrays and the matrix will affect each other.
Use ToColumnMajorArray instead if you always need an independent array.
(Inherited from MatrixT) | |
AsRowArrays |
Returns the internal row arrays of this matrix if, and only if, this matrix is stored by such arrays internally.
Otherwise returns null. Changes to the returned arrays and the matrix will affect each other.
Use ToRowArrays instead if you always need an independent array.
(Inherited from MatrixT) | |
AsRowMajorArray |
Returns the internal row by row (row major) array of this matrix if, and only if, this matrix is stored by such arrays internally.
Otherwise returns null. Changes to the returned arrays and the matrix will affect each other.
Use ToRowMajorArray instead if you always need an independent array.
(Inherited from MatrixT) | |
At(Int32, Int32) |
Retrieves the requested element without range checking.
(Inherited from MatrixT) | |
At(Int32, Int32, T) |
Sets the value of the given element without range checking.
(Inherited from MatrixT) | |
Cholesky | (Inherited from Matrix) | |
Clear |
Sets all values to zero.
(Inherited from MatrixT) | |
ClearColumn |
Sets all values of a column to zero.
(Inherited from MatrixT) | |
ClearColumns |
Sets all values for all of the chosen columns to zero.
(Inherited from MatrixT) | |
ClearRow |
Sets all values of a row to zero.
(Inherited from MatrixT) | |
ClearRows |
Sets all values for all of the chosen rows to zero.
(Inherited from MatrixT) | |
ClearSubMatrix |
Sets all values of a sub-matrix to zero.
(Inherited from MatrixT) | |
Clone |
Creates a clone of this instance.
(Inherited from MatrixT) | |
CoerceZero(Double) |
Set all values whose absolute value is smaller than the threshold to zero.
(Inherited from Matrix) | |
CoerceZero(FuncT, Boolean) |
Set all values that meet the predicate to zero, in-place.
(Inherited from MatrixT) | |
Column(Int32) |
Copies a column into a new Vector>.
(Inherited from MatrixT) | |
Column(Int32, VectorT) |
Copies a column into to the given Vector.
(Inherited from MatrixT) | |
Column(Int32, Int32, Int32) |
Copies the requested column elements into a new Vector.
(Inherited from MatrixT) | |
Column(Int32, Int32, Int32, VectorT) |
Copies the requested column elements into the given vector.
(Inherited from MatrixT) | |
ColumnAbsoluteSums |
Calculates the absolute value sum of each column vector.
(Inherited from Matrix) | |
ColumnNorms |
Calculates the p-norms of all column vectors.
Typical values for p are 1.0 (L1, Manhattan norm), 2.0 (L2, Euclidean norm) and positive infinity (infinity norm)
(Inherited from Matrix) | |
ColumnSums |
Calculates the value sum of each column vector.
(Inherited from Matrix) | |
ConditionNumber | Calculates the condition number of this matrix. (Inherited from MatrixT) | |
Conjugate |
Complex conjugate each element of this matrix.
(Inherited from MatrixT) | |
Conjugate(MatrixT) |
Complex conjugate each element of this matrix and place the results into the result matrix.
(Inherited from MatrixT) | |
ConjugateTranspose |
Returns the conjugate transpose of this matrix.
(Inherited from Matrix) | |
ConjugateTranspose(MatrixSingle) |
Puts the conjugate transpose of this matrix into the result matrix.
(Inherited from Matrix) | |
ConjugateTransposeAndMultiply(MatrixT) |
Multiplies this matrix with the conjugate transpose of another matrix and returns the result.
(Inherited from MatrixT) | |
ConjugateTransposeAndMultiply(MatrixT, MatrixT) |
Multiplies this matrix with the conjugate transpose of another matrix and places the results into the result matrix.
(Inherited from MatrixT) | |
ConjugateTransposeThisAndMultiply(MatrixT) |
Multiplies the conjugate transpose of this matrix with another matrix and returns the result.
(Inherited from MatrixT) | |
ConjugateTransposeThisAndMultiply(VectorT) |
Multiplies the conjugate transpose of this matrix by a vector and returns the result.
(Inherited from MatrixT) | |
ConjugateTransposeThisAndMultiply(MatrixT, MatrixT) |
Multiplies the conjugate transpose of this matrix with another matrix and places the results into the result matrix.
(Inherited from MatrixT) | |
ConjugateTransposeThisAndMultiply(VectorT, VectorT) |
Multiplies the conjugate transpose of this matrix with a vector and places the results into the result vector.
(Inherited from MatrixT) | |
CopyTo |
Copies the elements of this matrix to the given matrix.
(Inherited from MatrixT) | |
Create(Int32, Int32, FuncInt32, Int32, Single) | Create a new sparse matrix and initialize each value using the provided init function. | |
Create(Int32, Int32, Single) | Create a new sparse matrix and initialize each value to the same provided value. | |
CreateDiagonal(Int32, Int32, FuncInt32, Single) | Create a new diagonal sparse matrix and initialize each diagonal value using the provided init function. | |
CreateDiagonal(Int32, Int32, Single) | Create a new diagonal sparse matrix and initialize each diagonal value to the same provided value. | |
CreateIdentity | Create a new square sparse identity matrix where each diagonal value is set to One. | |
Determinant | Computes the determinant of this matrix. (Inherited from MatrixT) | |
Diagonal |
Returns the elements of the diagonal in a Vector.
(Inherited from MatrixT) | |
Diagonal(VectorT) |
Returns the elements of the diagonal in a Vector.
(Inherited from MatrixT) | |
DiagonalStack(MatrixT) |
Diagonally stacks his matrix on top of the given matrix. The new matrix is a M-by-N matrix,
where M = this.Rows + lower.Rows and N = this.Columns + lower.Columns.
The values of off the off diagonal matrices/blocks are set to zero.
(Inherited from MatrixT) | |
DiagonalStack(MatrixT, MatrixT) |
Diagonally stacks his matrix on top of the given matrix and places the combined matrix into the result matrix.
(Inherited from MatrixT) | |
Divide(T) |
Divides each element of this matrix with a scalar.
(Inherited from MatrixT) | |
Divide(T, MatrixT) |
Divides each element of the matrix by a scalar and places results into the result matrix.
(Inherited from MatrixT) | |
DivideByThis(T) |
Divides a scalar by each element of the matrix.
(Inherited from MatrixT) | |
DivideByThis(T, MatrixT) |
Divides a scalar by each element of the matrix and places results into the result matrix.
(Inherited from MatrixT) | |
DoAdd(MatrixSingle, MatrixSingle) |
Adds another matrix to this matrix.
(Overrides MatrixDoAdd(MatrixSingle, MatrixSingle)) | |
DoAdd(Single, MatrixSingle) |
Add a scalar to each element of the matrix and stores the result in the result vector.
(Inherited from Matrix) | |
DoConjugate |
Complex conjugates each element of this matrix and place the results into the result matrix.
(Inherited from Matrix) | |
DoConjugateTransposeAndMultiply |
Multiplies this matrix with the conjugate transpose of another matrix and places the results into the result matrix.
(Inherited from Matrix) | |
DoConjugateTransposeThisAndMultiply(MatrixSingle, MatrixSingle) |
Multiplies the transpose of this matrix with another matrix and places the results into the result matrix.
(Inherited from Matrix) | |
DoConjugateTransposeThisAndMultiply(VectorSingle, VectorSingle) |
Multiplies the conjugate transpose of this matrix with a vector and places the results into the result vector.
(Inherited from Matrix) | |
DoDivide |
Divides each element of the matrix by a scalar and places results into the result matrix.
(Inherited from Matrix) | |
DoDivideByThis |
Divides a scalar by each element of the matrix and stores the result in the result matrix.
(Inherited from Matrix) | |
DoLeftMultiply |
Left multiply a matrix with a vector ( = vector * matrix ) and place the result in the result vector.
(Inherited from MatrixT) | |
DoModulus |
Computes the canonical modulus, where the result has the sign of the divisor,
for the given divisor each element of the matrix.
(Overrides MatrixDoModulus(Single, MatrixSingle)) | |
DoModulusByThis |
Computes the canonical modulus, where the result has the sign of the divisor,
for the given dividend for each element of the matrix.
(Inherited from Matrix) | |
DoMultiply(MatrixSingle, MatrixSingle) |
Multiplies this matrix with another matrix and places the results into the result matrix.
(Overrides MatrixDoMultiply(MatrixSingle, MatrixSingle)) | |
DoMultiply(Single, MatrixSingle) |
Multiplies each element of the matrix by a scalar and places results into the result matrix.
(Overrides MatrixDoMultiply(Single, MatrixSingle)) | |
DoMultiply(VectorSingle, VectorSingle) |
Multiplies this matrix with a vector and places the results into the result vector.
(Overrides MatrixDoMultiply(VectorSingle, VectorSingle)) | |
DoNegate |
Negate each element of this matrix and place the results into the result matrix.
(Overrides MatrixDoNegate(MatrixSingle)) | |
DoPointwiseAbs | (Inherited from Matrix) | |
DoPointwiseAbsoluteMaximum(MatrixSingle, MatrixSingle) | (Inherited from Matrix) | |
DoPointwiseAbsoluteMaximum(Single, MatrixSingle) | (Inherited from Matrix) | |
DoPointwiseAbsoluteMinimum(MatrixSingle, MatrixSingle) | (Inherited from Matrix) | |
DoPointwiseAbsoluteMinimum(Single, MatrixSingle) | (Inherited from Matrix) | |
DoPointwiseAcos | (Inherited from Matrix) | |
DoPointwiseAsin | (Inherited from Matrix) | |
DoPointwiseAtan | (Inherited from Matrix) | |
DoPointwiseAtan2 | (Inherited from Matrix) | |
DoPointwiseCeiling | (Inherited from Matrix) | |
DoPointwiseCos | (Inherited from Matrix) | |
DoPointwiseCosh | (Inherited from Matrix) | |
DoPointwiseDivide |
Pointwise divide this matrix by another matrix and stores the result into the result matrix.
(Overrides MatrixDoPointwiseDivide(MatrixSingle, MatrixSingle)) | |
DoPointwiseExp |
Pointwise applies the exponential function to each value and stores the result into the result matrix.
(Inherited from Matrix) | |
DoPointwiseFloor | (Inherited from Matrix) | |
DoPointwiseLog |
Pointwise applies the natural logarithm function to each value and stores the result into the result matrix.
(Inherited from Matrix) | |
DoPointwiseLog10 | (Inherited from Matrix) | |
DoPointwiseMaximum(MatrixSingle, MatrixSingle) | (Inherited from Matrix) | |
DoPointwiseMaximum(Single, MatrixSingle) | (Inherited from Matrix) | |
DoPointwiseMinimum(MatrixSingle, MatrixSingle) | (Inherited from Matrix) | |
DoPointwiseMinimum(Single, MatrixSingle) | (Inherited from Matrix) | |
DoPointwiseModulus |
Pointwise canonical modulus, where the result has the sign of the divisor,
of this matrix with another matrix and stores the result into the result matrix.
(Inherited from Matrix) | |
DoPointwiseMultiply |
Pointwise multiplies this matrix with another matrix and stores the result into the result matrix.
(Overrides MatrixDoPointwiseMultiply(MatrixSingle, MatrixSingle)) | |
DoPointwisePower(MatrixSingle, MatrixSingle) |
Pointwise raise this matrix to an exponent and store the result into the result matrix.
(Inherited from Matrix) | |
DoPointwisePower(Single, MatrixSingle) |
Pointwise raise this matrix to an exponent and store the result into the result matrix.
(Inherited from Matrix) | |
DoPointwiseRemainder |
Pointwise remainder (% operator), where the result has the sign of the dividend,
of this matrix with another matrix and stores the result into the result matrix.
(Inherited from Matrix) | |
DoPointwiseRound | (Inherited from Matrix) | |
DoPointwiseSign | (Inherited from Matrix) | |
DoPointwiseSin | (Inherited from Matrix) | |
DoPointwiseSinh | (Inherited from Matrix) | |
DoPointwiseSqrt | (Inherited from Matrix) | |
DoPointwiseTan | (Inherited from Matrix) | |
DoPointwiseTanh | (Inherited from Matrix) | |
DoRemainder |
Computes the remainder (% operator), where the result has the sign of the dividend,
for the given divisor each element of the matrix.
(Overrides MatrixDoRemainder(Single, MatrixSingle)) | |
DoRemainderByThis |
Computes the remainder (% operator), where the result has the sign of the dividend,
for the given dividend for each element of the matrix.
(Inherited from Matrix) | |
DoSubtract(MatrixSingle, MatrixSingle) |
Subtracts another matrix from this matrix.
(Overrides MatrixDoSubtract(MatrixSingle, MatrixSingle)) | |
DoSubtract(Single, MatrixSingle) |
Subtracts a scalar from each element of the vector and stores the result in the result vector.
(Inherited from Matrix) | |
DoSubtractFrom |
Subtracts each element of the matrix from a scalar and stores the result in the result matrix.
(Inherited from MatrixT) | |
DoTransposeAndMultiply |
Multiplies this matrix with transpose of another matrix and places the results into the result matrix.
(Overrides MatrixDoTransposeAndMultiply(MatrixSingle, MatrixSingle)) | |
DoTransposeThisAndMultiply(MatrixSingle, MatrixSingle) |
Multiplies the transpose of this matrix with another matrix and places the results into the result matrix.
(Inherited from Matrix) | |
DoTransposeThisAndMultiply(VectorSingle, VectorSingle) |
Multiplies the transpose of this matrix with a vector and places the results into the result vector.
(Overrides MatrixDoTransposeThisAndMultiply(VectorSingle, VectorSingle)) | |
Enumerate |
Returns an IEnumerable that can be used to iterate through all values of the matrix.
(Inherited from MatrixT) | |
Enumerate(Zeros) |
Returns an IEnumerable that can be used to iterate through all values of the matrix.
(Inherited from MatrixT) | |
EnumerateColumns |
Returns an IEnumerable that can be used to iterate through all columns of the matrix.
(Inherited from MatrixT) | |
EnumerateColumns(Int32, Int32) |
Returns an IEnumerable that can be used to iterate through a subset of all columns of the matrix.
(Inherited from MatrixT) | |
EnumerateColumnsIndexed |
Returns an IEnumerable that can be used to iterate through all columns of the matrix and their index.
(Inherited from MatrixT) | |
EnumerateColumnsIndexed(Int32, Int32) |
Returns an IEnumerable that can be used to iterate through a subset of all columns of the matrix and their index.
(Inherited from MatrixT) | |
EnumerateIndexed |
Returns an IEnumerable that can be used to iterate through all values of the matrix and their index.
(Inherited from MatrixT) | |
EnumerateIndexed(Zeros) |
Returns an IEnumerable that can be used to iterate through all values of the matrix and their index.
(Inherited from MatrixT) | |
EnumerateRows |
Returns an IEnumerable that can be used to iterate through all rows of the matrix.
(Inherited from MatrixT) | |
EnumerateRows(Int32, Int32) |
Returns an IEnumerable that can be used to iterate through a subset of all rows of the matrix.
(Inherited from MatrixT) | |
EnumerateRowsIndexed |
Returns an IEnumerable that can be used to iterate through all rows of the matrix and their index.
(Inherited from MatrixT) | |
EnumerateRowsIndexed(Int32, Int32) |
Returns an IEnumerable that can be used to iterate through a subset of all rows of the matrix and their index.
(Inherited from MatrixT) | |
Equals(MatrixT) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from MatrixT) | |
Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Inherited from MatrixT) | |
Evd | (Inherited from Matrix) | |
Exists |
Returns true if at least one element satisfies a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from MatrixT) | |
Exists2TOther |
Returns true if at least one element pairs of two matrices of the same size satisfies a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from MatrixT) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
Find |
Returns a tuple with the index and value of the first element satisfying a predicate, or null if none is found.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from MatrixT) | |
Find2TOther |
Returns a tuple with the index and values of the first element pair of two matrices of the same size satisfying a predicate, or null if none is found.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from MatrixT) | |
Fold2TOther, TState |
Applies a function to update the status with each value pair of two matrices and returns the resulting status.
(Inherited from MatrixT) | |
FoldByColumnTU |
For each column, applies a function f to each element of the column, threading an accumulator argument through the computation.
Returns an array with the resulting accumulator states for each column.
(Inherited from MatrixT) | |
FoldByRowTU |
For each row, applies a function f to each element of the row, threading an accumulator argument through the computation.
Returns an array with the resulting accumulator states for each row.
(Inherited from MatrixT) | |
FoldColumnsTU |
Applies a function f to each column vector, threading an accumulator vector argument through the computation.
Returns the resulting accumulator vector.
(Inherited from MatrixT) | |
FoldRowsTU |
Applies a function f to each row vector, threading an accumulator vector argument through the computation.
Returns the resulting accumulator vector.
(Inherited from MatrixT) | |
ForAll |
Returns true if all elements satisfy a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from MatrixT) | |
ForAll2TOther |
Returns true if all element pairs of two matrices of the same size satisfy a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from MatrixT) | |
FrobeniusNorm | Calculates the entry-wise Frobenius norm of this matrix. (Overrides MatrixFrobeniusNorm) | |
GetHashCode |
Returns a hash code for this instance.
(Inherited from MatrixT) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
GramSchmidt | (Inherited from Matrix) | |
InfinityNorm | Calculates the induced infinity norm of this matrix. (Overrides MatrixInfinityNorm) | |
InsertColumn |
Creates a new matrix and inserts the given column at the given index.
(Inherited from MatrixT) | |
InsertRow |
Creates a new matrix and inserts the given row at the given index.
(Inherited from MatrixT) | |
Inverse | Computes the inverse of this matrix. (Inherited from MatrixT) | |
IsHermitian |
Evaluates whether this matrix is Hermitian (conjugate symmetric).
(Inherited from Matrix) | |
IsSymmetric |
Evaluates whether this matrix is symmetric.
(Overrides MatrixTIsSymmetric) | |
Kernel |
Computes an orthonormal basis for the null space of this matrix,
also known as the kernel of the corresponding matrix transformation.
(Inherited from MatrixT) | |
KroneckerProduct(MatrixT) |
Computes the Kronecker product of this matrix with the given matrix. The new matrix is M-by-N
with M = this.Rows * lower.Rows and N = this.Columns * lower.Columns.
(Inherited from MatrixT) | |
KroneckerProduct(MatrixSingle, MatrixSingle) | (Overrides MatrixTKroneckerProduct(MatrixT, MatrixT)) | |
L1Norm | Calculates the induced L1 norm of this matrix. (Inherited from Matrix) | |
L2Norm | Calculates the induced L2 norm of the matrix. (Inherited from MatrixT) | |
LeftMultiply(VectorT) |
Left multiply a matrix with a vector ( = vector * matrix ).
(Inherited from MatrixT) | |
LeftMultiply(VectorT, VectorT) |
Left multiply a matrix with a vector ( = vector * matrix ) and place the result in the result vector.
(Inherited from MatrixT) | |
LowerTriangle |
Returns a new matrix containing the lower triangle of this matrix.
(Overrides MatrixTLowerTriangle) | |
LowerTriangle(MatrixSingle) |
Puts the lower triangle of this matrix into the result matrix.
(Overrides MatrixTLowerTriangle(MatrixT)) | |
LU | (Inherited from Matrix) | |
Map(FuncT, T, MatrixT, Zeros) |
Applies a function to each value of this matrix and replaces the value in the result matrix.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse matrices).
(Inherited from MatrixT) | |
MapTU(FuncT, TU, Zeros) |
Applies a function to each value of this matrix and returns the results as a new matrix.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse matrices).
(Inherited from MatrixT) | |
Map2(FuncT, T, T, MatrixT, Zeros) |
Applies a function to each value pair of two matrices and returns the results as a new vector.
(Inherited from MatrixT) | |
Map2(FuncT, T, T, MatrixT, MatrixT, Zeros) |
Applies a function to each value pair of two matrices and replaces the value in the result vector.
(Inherited from MatrixT) | |
MapConvertTU |
Applies a function to each value of this matrix and replaces the value in the result matrix.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse matrices).
(Inherited from MatrixT) | |
MapIndexed(FuncInt32, Int32, T, T, MatrixT, Zeros) |
Applies a function to each value of this matrix and replaces the value in the result matrix.
The index of each value (zero-based) is passed as first argument to the function.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse matrices).
(Inherited from MatrixT) | |
MapIndexedTU(FuncInt32, Int32, T, TU, Zeros) |
Applies a function to each value of this matrix and returns the results as a new matrix.
The index of each value (zero-based) is passed as first argument to the function.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse matrices).
(Inherited from MatrixT) | |
MapIndexedConvertTU |
Applies a function to each value of this matrix and replaces the value in the result matrix.
The index of each value (zero-based) is passed as first argument to the function.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse matrices).
(Inherited from MatrixT) | |
MapIndexedInplace |
Applies a function to each value of this matrix and replaces the value with its result.
The row and column indices of each value (zero-based) are passed as first arguments to the function.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse matrices).
(Inherited from MatrixT) | |
MapInplace |
Applies a function to each value of this matrix and replaces the value with its result.
If forceMapZero is not set to true, zero values may or may not be skipped depending
on the actual data storage implementation (relevant mostly for sparse matrices).
(Inherited from MatrixT) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Modulus(T) |
Computes the canonical modulus, where the result has the sign of the divisor,
for each element of the matrix.
(Inherited from MatrixT) | |
Modulus(T, MatrixT) |
Computes the canonical modulus, where the result has the sign of the divisor,
for each element of the matrix.
(Inherited from MatrixT) | |
ModulusByThis(T) |
Computes the canonical modulus, where the result has the sign of the divisor,
for each element of the matrix.
(Inherited from MatrixT) | |
ModulusByThis(T, MatrixT) |
Computes the canonical modulus, where the result has the sign of the divisor,
for each element of the matrix.
(Inherited from MatrixT) | |
Multiply(T) |
Multiplies each element of this matrix with a scalar.
(Inherited from MatrixT) | |
Multiply(MatrixT) |
Multiplies this matrix with another matrix and returns the result.
(Inherited from MatrixT) | |
Multiply(VectorT) |
Multiplies this matrix by a vector and returns the result.
(Inherited from MatrixT) | |
Multiply(T, MatrixT) |
Multiplies each element of the matrix by a scalar and places results into the result matrix.
(Inherited from MatrixT) | |
Multiply(MatrixT, MatrixT) |
Multiplies this matrix with another matrix and places the results into the result matrix.
(Inherited from MatrixT) | |
Multiply(VectorT, VectorT) |
Multiplies this matrix with a vector and places the results into the result vector.
(Inherited from MatrixT) | |
Negate |
Negate each element of this matrix.
(Inherited from MatrixT) | |
Negate(MatrixT) |
Negate each element of this matrix and place the results into the result matrix.
(Inherited from MatrixT) | |
NormalizeColumns |
Normalizes all column vectors to a unit p-norm.
Typical values for p are 1.0 (L1, Manhattan norm), 2.0 (L2, Euclidean norm) and positive infinity (infinity norm)
(Inherited from Matrix) | |
NormalizeRows |
Normalizes all row vectors to a unit p-norm.
Typical values for p are 1.0 (L1, Manhattan norm), 2.0 (L2, Euclidean norm) and positive infinity (infinity norm)
(Inherited from Matrix) | |
Nullity |
Calculates the nullity of the matrix.
(Inherited from MatrixT) | |
OfArray | Create a new sparse 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(IEnumerableSingle) | Create a new sparse 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(Single) | Create a new sparse 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 | Create a new sparse matrix with the given number of rows and columns as a copy of the given array. The array is assumed to be in column-major order (column by column). This new matrix will be independent from the provided array. A new memory block will be allocated for storing the matrix. | |
OfColumns(IEnumerableIEnumerableSingle) | Create a new sparse 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(Int32, Int32, IEnumerableIEnumerableSingle) | Create a new sparse 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. | |
OfColumnVectors(IEnumerableVectorSingle) | Create a new sparse 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(VectorSingle) | Create a new sparse 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. | |
OfDiagonalArray(Single) | Create a new sparse 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(Int32, Int32, Single) | Create a new sparse 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(VectorSingle) | Create a new sparse 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(Int32, Int32, VectorSingle) | Create a new sparse 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(Int32, Int32, IEnumerableTupleInt32, Int32, Single) | Create a new sparse 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. | |
OfIndexed(Int32, Int32, IEnumerableValueTupleInt32, Int32, Single) | Create a new sparse 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 | Create a new sparse 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(IEnumerableSingle) | Create a new sparse 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(Single) | Create a new sparse 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. | |
OfRowMajor | Create a new sparse matrix as a copy of the given enumerable. The enumerable is assumed to be in row-major order (row by row). This new matrix will be independent from the enumerable. A new memory block will be allocated for storing the vector. | |
OfRows(IEnumerableIEnumerableSingle) | Create a new sparse 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(Int32, Int32, IEnumerableIEnumerableSingle) | Create a new sparse 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. | |
OfRowVectors(IEnumerableVectorSingle) | Create a new sparse 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(VectorSingle) | Create a new sparse 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. | |
PermuteColumns |
Permute the columns of a matrix according to a permutation.
(Inherited from MatrixT) | |
PermuteRows |
Permute the rows of a matrix according to a permutation.
(Inherited from MatrixT) | |
PointwiseAbs |
Pointwise applies the abs function to each value
(Inherited from MatrixT) | |
PointwiseAbs(MatrixT) |
Pointwise applies the abs function to each value
(Inherited from MatrixT) | |
PointwiseAbsoluteMaximum(T) |
Pointwise applies the absolute maximum with a scalar to each value.
(Inherited from MatrixT) | |
PointwiseAbsoluteMaximum(MatrixT) |
Pointwise applies the absolute maximum with the values of another matrix to each value.
(Inherited from MatrixT) | |
PointwiseAbsoluteMaximum(T, MatrixT) |
Pointwise applies the absolute maximum with a scalar to each value.
(Inherited from MatrixT) | |
PointwiseAbsoluteMaximum(MatrixT, MatrixT) |
Pointwise applies the absolute maximum with the values of another matrix to each value.
(Inherited from MatrixT) | |
PointwiseAbsoluteMinimum(T) |
Pointwise applies the absolute minimum with a scalar to each value.
(Inherited from MatrixT) | |
PointwiseAbsoluteMinimum(MatrixT) |
Pointwise applies the absolute minimum with the values of another matrix to each value.
(Inherited from MatrixT) | |
PointwiseAbsoluteMinimum(T, MatrixT) |
Pointwise applies the absolute minimum with a scalar to each value.
(Inherited from MatrixT) | |
PointwiseAbsoluteMinimum(MatrixT, MatrixT) |
Pointwise applies the absolute minimum with the values of another matrix to each value.
(Inherited from MatrixT) | |
PointwiseAcos |
Pointwise applies the acos function to each value
(Inherited from MatrixT) | |
PointwiseAcos(MatrixT) |
Pointwise applies the acos function to each value
(Inherited from MatrixT) | |
PointwiseAsin |
Pointwise applies the asin function to each value
(Inherited from MatrixT) | |
PointwiseAsin(MatrixT) |
Pointwise applies the asin function to each value
(Inherited from MatrixT) | |
PointwiseAtan |
Pointwise applies the atan function to each value
(Inherited from MatrixT) | |
PointwiseAtan(MatrixT) |
Pointwise applies the atan function to each value
(Inherited from MatrixT) | |
PointwiseAtan2(MatrixT) |
Pointwise applies the atan2 function to each value of the current
matrix and a given other matrix being the 'x' of atan2 and the
'this' matrix being the 'y'
(Inherited from MatrixT) | |
PointwiseAtan2(MatrixT, MatrixT) |
Pointwise applies the atan2 function to each value of the current
matrix and a given other matrix being the 'x' of atan2 and the
'this' matrix being the 'y'
(Inherited from MatrixT) | |
PointwiseBinary(ActionMatrixT, MatrixT, MatrixT) |
Helper function to apply a binary function which takes two matrices
and modifies the latter in place. A copy of the "this" matrix is
first made and then passed to f together with the other matrix. The
copy is then returned as the result
(Inherited from MatrixT) | |
PointwiseBinary(ActionMatrixT, MatrixT, MatrixT, MatrixT) |
Helper function to apply a binary function which takes two matrices
and modifies the second one in place
(Inherited from MatrixT) | |
PointwiseCeiling |
Pointwise applies the ceiling function to each value
(Inherited from MatrixT) | |
PointwiseCeiling(MatrixT) |
Pointwise applies the ceiling function to each value
(Inherited from MatrixT) | |
PointwiseCos |
Pointwise applies the cos function to each value
(Inherited from MatrixT) | |
PointwiseCos(MatrixT) |
Pointwise applies the cos function to each value
(Inherited from MatrixT) | |
PointwiseCosh |
Pointwise applies the cosh function to each value
(Inherited from MatrixT) | |
PointwiseCosh(MatrixT) |
Pointwise applies the cosh function to each value
(Inherited from MatrixT) | |
PointwiseDivide(MatrixT) |
Pointwise divide this matrix by another matrix.
(Inherited from MatrixT) | |
PointwiseDivide(MatrixT, MatrixT) |
Pointwise divide this matrix by another matrix and stores the result into the result matrix.
(Inherited from MatrixT) | |
PointwiseExp |
Pointwise applies the exponent function to each value.
(Inherited from MatrixT) | |
PointwiseExp(MatrixT) |
Pointwise applies the exponent function to each value.
(Inherited from MatrixT) | |
PointwiseFloor |
Pointwise applies the floor function to each value
(Inherited from MatrixT) | |
PointwiseFloor(MatrixT) |
Pointwise applies the floor function to each value
(Inherited from MatrixT) | |
PointwiseLog |
Pointwise applies the natural logarithm function to each value.
(Inherited from MatrixT) | |
PointwiseLog(MatrixT) |
Pointwise applies the natural logarithm function to each value.
(Inherited from MatrixT) | |
PointwiseLog10 |
Pointwise applies the log10 function to each value
(Inherited from MatrixT) | |
PointwiseLog10(MatrixT) |
Pointwise applies the log10 function to each value
(Inherited from MatrixT) | |
PointwiseMaximum(T) |
Pointwise applies the maximum with a scalar to each value.
(Inherited from MatrixT) | |
PointwiseMaximum(MatrixT) |
Pointwise applies the maximum with the values of another matrix to each value.
(Inherited from MatrixT) | |
PointwiseMaximum(T, MatrixT) |
Pointwise applies the maximum with a scalar to each value.
(Inherited from MatrixT) | |
PointwiseMaximum(MatrixT, MatrixT) |
Pointwise applies the maximum with the values of another matrix to each value.
(Inherited from MatrixT) | |
PointwiseMinimum(T) |
Pointwise applies the minimum with a scalar to each value.
(Inherited from MatrixT) | |
PointwiseMinimum(MatrixT) |
Pointwise applies the minimum with the values of another matrix to each value.
(Inherited from MatrixT) | |
PointwiseMinimum(T, MatrixT) |
Pointwise applies the minimum with a scalar to each value.
(Inherited from MatrixT) | |
PointwiseMinimum(MatrixT, MatrixT) |
Pointwise applies the minimum with the values of another matrix to each value.
(Inherited from MatrixT) | |
PointwiseModulus(MatrixT) |
Pointwise canonical modulus, where the result has the sign of the divisor,
of this matrix by another matrix.
(Inherited from MatrixT) | |
PointwiseModulus(MatrixT, MatrixT) |
Pointwise canonical modulus, where the result has the sign of the divisor,
of this matrix by another matrix and stores the result into the result matrix.
(Inherited from MatrixT) | |
PointwiseMultiply(MatrixT) |
Pointwise multiplies this matrix with another matrix.
(Inherited from MatrixT) | |
PointwiseMultiply(MatrixT, MatrixT) |
Pointwise multiplies this matrix with another matrix and stores the result into the result matrix.
(Inherited from MatrixT) | |
PointwisePower(T) |
Pointwise raise this matrix to an exponent and store the result into the result matrix.
(Inherited from MatrixT) | |
PointwisePower(MatrixT) |
Pointwise raise this matrix to an exponent and store the result into the result matrix.
(Inherited from MatrixT) | |
PointwisePower(T, MatrixT) |
Pointwise raise this matrix to an exponent.
(Inherited from MatrixT) | |
PointwisePower(MatrixT, MatrixT) |
Pointwise raise this matrix to an exponent.
(Inherited from MatrixT) | |
PointwiseRemainder(MatrixT) |
Pointwise remainder (% operator), where the result has the sign of the dividend,
of this matrix by another matrix.
(Inherited from MatrixT) | |
PointwiseRemainder(MatrixT, MatrixT) |
Pointwise remainder (% operator), where the result has the sign of the dividend,
of this matrix by another matrix and stores the result into the result matrix.
(Inherited from MatrixT) | |
PointwiseRound |
Pointwise applies the round function to each value
(Inherited from MatrixT) | |
PointwiseRound(MatrixT) |
Pointwise applies the round function to each value
(Inherited from MatrixT) | |
PointwiseSign |
Pointwise applies the sign function to each value
(Inherited from MatrixT) | |
PointwiseSign(MatrixT) |
Pointwise applies the sign function to each value
(Inherited from MatrixT) | |
PointwiseSin |
Pointwise applies the sin function to each value
(Inherited from MatrixT) | |
PointwiseSin(MatrixT) |
Pointwise applies the sin function to each value
(Inherited from MatrixT) | |
PointwiseSinh |
Pointwise applies the sinh function to each value
(Inherited from MatrixT) | |
PointwiseSinh(MatrixT) |
Pointwise applies the sinh function to each value
(Inherited from MatrixT) | |
PointwiseSqrt |
Pointwise applies the sqrt function to each value
(Inherited from MatrixT) | |
PointwiseSqrt(MatrixT) |
Pointwise applies the sqrt function to each value
(Inherited from MatrixT) | |
PointwiseTan |
Pointwise applies the tan function to each value
(Inherited from MatrixT) | |
PointwiseTan(MatrixT) |
Pointwise applies the tan function to each value
(Inherited from MatrixT) | |
PointwiseTanh |
Pointwise applies the tanh function to each value
(Inherited from MatrixT) | |
PointwiseTanh(MatrixT) |
Pointwise applies the tanh function to each value
(Inherited from MatrixT) | |
PointwiseUnary(ActionMatrixT) |
Helper function to apply a unary function to a matrix. The function
f modifies the matrix given to it in place. Before its
called, a copy of the 'this' matrix is first created, then passed to
f. The copy is then returned as the result
(Inherited from MatrixT) | |
PointwiseUnary(ActionMatrixT, MatrixT) |
Helper function to apply a unary function which modifies a matrix
in place.
(Inherited from MatrixT) | |
Power(Int32) |
Multiplies this square matrix with another matrix and returns the result.
(Inherited from MatrixT) | |
Power(Int32, MatrixT) |
Raises this square matrix to a positive integer exponent and places the results into the result matrix.
(Inherited from MatrixT) | |
PseudoInverse |
Computes the Moore-Penrose Pseudo-Inverse of this matrix.
(Inherited from Matrix) | |
QR | (Inherited from Matrix) | |
Range |
Computes an orthonormal basis for the column space of this matrix,
also known as the range or image of the corresponding matrix transformation.
(Inherited from MatrixT) | |
Rank |
Calculates the rank of the matrix.
(Inherited from MatrixT) | |
ReduceColumns |
Reduces all column vectors by applying a function between two of them, until only a single vector is left.
(Inherited from MatrixT) | |
ReduceRows |
Reduces all row vectors by applying a function between two of them, until only a single vector is left.
(Inherited from MatrixT) | |
Remainder(T) |
Computes the remainder (matrix % divisor), where the result has the sign of the dividend,
for each element of the matrix.
(Inherited from MatrixT) | |
Remainder(T, MatrixT) |
Computes the remainder (matrix % divisor), where the result has the sign of the dividend,
for each element of the matrix.
(Inherited from MatrixT) | |
RemainderByThis(T) |
Computes the remainder (dividend % matrix), where the result has the sign of the dividend,
for each element of the matrix.
(Inherited from MatrixT) | |
RemainderByThis(T, MatrixT) |
Computes the remainder (dividend % matrix), where the result has the sign of the dividend,
for each element of the matrix.
(Inherited from MatrixT) | |
RemoveColumn |
Creates a new matrix with the given column removed.
(Inherited from MatrixT) | |
RemoveRow |
Creates a new matrix with the given row removed.
(Inherited from MatrixT) | |
Resize |
Creates a new matrix with the desired size and copies this matrix to it.
Values which no longer exist in the new matrix are ignored, new values are set to zero.
(Inherited from MatrixT) | |
Row(Int32) |
Copies a row into an Vector.
(Inherited from MatrixT) | |
Row(Int32, VectorT) |
Copies a row into to the given Vector.
(Inherited from MatrixT) | |
Row(Int32, Int32, Int32) |
Copies the requested row elements into a new Vector.
(Inherited from MatrixT) | |
Row(Int32, Int32, Int32, VectorT) |
Copies the requested row elements into a new Vector.
(Inherited from MatrixT) | |
RowAbsoluteSums |
Calculates the absolute value sum of each row vector.
(Inherited from Matrix) | |
RowNorms |
Calculates the p-norms of all row vectors.
Typical values for p are 1.0 (L1, Manhattan norm), 2.0 (L2, Euclidean norm) and positive infinity (infinity norm)
(Inherited from Matrix) | |
RowSums |
Calculates the value sum of each row vector.
(Inherited from Matrix) | |
SetColumn(Int32, T) |
Copies the values of the given array to the specified column.
(Inherited from MatrixT) | |
SetColumn(Int32, VectorT) |
Copies the values of the given Vector to the specified column.
(Inherited from MatrixT) | |
SetColumn(Int32, Int32, Int32, VectorT) |
Copies the values of the given Vector to the specified sub-column.
(Inherited from MatrixT) | |
SetDiagonal(T) |
Copies the values of the given array to the diagonal.
(Inherited from MatrixT) | |
SetDiagonal(VectorT) |
Copies the values of the given Vector to the diagonal.
(Inherited from MatrixT) | |
SetRow(Int32, T) |
Copies the values of the given array to the specified row.
(Inherited from MatrixT) | |
SetRow(Int32, VectorT) |
Copies the values of the given Vector to the specified row.
(Inherited from MatrixT) | |
SetRow(Int32, Int32, Int32, VectorT) |
Copies the values of the given Vector to the specified sub-row.
(Inherited from MatrixT) | |
SetSubMatrix(Int32, Int32, MatrixT) |
Copies the values of a given matrix into a region in this matrix.
(Inherited from MatrixT) | |
SetSubMatrix(Int32, Int32, Int32, Int32, MatrixT) |
Copies the values of a given matrix into a region in this matrix.
(Inherited from MatrixT) | |
SetSubMatrix(Int32, Int32, Int32, Int32, Int32, Int32, MatrixT) |
Copies the values of a given matrix into a region in this matrix.
(Inherited from MatrixT) | |
Solve(MatrixT) |
Solves a system of linear equations, AX = B, with A QR factorized.
(Inherited from MatrixT) | |
Solve(VectorT) |
Solves a system of linear equations, Ax = b, with A QR factorized.
(Inherited from MatrixT) | |
Solve(MatrixT, MatrixT) |
Solves a system of linear equations, AX = B, with A QR factorized.
(Inherited from MatrixT) | |
Solve(VectorT, VectorT) |
Solves a system of linear equations, Ax = b, with A QR factorized.
(Inherited from MatrixT) | |
SolveIterative(MatrixT, IIterativeSolverT, IIterationStopCriterionT) |
Solves the matrix equation AX = B, where A is the coefficient matrix (this matrix), B is the solution matrix and X is the unknown matrix.
(Inherited from MatrixT) | |
SolveIterative(VectorT, IIterativeSolverT, IIterationStopCriterionT) |
Solves the matrix equation Ax = b, where A is the coefficient matrix (this matrix), b is the solution vector and x is the unknown vector.
(Inherited from MatrixT) | |
SolveIterative(MatrixT, IIterativeSolverT, IPreconditionerT, IIterationStopCriterionT) |
Solves the matrix equation AX = B, where A is the coefficient matrix (this matrix), B is the solution matrix and X is the unknown matrix.
(Inherited from MatrixT) | |
SolveIterative(MatrixT, IIterativeSolverT, IteratorT, IPreconditionerT) |
Solves the matrix equation AX = B, where A is the coefficient matrix (this matrix), B is the solution matrix and X is the unknown matrix.
(Inherited from MatrixT) | |
SolveIterative(VectorT, IIterativeSolverT, IPreconditionerT, IIterationStopCriterionT) |
Solves the matrix equation Ax = b, where A is the coefficient matrix (this matrix), b is the solution vector and x is the unknown vector.
(Inherited from MatrixT) | |
SolveIterative(VectorT, IIterativeSolverT, IteratorT, IPreconditionerT) |
Solves the matrix equation Ax = b, where A is the coefficient matrix (this matrix), b is the solution vector and x is the unknown vector.
(Inherited from MatrixT) | |
Stack(MatrixT) |
Stacks this matrix on top of the given matrix and places the result into the result matrix.
(Inherited from MatrixT) | |
Stack(MatrixT, MatrixT) |
Stacks this matrix on top of the given matrix and places the result into the result matrix.
(Inherited from MatrixT) | |
StrictlyLowerTriangle |
Returns a new matrix containing the lower triangle of this matrix. The new matrix
does not contain the diagonal elements of this matrix.
(Overrides MatrixTStrictlyLowerTriangle) | |
StrictlyLowerTriangle(MatrixSingle) |
Puts the strictly lower triangle of this matrix into the result matrix.
(Overrides MatrixTStrictlyLowerTriangle(MatrixT)) | |
StrictlyUpperTriangle |
Returns a new matrix containing the upper triangle of this matrix. The new matrix
does not contain the diagonal elements of this matrix.
(Overrides MatrixTStrictlyUpperTriangle) | |
StrictlyUpperTriangle(MatrixSingle) |
Puts the strictly upper triangle of this matrix into the result matrix.
(Overrides MatrixTStrictlyUpperTriangle(MatrixT)) | |
SubMatrix |
Creates a matrix that contains the values from the requested sub-matrix.
(Inherited from MatrixT) | |
Subtract(T) |
Subtracts a scalar from each element of the matrix.
(Inherited from MatrixT) | |
Subtract(MatrixT) |
Subtracts another matrix from this matrix.
(Inherited from MatrixT) | |
Subtract(T, MatrixT) |
Subtracts a scalar from each element of the matrix and stores the result in the result matrix.
(Inherited from MatrixT) | |
Subtract(MatrixT, MatrixT) |
Subtracts another matrix from this matrix.
(Inherited from MatrixT) | |
SubtractFrom(T) |
Subtracts each element of the matrix from a scalar.
(Inherited from MatrixT) | |
SubtractFrom(T, MatrixT) |
Subtracts each element of the matrix from a scalar and stores the result in the result matrix.
(Inherited from MatrixT) | |
Svd | (Inherited from Matrix) | |
ToArray |
Returns this matrix as a multidimensional array.
The returned array will be independent from this matrix.
A new memory block will be allocated for the array.
(Inherited from MatrixT) | |
ToColumnArrays |
Returns this matrix as array of column arrays.
The returned arrays will be independent from this matrix.
A new memory block will be allocated for the arrays.
(Inherited from MatrixT) | |
ToColumnMajorArray |
Returns the matrix's elements as an array with the data laid out column by column (column major).
The returned array will be independent from this matrix.
A new memory block will be allocated for the array.
(Inherited from MatrixT) | |
ToMatrixString(String, IFormatProvider) |
Returns a string that summarizes the content of this matrix.
(Inherited from MatrixT) | |
ToMatrixString(Int32, Int32, String, IFormatProvider) |
Returns a string that summarizes the content of this matrix.
(Inherited from MatrixT) | |
ToMatrixString(Int32, Int32, Int32, Int32, String, String, String, String, String, FuncT, String) | (Inherited from MatrixT) | |
ToMatrixString(Int32, Int32, Int32, Int32, Int32, String, String, String, String, String, FuncT, String) | (Inherited from MatrixT) | |
ToMatrixStringArray(Int32, Int32, Int32, Int32, String, String, String, FuncT, String) |
Returns a string 2D array that summarizes the content of this matrix.
(Inherited from MatrixT) | |
ToMatrixStringArray(Int32, Int32, Int32, Int32, Int32, Int32, String, String, String, FuncT, String) |
Returns a string 2D array that summarizes the content of this matrix.
(Inherited from MatrixT) | |
ToRowArrays |
Returns this matrix as array of row arrays.
The returned arrays will be independent from this matrix.
A new memory block will be allocated for the arrays.
(Inherited from MatrixT) | |
ToRowMajorArray |
Returns the matrix's elements as an array with the data laid row by row (row major).
The returned array will be independent from this matrix.
A new memory block will be allocated for the array.
(Inherited from MatrixT) | |
ToString |
Returns a string that summarizes this matrix.
The maximum number of cells can be configured in the Control class.
(Inherited from MatrixT) | |
ToString(String, IFormatProvider) |
Returns a string that summarizes this matrix.
The maximum number of cells can be configured in the Control class.
The format string is ignored.
(Inherited from MatrixT) | |
ToString(Int32, Int32, String, IFormatProvider) |
Returns a string that summarizes this matrix.
(Inherited from MatrixT) | |
ToTypeString | (Overrides MatrixTToTypeString) | |
Trace |
Computes the trace of this matrix.
(Inherited from Matrix) | |
Transpose |
Returns the transpose of this matrix.
(Inherited from MatrixT) | |
Transpose(MatrixT) |
Puts the transpose of this matrix into the result matrix.
(Inherited from MatrixT) | |
TransposeAndMultiply(MatrixT) |
Multiplies this matrix with transpose of another matrix and returns the result.
(Inherited from MatrixT) | |
TransposeAndMultiply(MatrixT, MatrixT) |
Multiplies this matrix with transpose of another matrix and places the results into the result matrix.
(Inherited from MatrixT) | |
TransposeThisAndMultiply(MatrixT) |
Multiplies the transpose of this matrix with another matrix and returns the result.
(Inherited from MatrixT) | |
TransposeThisAndMultiply(VectorT) |
Multiplies the transpose of this matrix by a vector and returns the result.
(Inherited from MatrixT) | |
TransposeThisAndMultiply(MatrixT, MatrixT) |
Multiplies the transpose of this matrix with another matrix and places the results into the result matrix.
(Inherited from MatrixT) | |
TransposeThisAndMultiply(VectorT, VectorT) |
Multiplies the transpose of this matrix with a vector and places the results into the result vector.
(Inherited from MatrixT) | |
TrySolveIterative(MatrixT, MatrixT, IIterativeSolverT, IIterationStopCriterionT) |
Solves the matrix equation AX = B, where A is the coefficient matrix (this matrix), B is the solution matrix and X is the unknown matrix.
(Inherited from MatrixT) | |
TrySolveIterative(VectorT, VectorT, IIterativeSolverT, IIterationStopCriterionT) |
Solves the matrix equation Ax = b, where A is the coefficient matrix (this matrix), b is the solution vector and x is the unknown vector.
(Inherited from MatrixT) | |
TrySolveIterative(MatrixT, MatrixT, IIterativeSolverT, IPreconditionerT, IIterationStopCriterionT) |
Solves the matrix equation AX = B, where A is the coefficient matrix (this matrix), B is the solution matrix and X is the unknown matrix.
(Inherited from MatrixT) | |
TrySolveIterative(MatrixT, MatrixT, IIterativeSolverT, IteratorT, IPreconditionerT) |
Solves the matrix equation AX = B, where A is the coefficient matrix (this matrix), B is the solution matrix and X is the unknown matrix.
(Inherited from MatrixT) | |
TrySolveIterative(VectorT, VectorT, IIterativeSolverT, IPreconditionerT, IIterationStopCriterionT) |
Solves the matrix equation Ax = b, where A is the coefficient matrix (this matrix), b is the solution vector and x is the unknown vector.
(Inherited from MatrixT) | |
TrySolveIterative(VectorT, VectorT, IIterativeSolverT, IteratorT, IPreconditionerT) |
Solves the matrix equation Ax = b, where A is the coefficient matrix (this matrix), b is the solution vector and x is the unknown vector.
(Inherited from MatrixT) | |
UpperTriangle |
Returns a new matrix containing the upper triangle of this matrix.
(Overrides MatrixTUpperTriangle) | |
UpperTriangle(MatrixSingle) |
Puts the upper triangle of this matrix into the result matrix.
(Overrides MatrixTUpperTriangle(MatrixT)) |
Name | Description | |
---|---|---|
Addition(SparseMatrix, SparseMatrix) | Adds two matrices together and returns the results. | |
Modulus(SparseMatrix, Single) | Multiplies a Matrix by a constant and returns the result. | |
Multiply(Single, SparseMatrix) | Multiplies a Matrix by a constant and returns the result. | |
Multiply(SparseMatrix, SparseMatrix) | Multiplies two matrices. | |
Multiply(SparseMatrix, SparseVector) | Multiplies a Matrix and a Vector. | |
Multiply(SparseMatrix, Single) | Multiplies a Matrix by a constant and returns the result. | |
Multiply(SparseVector, SparseMatrix) | Multiplies a Vector and a Matrix. | |
Subtraction(SparseMatrix, SparseMatrix) | Subtracts two matrices together and returns the results. | |
UnaryNegation(SparseMatrix) | Negates each element of the matrix. | |
UnaryPlus(SparseMatrix) | Returns a Matrix containing the same values of rightSide. |
Name | Description | |
---|---|---|
ToComplex32 |
Gets a single precision complex matrix with the real parts from the given matrix.
(Defined by MatrixExtensions) | |
ToDouble |
Converts a matrix to double precision.
(Defined by MatrixExtensions) |