Click or drag to resize

SparseMatrix Methods

The SparseMatrix type exposes the following members.

Methods
 NameDescription
Public methodAdd(T) Adds a scalar to each element of the matrix.
(Inherited from Matrix<T>)
Public methodAdd(Matrix<T>) Adds another matrix to this matrix.
(Inherited from Matrix<T>)
Public methodAdd(T, Matrix<T>) Adds a scalar to each element of the matrix and stores the result in the result matrix.
(Inherited from Matrix<T>)
Public methodAdd(Matrix<T>, Matrix<T>) Adds another matrix to this matrix.
(Inherited from Matrix<T>)
Public methodAppend(Matrix<T>) Concatenates this matrix with the given matrix.
(Inherited from Matrix<T>)
Public methodAppend(Matrix<T>, Matrix<T>) Concatenates this matrix with the given matrix and places the result into the result matrix.
(Inherited from Matrix<T>)
Public methodAsArray 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 Matrix<T>)
Public methodAsColumnArrays 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 Matrix<T>)
Public methodCode exampleAsColumnMajorArray 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 Matrix<T>)
Public methodAsRowArrays 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 Matrix<T>)
Public methodCode exampleAsRowMajorArray 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 Matrix<T>)
Public methodAt(Int32, Int32) Retrieves the requested element without range checking.
(Inherited from Matrix<T>)
Public methodAt(Int32, Int32, T) Sets the value of the given element without range checking.
(Inherited from Matrix<T>)
Public methodCholesky
(Inherited from Matrix)
Public methodClear Sets all values to zero.
(Inherited from Matrix<T>)
Public methodClearColumn Sets all values of a column to zero.
(Inherited from Matrix<T>)
Public methodClearColumns Sets all values for all of the chosen columns to zero.
(Inherited from Matrix<T>)
Public methodClearRow Sets all values of a row to zero.
(Inherited from Matrix<T>)
Public methodClearRows Sets all values for all of the chosen rows to zero.
(Inherited from Matrix<T>)
Public methodClearSubMatrix Sets all values of a sub-matrix to zero.
(Inherited from Matrix<T>)
Public methodClone Creates a clone of this instance.
(Inherited from Matrix<T>)
Public methodCoerceZero(Double) Set all values whose absolute value is smaller than the threshold to zero.
(Inherited from Matrix)
Public methodCoerceZero(Func<T, Boolean>) Set all values that meet the predicate to zero, in-place.
(Inherited from Matrix<T>)
Public methodColumn(Int32) Copies a column into a new Vector>.
(Inherited from Matrix<T>)
Public methodColumn(Int32, Vector<T>) Copies a column into to the given Vector.
(Inherited from Matrix<T>)
Public methodColumn(Int32, Int32, Int32) Copies the requested column elements into a new Vector.
(Inherited from Matrix<T>)
Public methodColumn(Int32, Int32, Int32, Vector<T>) Copies the requested column elements into the given vector.
(Inherited from Matrix<T>)
Public methodColumnAbsoluteSums Calculates the absolute value sum of each column vector.
(Inherited from Matrix)
Public methodColumnNorms 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)
Public methodColumnSums Calculates the value sum of each column vector.
(Inherited from Matrix)
Public methodConditionNumberCalculates the condition number of this matrix.
(Inherited from Matrix<T>)
Public methodConjugate() Complex conjugate each element of this matrix.
(Inherited from Matrix<T>)
Public methodConjugate(Matrix<T>) Complex conjugate each element of this matrix and place the results into the result matrix.
(Inherited from Matrix<T>)
Public methodConjugateTranspose() Returns the conjugate transpose of this matrix.
(Inherited from Matrix)
Public methodConjugateTranspose(Matrix<Complex32>) Puts the conjugate transpose of this matrix into the result matrix.
(Inherited from Matrix)
Public methodConjugateTransposeAndMultiply(Matrix<T>) Multiplies this matrix with the conjugate transpose of another matrix and returns the result.
(Inherited from Matrix<T>)
Public methodConjugateTransposeAndMultiply(Matrix<T>, Matrix<T>) Multiplies this matrix with the conjugate transpose of another matrix and places the results into the result matrix.
(Inherited from Matrix<T>)
Public methodConjugateTransposeThisAndMultiply(Matrix<T>) Multiplies the conjugate transpose of this matrix with another matrix and returns the result.
(Inherited from Matrix<T>)
Public methodConjugateTransposeThisAndMultiply(Vector<T>) Multiplies the conjugate transpose of this matrix by a vector and returns the result.
(Inherited from Matrix<T>)
Public methodConjugateTransposeThisAndMultiply(Matrix<T>, Matrix<T>) Multiplies the conjugate transpose of this matrix with another matrix and places the results into the result matrix.
(Inherited from Matrix<T>)
Public methodConjugateTransposeThisAndMultiply(Vector<T>, Vector<T>) Multiplies the conjugate transpose of this matrix with a vector and places the results into the result vector.
(Inherited from Matrix<T>)
Public methodCopyTo Copies the elements of this matrix to the given matrix.
(Inherited from Matrix<T>)
Public methodStatic memberCreate(Int32, Int32, Complex32) Create a new sparse matrix and initialize each value to the same provided value.
Public methodStatic memberCreate(Int32, Int32, Func<Int32, Int32, Complex32>) Create a new sparse matrix and initialize each value using the provided init function.
Public methodStatic memberCreateDiagonal(Int32, Int32, Complex32) Create a new diagonal sparse matrix and initialize each diagonal value to the same provided value.
Public methodStatic memberCreateDiagonal(Int32, Int32, Func<Int32, Complex32>) Create a new diagonal sparse matrix and initialize each diagonal value using the provided init function.
Public methodStatic memberCreateIdentity Create a new square sparse identity matrix where each diagonal value is set to One.
Public methodDeterminantComputes the determinant of this matrix.
(Inherited from Matrix<T>)
Public methodDiagonal() Returns the elements of the diagonal in a Vector.
(Inherited from Matrix<T>)
Public methodDiagonal(Vector<T>) Returns the elements of the diagonal in a Vector.
(Inherited from Matrix<T>)
Public methodDiagonalStack(Matrix<T>) 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 Matrix<T>)
Public methodDiagonalStack(Matrix<T>, Matrix<T>) Diagonally stacks his matrix on top of the given matrix and places the combined matrix into the result matrix.
(Inherited from Matrix<T>)
Public methodDivide(T) Divides each element of this matrix with a scalar.
(Inherited from Matrix<T>)
Public methodDivide(T, Matrix<T>) Divides each element of the matrix by a scalar and places results into the result matrix.
(Inherited from Matrix<T>)
Public methodDivideByThis(T) Divides a scalar by each element of the matrix.
(Inherited from Matrix<T>)
Public methodDivideByThis(T, Matrix<T>) Divides a scalar by each element of the matrix and places results into the result matrix.
(Inherited from Matrix<T>)
Protected methodDoAdd(Complex32, Matrix<Complex32>) Add a scalar to each element of the matrix and stores the result in the result vector.
(Inherited from Matrix)
Protected methodDoAdd(Matrix<Complex32>, Matrix<Complex32>) Adds another matrix to this matrix.
(Overrides Matrix.DoAdd(Matrix<Complex32>, Matrix<Complex32>))
Protected methodDoConjugate Complex conjugates each element of this matrix and place the results into the result matrix.
(Inherited from Matrix)
Protected methodDoConjugateTransposeAndMultiply Multiplies this matrix with the conjugate transpose of another matrix and places the results into the result matrix.
(Inherited from Matrix)
Protected methodDoConjugateTransposeThisAndMultiply(Matrix<Complex32>, Matrix<Complex32>) Multiplies the transpose of this matrix with another matrix and places the results into the result matrix.
(Inherited from Matrix)
Protected methodDoConjugateTransposeThisAndMultiply(Vector<Complex32>, Vector<Complex32>) Multiplies the conjugate transpose of this matrix with a vector and places the results into the result vector.
(Inherited from Matrix)
Protected methodDoDivide Divides each element of the matrix by a scalar and places results into the result matrix.
(Inherited from Matrix)
Protected methodDoDivideByThis Divides a scalar by each element of the matrix and stores the result in the result matrix.
(Inherited from Matrix)
Protected methodDoLeftMultiply Left multiply a matrix with a vector ( = vector * matrix ) and place the result in the result vector.
(Inherited from Matrix<T>)
Protected methodDoModulus Computes the canonical modulus, where the result has the sign of the divisor, for the given divisor each element of the matrix.
(Inherited from Matrix)
Protected methodDoModulusByThis 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)
Protected methodDoMultiply(Complex32, Matrix<Complex32>) Multiplies each element of the matrix by a scalar and places results into the result matrix.
(Overrides Matrix.DoMultiply(Complex32, Matrix<Complex32>))
Protected methodDoMultiply(Matrix<Complex32>, Matrix<Complex32>) Multiplies this matrix with another matrix and places the results into the result matrix.
(Overrides Matrix.DoMultiply(Matrix<Complex32>, Matrix<Complex32>))
Protected methodDoMultiply(Vector<Complex32>, Vector<Complex32>) Multiplies this matrix with a vector and places the results into the result vector.
(Overrides Matrix.DoMultiply(Vector<Complex32>, Vector<Complex32>))
Protected methodDoNegate Negate each element of this matrix and place the results into the result matrix.
(Overrides Matrix.DoNegate(Matrix<Complex32>))
Protected methodDoPointwiseAbs
(Inherited from Matrix)
Protected methodDoPointwiseAbsoluteMaximum(Complex32, Matrix<Complex32>)
(Inherited from Matrix)
Protected methodDoPointwiseAbsoluteMaximum(Matrix<Complex32>, Matrix<Complex32>)
(Inherited from Matrix)
Protected methodDoPointwiseAbsoluteMinimum(Complex32, Matrix<Complex32>)
(Inherited from Matrix)
Protected methodDoPointwiseAbsoluteMinimum(Matrix<Complex32>, Matrix<Complex32>)
(Inherited from Matrix)
Protected methodDoPointwiseAcos
(Inherited from Matrix)
Protected methodDoPointwiseAsin
(Inherited from Matrix)
Protected methodDoPointwiseAtan
(Inherited from Matrix)
Protected methodDoPointwiseAtan2
(Inherited from Matrix)
Protected methodDoPointwiseCeiling
(Inherited from Matrix)
Protected methodDoPointwiseCos
(Inherited from Matrix)
Protected methodDoPointwiseCosh
(Inherited from Matrix)
Protected methodDoPointwiseDivide Pointwise divide this matrix by another matrix and stores the result into the result matrix.
(Overrides Matrix.DoPointwiseDivide(Matrix<Complex32>, Matrix<Complex32>))
Protected methodDoPointwiseExp Pointwise applies the exponential function to each value and stores the result into the result matrix.
(Inherited from Matrix)
Protected methodDoPointwiseFloor
(Inherited from Matrix)
Protected methodDoPointwiseLog Pointwise applies the natural logarithm function to each value and stores the result into the result matrix.
(Inherited from Matrix)
Protected methodDoPointwiseLog10
(Inherited from Matrix)
Protected methodDoPointwiseMaximum(Complex32, Matrix<Complex32>)
(Inherited from Matrix)
Protected methodDoPointwiseMaximum(Matrix<Complex32>, Matrix<Complex32>)
(Inherited from Matrix)
Protected methodDoPointwiseMinimum(Complex32, Matrix<Complex32>)
(Inherited from Matrix)
Protected methodDoPointwiseMinimum(Matrix<Complex32>, Matrix<Complex32>)
(Inherited from Matrix)
Protected methodDoPointwiseModulus 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)
Protected methodDoPointwiseMultiply Pointwise multiplies this matrix with another matrix and stores the result into the result matrix.
(Overrides Matrix.DoPointwiseMultiply(Matrix<Complex32>, Matrix<Complex32>))
Protected methodDoPointwisePower(Complex32, Matrix<Complex32>) Pointwise raise this matrix to an exponent and store the result into the result matrix.
(Inherited from Matrix)
Protected methodDoPointwisePower(Matrix<Complex32>, Matrix<Complex32>) Pointwise raise this matrix to an exponent and store the result into the result matrix.
(Inherited from Matrix)
Protected methodDoPointwiseRemainder 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)
Protected methodDoPointwiseRound
(Inherited from Matrix)
Protected methodDoPointwiseSign
(Inherited from Matrix)
Protected methodDoPointwiseSin
(Inherited from Matrix)
Protected methodDoPointwiseSinh
(Inherited from Matrix)
Protected methodDoPointwiseSqrt
(Inherited from Matrix)
Protected methodDoPointwiseTan
(Inherited from Matrix)
Protected methodDoPointwiseTanh
(Inherited from Matrix)
Protected methodDoRemainder Computes the remainder (% operator), where the result has the sign of the dividend, for the given divisor each element of the matrix.
(Inherited from Matrix)
Protected methodDoRemainderByThis 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)
Protected methodDoSubtract(Complex32, Matrix<Complex32>) Subtracts a scalar from each element of the vector and stores the result in the result vector.
(Inherited from Matrix)
Protected methodDoSubtract(Matrix<Complex32>, Matrix<Complex32>) Subtracts another matrix from this matrix.
(Overrides Matrix.DoSubtract(Matrix<Complex32>, Matrix<Complex32>))
Protected methodDoSubtractFrom Subtracts each element of the matrix from a scalar and stores the result in the result matrix.
(Inherited from Matrix<T>)
Protected methodDoTransposeAndMultiply Multiplies this matrix with transpose of another matrix and places the results into the result matrix.
(Overrides Matrix.DoTransposeAndMultiply(Matrix<Complex32>, Matrix<Complex32>))
Protected methodDoTransposeThisAndMultiply(Matrix<Complex32>, Matrix<Complex32>) Multiplies the transpose of this matrix with another matrix and places the results into the result matrix.
(Inherited from Matrix)
Protected methodDoTransposeThisAndMultiply(Vector<Complex32>, Vector<Complex32>) Multiplies the transpose of this matrix with a vector and places the results into the result vector.
(Overrides Matrix.DoTransposeThisAndMultiply(Vector<Complex32>, Vector<Complex32>))
Public methodEnumerate() Returns an IEnumerable that can be used to iterate through all values of the matrix.
(Inherited from Matrix<T>)
Public methodEnumerate(Zeros) Returns an IEnumerable that can be used to iterate through all values of the matrix.
(Inherited from Matrix<T>)
Public methodEnumerateColumns() Returns an IEnumerable that can be used to iterate through all columns of the matrix.
(Inherited from Matrix<T>)
Public methodEnumerateColumns(Int32, Int32) Returns an IEnumerable that can be used to iterate through a subset of all columns of the matrix.
(Inherited from Matrix<T>)
Public methodEnumerateColumnsIndexed() Returns an IEnumerable that can be used to iterate through all columns of the matrix and their index.
(Inherited from Matrix<T>)
Public methodEnumerateColumnsIndexed(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 Matrix<T>)
Public methodEnumerateIndexed() Returns an IEnumerable that can be used to iterate through all values of the matrix and their index.
(Inherited from Matrix<T>)
Public methodEnumerateIndexed(Zeros) Returns an IEnumerable that can be used to iterate through all values of the matrix and their index.
(Inherited from Matrix<T>)
Public methodEnumerateRows() Returns an IEnumerable that can be used to iterate through all rows of the matrix.
(Inherited from Matrix<T>)
Public methodEnumerateRows(Int32, Int32) Returns an IEnumerable that can be used to iterate through a subset of all rows of the matrix.
(Inherited from Matrix<T>)
Public methodEnumerateRowsIndexed() Returns an IEnumerable that can be used to iterate through all rows of the matrix and their index.
(Inherited from Matrix<T>)
Public methodEnumerateRowsIndexed(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 Matrix<T>)
Public methodEquals(Matrix<T>) Indicates whether the current object is equal to another object of the same type.
(Inherited from Matrix<T>)
Public methodEquals(Object) Determines whether the specified Object is equal to this instance.
(Inherited from Matrix<T>)
Public methodEvd
(Inherited from Matrix)
Public methodExists Returns true if at least one element satisfies a predicate. Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from Matrix<T>)
Public methodExists2<TOther> 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 Matrix<T>)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFind 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 Matrix<T>)
Public methodFind2<TOther> 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 Matrix<T>)
Public methodFold2<TOther, TState> Applies a function to update the status with each value pair of two matrices and returns the resulting status.
(Inherited from Matrix<T>)
Public methodFoldByColumn<TU> 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 Matrix<T>)
Public methodFoldByRow<TU> 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 Matrix<T>)
Public methodFoldColumns<TU> Applies a function f to each column vector, threading an accumulator vector argument through the computation. Returns the resulting accumulator vector.
(Inherited from Matrix<T>)
Public methodFoldRows<TU> Applies a function f to each row vector, threading an accumulator vector argument through the computation. Returns the resulting accumulator vector.
(Inherited from Matrix<T>)
Public methodForAll Returns true if all elements satisfy a predicate. Zero elements may be skipped on sparse data structures if allowed (default).
(Inherited from Matrix<T>)
Public methodForAll2<TOther> 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 Matrix<T>)
Public methodFrobeniusNormCalculates the entry-wise Frobenius norm of this matrix.
(Overrides Matrix.FrobeniusNorm())
Public methodGetHashCode Returns a hash code for this instance.
(Inherited from Matrix<T>)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGramSchmidt
(Inherited from Matrix)
Public methodInfinityNormCalculates the induced infinity norm of this matrix.
(Overrides Matrix.InfinityNorm())
Public methodInsertColumn Creates a new matrix and inserts the given column at the given index.
(Inherited from Matrix<T>)
Public methodInsertRow Creates a new matrix and inserts the given row at the given index.
(Inherited from Matrix<T>)
Public methodInverseComputes the inverse of this matrix.
(Inherited from Matrix<T>)
Public methodIsHermitian Evaluates whether this matrix is Hermitian (conjugate symmetric).
(Overrides Matrix.IsHermitian())
Public methodIsSymmetric Evaluates whether this matrix is symmetric.
(Overrides Matrix<T>.IsSymmetric())
Public methodKernel Computes an orthonormal basis for the null space of this matrix, also known as the kernel of the corresponding matrix transformation.
(Inherited from Matrix<T>)
Public methodKroneckerProduct(Matrix<T>) 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 Matrix<T>)
Public methodKroneckerProduct(Matrix<Complex32>, Matrix<Complex32>)
(Overrides Matrix<T>.KroneckerProduct(Matrix<T>, Matrix<T>))
Public methodL1NormCalculates the induced L1 norm of this matrix.
(Inherited from Matrix)
Public methodL2NormCalculates the induced L2 norm of the matrix.
(Inherited from Matrix<T>)
Public methodLeftMultiply(Vector<T>) Left multiply a matrix with a vector ( = vector * matrix ).
(Inherited from Matrix<T>)
Public methodLeftMultiply(Vector<T>, Vector<T>) Left multiply a matrix with a vector ( = vector * matrix ) and place the result in the result vector.
(Inherited from Matrix<T>)
Public methodLowerTriangle() Returns a new matrix containing the lower triangle of this matrix.
(Overrides Matrix<T>.LowerTriangle())
Public methodLowerTriangle(Matrix<Complex32>) Puts the lower triangle of this matrix into the result matrix.
(Overrides Matrix<T>.LowerTriangle(Matrix<T>))
Public methodLU
(Inherited from Matrix)
Public methodMap(Func<T, T>, Matrix<T>, 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 Matrix<T>)
Public methodMap<TU>(Func<T, 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 Matrix<T>)
Public methodMap2(Func<T, T, T>, Matrix<T>, Zeros) Applies a function to each value pair of two matrices and returns the results as a new vector.
(Inherited from Matrix<T>)
Public methodMap2(Func<T, T, T>, Matrix<T>, Matrix<T>, Zeros) Applies a function to each value pair of two matrices and replaces the value in the result vector.
(Inherited from Matrix<T>)
Public methodMapConvert<TU> 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 Matrix<T>)
Public methodMapIndexed(Func<Int32, Int32, T, T>, Matrix<T>, 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 Matrix<T>)
Public methodMapIndexed<TU>(Func<Int32, 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 Matrix<T>)
Public methodMapIndexedConvert<TU> 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 Matrix<T>)
Public methodMapIndexedInplace 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 Matrix<T>)
Public methodMapInplace 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 Matrix<T>)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodModulus(T) Computes the canonical modulus, where the result has the sign of the divisor, for each element of the matrix.
(Inherited from Matrix<T>)
Public methodModulus(T, Matrix<T>) Computes the canonical modulus, where the result has the sign of the divisor, for each element of the matrix.
(Inherited from Matrix<T>)
Public methodModulusByThis(T) Computes the canonical modulus, where the result has the sign of the divisor, for each element of the matrix.
(Inherited from Matrix<T>)
Public methodModulusByThis(T, Matrix<T>) Computes the canonical modulus, where the result has the sign of the divisor, for each element of the matrix.
(Inherited from Matrix<T>)
Public methodMultiply(T) Multiplies each element of this matrix with a scalar.
(Inherited from Matrix<T>)
Public methodMultiply(Matrix<T>) Multiplies this matrix with another matrix and returns the result.
(Inherited from Matrix<T>)
Public methodMultiply(Vector<T>) Multiplies this matrix by a vector and returns the result.
(Inherited from Matrix<T>)
Public methodMultiply(T, Matrix<T>) Multiplies each element of the matrix by a scalar and places results into the result matrix.
(Inherited from Matrix<T>)
Public methodMultiply(Matrix<T>, Matrix<T>) Multiplies this matrix with another matrix and places the results into the result matrix.
(Inherited from Matrix<T>)
Public methodMultiply(Vector<T>, Vector<T>) Multiplies this matrix with a vector and places the results into the result vector.
(Inherited from Matrix<T>)
Public methodNegate() Negate each element of this matrix.
(Inherited from Matrix<T>)
Public methodNegate(Matrix<T>) Negate each element of this matrix and place the results into the result matrix.
(Inherited from Matrix<T>)
Public methodNormalizeColumns 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)
Public methodNormalizeRows 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)
Public methodNullity Calculates the nullity of the matrix.
(Inherited from Matrix<T>)
Public methodStatic memberOfArray 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.
Public methodStatic memberOfColumnArrays(Complex32[][]) 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.
Public methodStatic memberOfColumnArrays(IEnumerable<Complex32[]>) 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.
Public methodStatic memberOfColumnMajor 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.
Public methodStatic memberOfColumns(IEnumerable<IEnumerable<Complex32>>) 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.
Public methodStatic memberOfColumns(Int32, Int32, IEnumerable<IEnumerable<Complex32>>) 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.
Public methodStatic memberOfColumnVectors(IEnumerable<Vector<Complex32>>) 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.
Public methodStatic memberOfColumnVectors(Vector<Complex32>[]) 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.
Public methodStatic memberOfDiagonalArray(Complex32[]) 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.
Public methodStatic memberOfDiagonalArray(Int32, Int32, Complex32[]) 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.
Public methodStatic memberOfDiagonalVector(Vector<Complex32>) 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.
Public methodStatic memberOfDiagonalVector(Int32, Int32, Vector<Complex32>) 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.
Public methodStatic memberOfIndexed(Int32, Int32, IEnumerable<Tuple<Int32, Int32, Complex32>>) 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.
Public methodStatic memberOfIndexed(Int32, Int32, IEnumerable<ValueTuple<Int32, Int32, Complex32>>) 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.
Public methodStatic memberOfMatrix 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.
Public methodStatic memberOfRowArrays(Complex32[][]) 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.
Public methodStatic memberOfRowArrays(IEnumerable<Complex32[]>) 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.
Public methodStatic memberOfRowMajor 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.
Public methodStatic memberOfRows(IEnumerable<IEnumerable<Complex32>>) 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.
Public methodStatic memberOfRows(Int32, Int32, IEnumerable<IEnumerable<Complex32>>) 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.
Public methodStatic memberOfRowVectors(IEnumerable<Vector<Complex32>>) 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.
Public methodStatic memberOfRowVectors(Vector<Complex32>[]) 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.
Public methodPermuteColumns Permute the columns of a matrix according to a permutation.
(Inherited from Matrix<T>)
Public methodPermuteRows Permute the rows of a matrix according to a permutation.
(Inherited from Matrix<T>)
Public methodPointwiseAbs() Pointwise applies the abs function to each value
(Inherited from Matrix<T>)
Public methodPointwiseAbs(Matrix<T>) Pointwise applies the abs function to each value
(Inherited from Matrix<T>)
Public methodPointwiseAbsoluteMaximum(T) Pointwise applies the absolute maximum with a scalar to each value.
(Inherited from Matrix<T>)
Public methodPointwiseAbsoluteMaximum(Matrix<T>) Pointwise applies the absolute maximum with the values of another matrix to each value.
(Inherited from Matrix<T>)
Public methodPointwiseAbsoluteMaximum(T, Matrix<T>) Pointwise applies the absolute maximum with a scalar to each value.
(Inherited from Matrix<T>)
Public methodPointwiseAbsoluteMaximum(Matrix<T>, Matrix<T>) Pointwise applies the absolute maximum with the values of another matrix to each value.
(Inherited from Matrix<T>)
Public methodPointwiseAbsoluteMinimum(T) Pointwise applies the absolute minimum with a scalar to each value.
(Inherited from Matrix<T>)
Public methodPointwiseAbsoluteMinimum(Matrix<T>) Pointwise applies the absolute minimum with the values of another matrix to each value.
(Inherited from Matrix<T>)
Public methodPointwiseAbsoluteMinimum(T, Matrix<T>) Pointwise applies the absolute minimum with a scalar to each value.
(Inherited from Matrix<T>)
Public methodPointwiseAbsoluteMinimum(Matrix<T>, Matrix<T>) Pointwise applies the absolute minimum with the values of another matrix to each value.
(Inherited from Matrix<T>)
Public methodPointwiseAcos() Pointwise applies the acos function to each value
(Inherited from Matrix<T>)
Public methodPointwiseAcos(Matrix<T>) Pointwise applies the acos function to each value
(Inherited from Matrix<T>)
Public methodPointwiseAsin() Pointwise applies the asin function to each value
(Inherited from Matrix<T>)
Public methodPointwiseAsin(Matrix<T>) Pointwise applies the asin function to each value
(Inherited from Matrix<T>)
Public methodPointwiseAtan() Pointwise applies the atan function to each value
(Inherited from Matrix<T>)
Public methodPointwiseAtan(Matrix<T>) Pointwise applies the atan function to each value
(Inherited from Matrix<T>)
Public methodPointwiseAtan2(Matrix<T>) 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 Matrix<T>)
Public methodPointwiseAtan2(Matrix<T>, Matrix<T>) 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 Matrix<T>)
Protected methodPointwiseBinary(Action<Matrix<T>, Matrix<T>>, Matrix<T>) 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 Matrix<T>)
Protected methodPointwiseBinary(Action<Matrix<T>, Matrix<T>>, Matrix<T>, Matrix<T>) Helper function to apply a binary function which takes two matrices and modifies the second one in place
(Inherited from Matrix<T>)
Public methodPointwiseCeiling() Pointwise applies the ceiling function to each value
(Inherited from Matrix<T>)
Public methodPointwiseCeiling(Matrix<T>) Pointwise applies the ceiling function to each value
(Inherited from Matrix<T>)
Public methodPointwiseCos() Pointwise applies the cos function to each value
(Inherited from Matrix<T>)
Public methodPointwiseCos(Matrix<T>) Pointwise applies the cos function to each value
(Inherited from Matrix<T>)
Public methodPointwiseCosh() Pointwise applies the cosh function to each value
(Inherited from Matrix<T>)
Public methodPointwiseCosh(Matrix<T>) Pointwise applies the cosh function to each value
(Inherited from Matrix<T>)
Public methodPointwiseDivide(Matrix<T>) Pointwise divide this matrix by another matrix.
(Inherited from Matrix<T>)
Public methodPointwiseDivide(Matrix<T>, Matrix<T>) Pointwise divide this matrix by another matrix and stores the result into the result matrix.
(Inherited from Matrix<T>)
Public methodPointwiseExp() Pointwise applies the exponent function to each value.
(Inherited from Matrix<T>)
Public methodPointwiseExp(Matrix<T>) Pointwise applies the exponent function to each value.
(Inherited from Matrix<T>)
Public methodPointwiseFloor() Pointwise applies the floor function to each value
(Inherited from Matrix<T>)
Public methodPointwiseFloor(Matrix<T>) Pointwise applies the floor function to each value
(Inherited from Matrix<T>)
Public methodPointwiseLog() Pointwise applies the natural logarithm function to each value.
(Inherited from Matrix<T>)
Public methodPointwiseLog(Matrix<T>) Pointwise applies the natural logarithm function to each value.
(Inherited from Matrix<T>)
Public methodPointwiseLog10() Pointwise applies the log10 function to each value
(Inherited from Matrix<T>)
Public methodPointwiseLog10(Matrix<T>) Pointwise applies the log10 function to each value
(Inherited from Matrix<T>)
Public methodPointwiseMaximum(T) Pointwise applies the maximum with a scalar to each value.
(Inherited from Matrix<T>)
Public methodPointwiseMaximum(Matrix<T>) Pointwise applies the maximum with the values of another matrix to each value.
(Inherited from Matrix<T>)
Public methodPointwiseMaximum(T, Matrix<T>) Pointwise applies the maximum with a scalar to each value.
(Inherited from Matrix<T>)
Public methodPointwiseMaximum(Matrix<T>, Matrix<T>) Pointwise applies the maximum with the values of another matrix to each value.
(Inherited from Matrix<T>)
Public methodPointwiseMinimum(T) Pointwise applies the minimum with a scalar to each value.
(Inherited from Matrix<T>)
Public methodPointwiseMinimum(Matrix<T>) Pointwise applies the minimum with the values of another matrix to each value.
(Inherited from Matrix<T>)
Public methodPointwiseMinimum(T, Matrix<T>) Pointwise applies the minimum with a scalar to each value.
(Inherited from Matrix<T>)
Public methodPointwiseMinimum(Matrix<T>, Matrix<T>) Pointwise applies the minimum with the values of another matrix to each value.
(Inherited from Matrix<T>)
Public methodPointwiseModulus(Matrix<T>) Pointwise canonical modulus, where the result has the sign of the divisor, of this matrix by another matrix.
(Inherited from Matrix<T>)
Public methodPointwiseModulus(Matrix<T>, Matrix<T>) 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 Matrix<T>)
Public methodPointwiseMultiply(Matrix<T>) Pointwise multiplies this matrix with another matrix.
(Inherited from Matrix<T>)
Public methodPointwiseMultiply(Matrix<T>, Matrix<T>) Pointwise multiplies this matrix with another matrix and stores the result into the result matrix.
(Inherited from Matrix<T>)
Public methodPointwisePower(T) Pointwise raise this matrix to an exponent and store the result into the result matrix.
(Inherited from Matrix<T>)
Public methodPointwisePower(Matrix<T>) Pointwise raise this matrix to an exponent and store the result into the result matrix.
(Inherited from Matrix<T>)
Public methodPointwisePower(T, Matrix<T>) Pointwise raise this matrix to an exponent.
(Inherited from Matrix<T>)
Public methodPointwisePower(Matrix<T>, Matrix<T>) Pointwise raise this matrix to an exponent.
(Inherited from Matrix<T>)
Public methodPointwiseRemainder(Matrix<T>) Pointwise remainder (% operator), where the result has the sign of the dividend, of this matrix by another matrix.
(Inherited from Matrix<T>)
Public methodPointwiseRemainder(Matrix<T>, Matrix<T>) 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 Matrix<T>)
Public methodPointwiseRound() Pointwise applies the round function to each value
(Inherited from Matrix<T>)
Public methodPointwiseRound(Matrix<T>) Pointwise applies the round function to each value
(Inherited from Matrix<T>)
Public methodPointwiseSign() Pointwise applies the sign function to each value
(Inherited from Matrix<T>)
Public methodPointwiseSign(Matrix<T>) Pointwise applies the sign function to each value
(Inherited from Matrix<T>)
Public methodPointwiseSin() Pointwise applies the sin function to each value
(Inherited from Matrix<T>)
Public methodPointwiseSin(Matrix<T>) Pointwise applies the sin function to each value
(Inherited from Matrix<T>)
Public methodPointwiseSinh() Pointwise applies the sinh function to each value
(Inherited from Matrix<T>)
Public methodPointwiseSinh(Matrix<T>) Pointwise applies the sinh function to each value
(Inherited from Matrix<T>)
Public methodPointwiseSqrt() Pointwise applies the sqrt function to each value
(Inherited from Matrix<T>)
Public methodPointwiseSqrt(Matrix<T>) Pointwise applies the sqrt function to each value
(Inherited from Matrix<T>)
Public methodPointwiseTan() Pointwise applies the tan function to each value
(Inherited from Matrix<T>)
Public methodPointwiseTan(Matrix<T>) Pointwise applies the tan function to each value
(Inherited from Matrix<T>)
Public methodPointwiseTanh() Pointwise applies the tanh function to each value
(Inherited from Matrix<T>)
Public methodPointwiseTanh(Matrix<T>) Pointwise applies the tanh function to each value
(Inherited from Matrix<T>)
Protected methodPointwiseUnary(Action<Matrix<T>>) 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 Matrix<T>)
Protected methodPointwiseUnary(Action<Matrix<T>>, Matrix<T>) Helper function to apply a unary function which modifies a matrix in place.
(Inherited from Matrix<T>)
Public methodPower(Int32) Multiplies this square matrix with another matrix and returns the result.
(Inherited from Matrix<T>)
Public methodPower(Int32, Matrix<T>) Raises this square matrix to a positive integer exponent and places the results into the result matrix.
(Inherited from Matrix<T>)
Public methodPseudoInverse Computes the Moore-Penrose Pseudo-Inverse of this matrix.
(Inherited from Matrix)
Public methodQR
(Inherited from Matrix)
Public methodRange 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 Matrix<T>)
Public methodRank Calculates the rank of the matrix.
(Inherited from Matrix<T>)
Public methodReduceColumns Reduces all column vectors by applying a function between two of them, until only a single vector is left.
(Inherited from Matrix<T>)
Public methodReduceRows Reduces all row vectors by applying a function between two of them, until only a single vector is left.
(Inherited from Matrix<T>)
Public methodRemainder(T) Computes the remainder (matrix % divisor), where the result has the sign of the dividend, for each element of the matrix.
(Inherited from Matrix<T>)
Public methodRemainder(T, Matrix<T>) Computes the remainder (matrix % divisor), where the result has the sign of the dividend, for each element of the matrix.
(Inherited from Matrix<T>)
Public methodRemainderByThis(T) Computes the remainder (dividend % matrix), where the result has the sign of the dividend, for each element of the matrix.
(Inherited from Matrix<T>)
Public methodRemainderByThis(T, Matrix<T>) Computes the remainder (dividend % matrix), where the result has the sign of the dividend, for each element of the matrix.
(Inherited from Matrix<T>)
Public methodRemoveColumn Creates a new matrix with the given column removed.
(Inherited from Matrix<T>)
Public methodRemoveRow Creates a new matrix with the given row removed.
(Inherited from Matrix<T>)
Public methodResize 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 Matrix<T>)
Public methodRow(Int32) Copies a row into an Vector.
(Inherited from Matrix<T>)
Public methodRow(Int32, Vector<T>) Copies a row into to the given Vector.
(Inherited from Matrix<T>)
Public methodRow(Int32, Int32, Int32) Copies the requested row elements into a new Vector.
(Inherited from Matrix<T>)
Public methodRow(Int32, Int32, Int32, Vector<T>) Copies the requested row elements into a new Vector.
(Inherited from Matrix<T>)
Public methodRowAbsoluteSums Calculates the absolute value sum of each row vector.
(Inherited from Matrix)
Public methodRowNorms 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)
Public methodRowSums Calculates the value sum of each row vector.
(Inherited from Matrix)
Public methodSetColumn(Int32, T[]) Copies the values of the given array to the specified column.
(Inherited from Matrix<T>)
Public methodSetColumn(Int32, Vector<T>) Copies the values of the given Vector to the specified column.
(Inherited from Matrix<T>)
Public methodSetColumn(Int32, Int32, Int32, Vector<T>) Copies the values of the given Vector to the specified sub-column.
(Inherited from Matrix<T>)
Public methodSetDiagonal(T[]) Copies the values of the given array to the diagonal.
(Inherited from Matrix<T>)
Public methodSetDiagonal(Vector<T>) Copies the values of the given Vector to the diagonal.
(Inherited from Matrix<T>)
Public methodSetRow(Int32, T[]) Copies the values of the given array to the specified row.
(Inherited from Matrix<T>)
Public methodSetRow(Int32, Vector<T>) Copies the values of the given Vector to the specified row.
(Inherited from Matrix<T>)
Public methodSetRow(Int32, Int32, Int32, Vector<T>) Copies the values of the given Vector to the specified sub-row.
(Inherited from Matrix<T>)
Public methodSetSubMatrix(Int32, Int32, Matrix<T>) Copies the values of a given matrix into a region in this matrix.
(Inherited from Matrix<T>)
Public methodSetSubMatrix(Int32, Int32, Int32, Int32, Matrix<T>) Copies the values of a given matrix into a region in this matrix.
(Inherited from Matrix<T>)
Public methodSetSubMatrix(Int32, Int32, Int32, Int32, Int32, Int32, Matrix<T>) Copies the values of a given matrix into a region in this matrix.
(Inherited from Matrix<T>)
Public methodSolve(Matrix<T>) Solves a system of linear equations, AX = B, with A QR factorized.
(Inherited from Matrix<T>)
Public methodSolve(Vector<T>) Solves a system of linear equations, Ax = b, with A QR factorized.
(Inherited from Matrix<T>)
Public methodSolve(Matrix<T>, Matrix<T>) Solves a system of linear equations, AX = B, with A QR factorized.
(Inherited from Matrix<T>)
Public methodSolve(Vector<T>, Vector<T>) Solves a system of linear equations, Ax = b, with A QR factorized.
(Inherited from Matrix<T>)
Public methodSolveIterative(Matrix<T>, IIterativeSolver<T>, IIterationStopCriterion<T>[]) 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 Matrix<T>)
Public methodSolveIterative(Vector<T>, IIterativeSolver<T>, IIterationStopCriterion<T>[]) 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 Matrix<T>)
Public methodSolveIterative(Matrix<T>, IIterativeSolver<T>, IPreconditioner<T>, IIterationStopCriterion<T>[]) 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 Matrix<T>)
Public methodSolveIterative(Matrix<T>, IIterativeSolver<T>, Iterator<T>, IPreconditioner<T>) 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 Matrix<T>)
Public methodSolveIterative(Vector<T>, IIterativeSolver<T>, IPreconditioner<T>, IIterationStopCriterion<T>[]) 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 Matrix<T>)
Public methodSolveIterative(Vector<T>, IIterativeSolver<T>, Iterator<T>, IPreconditioner<T>) 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 Matrix<T>)
Public methodStack(Matrix<T>) Stacks this matrix on top of the given matrix and places the result into the result matrix.
(Inherited from Matrix<T>)
Public methodStack(Matrix<T>, Matrix<T>) Stacks this matrix on top of the given matrix and places the result into the result matrix.
(Inherited from Matrix<T>)
Public methodStrictlyLowerTriangle() Returns a new matrix containing the lower triangle of this matrix. The new matrix does not contain the diagonal elements of this matrix.
(Overrides Matrix<T>.StrictlyLowerTriangle())
Public methodStrictlyLowerTriangle(Matrix<Complex32>) Puts the strictly lower triangle of this matrix into the result matrix.
(Overrides Matrix<T>.StrictlyLowerTriangle(Matrix<T>))
Public methodStrictlyUpperTriangle() Returns a new matrix containing the upper triangle of this matrix. The new matrix does not contain the diagonal elements of this matrix.
(Overrides Matrix<T>.StrictlyUpperTriangle())
Public methodStrictlyUpperTriangle(Matrix<Complex32>) Puts the strictly upper triangle of this matrix into the result matrix.
(Overrides Matrix<T>.StrictlyUpperTriangle(Matrix<T>))
Public methodSubMatrix Creates a matrix that contains the values from the requested sub-matrix.
(Inherited from Matrix<T>)
Public methodSubtract(T) Subtracts a scalar from each element of the matrix.
(Inherited from Matrix<T>)
Public methodSubtract(Matrix<T>) Subtracts another matrix from this matrix.
(Inherited from Matrix<T>)
Public methodSubtract(T, Matrix<T>) Subtracts a scalar from each element of the matrix and stores the result in the result matrix.
(Inherited from Matrix<T>)
Public methodSubtract(Matrix<T>, Matrix<T>) Subtracts another matrix from this matrix.
(Inherited from Matrix<T>)
Public methodSubtractFrom(T) Subtracts each element of the matrix from a scalar.
(Inherited from Matrix<T>)
Public methodSubtractFrom(T, Matrix<T>) Subtracts each element of the matrix from a scalar and stores the result in the result matrix.
(Inherited from Matrix<T>)
Public methodSvd
(Inherited from Matrix)
Public methodToArray 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 Matrix<T>)
Public methodToColumnArrays 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 Matrix<T>)
Public methodCode exampleToColumnMajorArray 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 Matrix<T>)
Public methodToMatrixString(String, IFormatProvider) Returns a string that summarizes the content of this matrix.
(Inherited from Matrix<T>)
Public methodToMatrixString(Int32, Int32, String, IFormatProvider) Returns a string that summarizes the content of this matrix.
(Inherited from Matrix<T>)
Public methodToMatrixString(Int32, Int32, Int32, Int32, String, String, String, String, String, Func<T, String>)
(Inherited from Matrix<T>)
Public methodToMatrixString(Int32, Int32, Int32, Int32, Int32, String, String, String, String, String, Func<T, String>)
(Inherited from Matrix<T>)
Public methodToMatrixStringArray(Int32, Int32, Int32, Int32, String, String, String, Func<T, String>) Returns a string 2D array that summarizes the content of this matrix.
(Inherited from Matrix<T>)
Public methodToMatrixStringArray(Int32, Int32, Int32, Int32, Int32, Int32, String, String, String, Func<T, String>) Returns a string 2D array that summarizes the content of this matrix.
(Inherited from Matrix<T>)
Public methodToRowArrays 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 Matrix<T>)
Public methodCode exampleToRowMajorArray 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 Matrix<T>)
Public methodToString() Returns a string that summarizes this matrix. The maximum number of cells can be configured in the Control class.
(Inherited from Matrix<T>)
Public methodToString(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 Matrix<T>)
Public methodToString(Int32, Int32, String, IFormatProvider) Returns a string that summarizes this matrix.
(Inherited from Matrix<T>)
Public methodToTypeString
(Overrides Matrix<T>.ToTypeString())
Public methodTrace Computes the trace of this matrix.
(Inherited from Matrix)
Public methodTranspose() Returns the transpose of this matrix.
(Inherited from Matrix<T>)
Public methodTranspose(Matrix<T>) Puts the transpose of this matrix into the result matrix.
(Inherited from Matrix<T>)
Public methodTransposeAndMultiply(Matrix<T>) Multiplies this matrix with transpose of another matrix and returns the result.
(Inherited from Matrix<T>)
Public methodTransposeAndMultiply(Matrix<T>, Matrix<T>) Multiplies this matrix with transpose of another matrix and places the results into the result matrix.
(Inherited from Matrix<T>)
Public methodTransposeThisAndMultiply(Matrix<T>) Multiplies the transpose of this matrix with another matrix and returns the result.
(Inherited from Matrix<T>)
Public methodTransposeThisAndMultiply(Vector<T>) Multiplies the transpose of this matrix by a vector and returns the result.
(Inherited from Matrix<T>)
Public methodTransposeThisAndMultiply(Matrix<T>, Matrix<T>) Multiplies the transpose of this matrix with another matrix and places the results into the result matrix.
(Inherited from Matrix<T>)
Public methodTransposeThisAndMultiply(Vector<T>, Vector<T>) Multiplies the transpose of this matrix with a vector and places the results into the result vector.
(Inherited from Matrix<T>)
Public methodTrySolveIterative(Matrix<T>, Matrix<T>, IIterativeSolver<T>, IIterationStopCriterion<T>[]) 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 Matrix<T>)
Public methodTrySolveIterative(Vector<T>, Vector<T>, IIterativeSolver<T>, IIterationStopCriterion<T>[]) 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 Matrix<T>)
Public methodTrySolveIterative(Matrix<T>, Matrix<T>, IIterativeSolver<T>, IPreconditioner<T>, IIterationStopCriterion<T>[]) 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 Matrix<T>)
Public methodTrySolveIterative(Matrix<T>, Matrix<T>, IIterativeSolver<T>, Iterator<T>, IPreconditioner<T>) 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 Matrix<T>)
Public methodTrySolveIterative(Vector<T>, Vector<T>, IIterativeSolver<T>, IPreconditioner<T>, IIterationStopCriterion<T>[]) 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 Matrix<T>)
Public methodTrySolveIterative(Vector<T>, Vector<T>, IIterativeSolver<T>, Iterator<T>, IPreconditioner<T>) 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 Matrix<T>)
Public methodUpperTriangle() Returns a new matrix containing the upper triangle of this matrix.
(Overrides Matrix<T>.UpperTriangle())
Public methodUpperTriangle(Matrix<Complex32>) Puts the upper triangle of this matrix into the result matrix.
(Overrides Matrix<T>.UpperTriangle(Matrix<T>))
Top
Extension Methods
 NameDescription
Public Extension MethodImaginary Gets a real matrix representing the imaginary parts of a complex matrix.
(Defined by MatrixExtensions)
Public Extension MethodReal Gets a real matrix representing the real parts of a complex matrix.
(Defined by MatrixExtensions)
Public Extension MethodToComplex Converts a matrix to double precision complex numbers.
(Defined by MatrixExtensions)
Top
See Also