Matrix<T> Methods

Methods

AbsCore Computes the absolute value of the elements of a matrix.
AbsInPlace Computes the absolute value of the elements of a matrix in-place.
AbsoluteMax Returns the value of the element in this matrix that has the largest absolute value.
AbsoluteMin Returns the value of the element in this matrix that has the smallest absolute value.
AcosCore Computes the inverse cosine of the elements of a matrix.
AcoshCore Computes the inverse hyperbolic cosine of the elements of a matrix.
AcoshInPlace Computes the inverse hyperbolic cosine of the elements of a matrix in-place.
AcosInPlace Computes the inverse cosine of the elements of a matrix in-place.
AddCore(T, Matrix<T>) Adds a scalar to a matrix in-place.
AddCore(TransposeOperation, Matrix<T>, TransposeOperation, Matrix<T>) Adds two matrices.
AddInPlace(T) Adds a scalar to a matrix.
AddInPlace(Matrix<T>) Adds another matrix to this matrix in-place.
AddInPlace(Vector<T>, Dimension) Adds a vector broadcast along the specified dimension to this matrix in-place.
AddProductInPlace(Matrix<T>, Matrix<T>) Adds the product of two matrices to this matrix.
AddProductInPlace(Matrix<T>, TransposeOperation, Matrix<T>, TransposeOperation) Adds the product of two matrices to this matrix.
AddScaledAsLeftCore(T, Matrix<T>, Matrix<T>) Adds two matrices.
AddScaledAsLeftCore(T, Vector<T>, Dimension, Matrix<T>) Adds a matrix and a vector broadcast along the specified dimension.
AddScaledAsLeftCore(TransposeOperation, T, Matrix<T>, TransposeOperation, Matrix<T>) Adds a multiple of a matrix to this instance and returns the result.
AddScaledAsRightCore(Matrix<T>, T, Matrix<T>) Adds two matrices.
AddScaledAsRightCore(T, Vector<T>, Dimension, Matrix<T>) Adds a matrix and a vector broadcast along the specified dimension.
AddScaledInPlace Adds a scaled matrix to this matrix.
AddScaledInto Adds two matrices.
AddScaledProductInPlace(T, Matrix<T>, Matrix<T>) Adds a multiple of the scaled product of two matrices to this matrix.
AddScaledProductInPlace(T, Matrix<T>, TransposeOperation, Matrix<T>, TransposeOperation) Adds the scaled product of two matrices to another matrix.
AggregateColumns(TypePreservingAggregatorGroup) Applies the specified aggregator to all the columns in the matrix.
AggregateColumns<U>(Aggregator<T, U>) Applies the specified aggregator to all the columns in the matrix.
AggregateColumns<U>(AggregatorGroup<U>) Applies the specified aggregator to all the columns in the matrix.
AggregateColumns<TResult>(AggregatorGroup<TResult>[]) Applies the specified aggregators to all the columns in the matrix.
AggregateColumns<TResult>(Func<Vector<T>, TResult>) Applies the specified aggregators to all the columns in the matrix.
AggregateColumnsBy(IGrouping, TypePreservingAggregatorGroup) Returns a new matrix that aggregates the columns according to the specified grouping.
AggregateColumnsBy<TResult>(IGrouping, AggregatorGroup<TResult>) Returns a new matrix that aggregates the columns according to the specified grouping.
AggregateColumnsBy<K, TResult>(IList<K>, AggregatorGroup<TResult>) Returns a new matrix that aggregates the columns grouped by the specified vector.
AggregateColumnsListwise(TypePreservingAggregatorGroup) Applies the specified aggregator to all the columns in the matrix, treating rows that contain any missing values as completely missing.
AggregateColumnsListwise<U>(AggregatorGroup<U>) Applies the specified aggregator to all the columns in the matrix, treating rows that contain any missing values as completely missing.
AggregateRows(TypePreservingAggregatorGroup) Applies the specified aggregator to all the rows in the matrix.
AggregateRows<TResult>(Aggregator<T, TResult>) Applies the specified aggregator to all the rows in the matrix.
AggregateRows<U>(AggregatorGroup<U>) Applies the specified aggregator to all the rows in the matrix.
AggregateRows<TResult>(AggregatorGroup<TResult>[]) Applies the specified aggregators to all the rows in the matrix.
AggregateRows<TResult>(Func<Vector<T>, TResult>) Applies the specified aggregators to all the rows in the matrix.
AggregateRowsBy<TResult>(IGrouping, Aggregator<T, TResult>) Returns a new matrix that aggregates the rows according to the specified grouping.
AggregateRowsBy<TResult>(IGrouping, AggregatorGroup<TResult>) Returns a new matrix that aggregates the rows according to the specified grouping.
AggregateRowsBy<C>(C, TypePreservingAggregatorGroup) Returns a new matrix that aggregates the rows grouped by the specified row.
AggregateRowsBy<C, TResult>(C, AggregatorGroup<TResult>) Returns a new matrix that aggregates the rows grouped by the specified row.
AggregateRowsBy<K, U>(IList<K>, AggregatorGroup<U>) Returns a new matrix that aggregates the rows grouped by the specified vector.
AggregateRowsBy<R, TResult>(R, Func<Vector<T>, TResult>) Applies the specified aggregation function to the values in each row grouped by the specified grouping row.
AsDenseMatrix Returns this matrix as a dense matrix.
AsHermitianMatrix() Returns a matrix as a HermitianMatrix<T>, or null if the matrix is not hermitian.
AsHermitianMatrix(MatrixTriangle) Returns a HermitianMatrix<T> extracted from a part of the matrix.
AsinCore Computes the inverse sine of the elements of a matrix.
AsinhCore Computes the inverse hyperbolic sine of the elements of a matrix.
AsinhInPlace Computes the inverse hyperbolic sine of the elements of a matrix in-place.
AsinInPlace Computes the inverse sine of the elements of a matrix in-place.
AsSymmetricMatrix() Returns a matrix as a SymmetricMatrix<T>, or null if the matrix is not symmetrical.
AsSymmetricMatrix(MatrixTriangle) Returns a SymmetricMatrix<T> extracted from a part of the matrix.
Atan2AsXCore Computes the four-quadrant inverse tangent of the corresponding elements of two matrices.
Atan2AsYCore Computes the four-quadrant inverse tangent of the elements of a matrix.
AtanCore Computes the inverse tangent of the elements of a matrix.
AtanhCore Computes the inverse hyperbolic tangent of the elements of a matrix.
AtanhInPlace Computes the inverse hyperbolic tangent of the elements of a matrix in-place.
AtanInPlace Computes the inverse tangent of the elements of a matrix in-place.
CeilingCore Computes the smallest integer greater than or equal to the elements of a matrix.
CeilingInPlace Computes the smallest integer greater than or equal to the elements of a matrix in-place.
Clone() Constructs a deep copy of this matrix.
Clone(CloningMethod) Makes a copy of this vector using the specified method.
CloneData Gives this instance its own copy of its elements.
CloneShape Creates a new matrix that has the same number of rows and columns and optionally preserves the writable structure.
Conjugate Returns the transpose of this instance.
ConjugateCore Conjugates the elements of a matrix.
ConjugateInPlace Conjugates all elements of a matrix in-place.
ConjugateTranspose Returns the transpose of this instance.
CopyTo(Matrix<T>) Copies the elements of this matrix to another matrix.
CopyTo(Array2D<T>, TransposeOperation) Copies the elements of this matrix to another matrix.
CopyTo(Matrix<T>, TransposeOperation) Copies the elements of this matrix to another matrix.
CopyToOrClone Copies the elements of this vector to another matrix, if it exists; otherwise clones the matrix using the specified method.
CosCore Computes the cosine of the elements of a matrix.
CoshCore Computes the hyperbolic cosine of the elements of a matrix.
CoshInPlace Computes the hyperbolic cosine of the elements of a matrix in-place.
CosInPlace Computes the cosine of the elements of a matrix in-place.
Dispose() Releases unmanaged resources.
Dispose(Boolean) Releases unmanaged resources.
DivideInPlace Divides a matrix in-place by a scalar.
ElementwiseConjugateMultiplyAsLeftCore Multiplies two vectors element-wise.
ElementwiseConjugateMultiplyAsRightCore Multiplies two vectors element-wise.
ElementwiseDivideAsLeftCore Divides two matrices element-wise.
ElementwiseDivideAsRightCore Divides two matrices element-wise.
ElementwiseDivideInPlace Divides this matrix in-place element-wise by another matrix.
ElementwiseMultiplyCore Multiplies two matrices element-wise.
ElementwiseMultiplyInPlace Multiplies this matrix in-place element-wise by another matrix.
ElementwisePowAsLeftCore(Matrix<T>, Matrix<T>) Raises the elements of a matrix to a power from the corresponding elements in another matrix.
ElementwisePowAsLeftCore(Matrix<Int32>, Matrix<T>) Raises the elements of a matrix to a power from the corresponding elements in another matrix.
ElementwisePowAsLeftCore(Vector<T>, Dimension, Matrix<T>) Raises the elements of a matrix to a power from the corresponding elements in another matrix.
ElementwisePowAsRightCore(Matrix<T>, Matrix<T>) Raises two vectors element-wise.
ElementwisePowAsRightCore(Vector<T>, Dimension, Matrix<T>) Raises the elements of a vector, broadcast along the specified dimension to the power from the corresponding element in a matrix.
ElementwisePowCore(Int32, Matrix<T>) Raises the element of a matrix to a constant power.
ElementwisePowCore(T, Matrix<T>) Raises the element of a matrix to a constant power.
ElementwisePowInPlace(Int32) Raises the elements of a matrix in-place to a constant power.
ElementwisePowInPlace(T) Raises the elements of a matrix in-place to a constant power.
ElementwisePowInPlace(Matrix<T>) Raises this matrix in-place element-wise by another matrix.
ElementwisePowInPlace(Matrix<Int32>) Raises this matrix in-place element-wise by another matrix.
ElementwisePowInPlace(Vector<T>, Dimension) Raises this matrix in-place element-wise by a vector broadcast along the specified dimension.
EnsureWritable() Ensures that the element at the specified index in the vector can be written to.
EnsureWritable(Int32, Int32) Ensures that the element at the specified index in the vector can be written to.
EnsureWritable(Int32, Int32, Int32, Int32) Ensures that the element at the specified index in the vector can be written to.
Equals(Matrix<T>) Determines whether the specified Matrix<T> is equal to the current Matrix<T>.
Equals(Object) Determines whether the specified Object is equal to the current Matrix<T>.
(Overrides Object.Equals(Object))
Equals(Object, IEqualityComparer) Returns whether an object is structurally equal to this instance.
EqualToCore(T, Matrix<Boolean>) Checks if the elements of one matrix are equal to a constant.
EqualToCore(Matrix<T>, Matrix<Boolean>) Checks if the elements of one matrix are equal to the corresponding elements of another matrix.
EstimateConditionNumber Calculates an estimate for the condition number of this matrix.
(Overrides LinearOperator<T>.EstimateConditionNumber())
ExpCore Computes the exponential of the elements of a matrix.
ExpInPlace Computes the exponential of the elements of a matrix in-place.
FillMissingValuesInPlace(T) Replaces all missing values in a matrix with the specified value in-place.
FillMissingValuesInPlace(DimensionType, Direction) Replaces all missing values in each row or column in-place with the previous or next non-missing value.
FillMissingValuesInPlace(Vector<T>, DimensionType) Replaces all missing values in each row or column of a matrix in-place with the corresponding value from a vector.
FillMissingValuesInto(T, Matrix<T>) Replaces all missing values in a matrix with the specified value.
FillMissingValuesInto(Vector<T>, DimensionType, Matrix<T>) Replaces all missing values in each row or column with the corresponding value from a vector.
FillMissingValuesInto(DimensionType, Direction, Matrix<T>, Int32) Replaces all missing values in each row or column with the previous or next non-missing value.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FloorCore Computes the largest integer less than or equal to the elements of a matrix.
FloorInPlace Computes the largest integer less than or equal to the elements of a matrix in-place.
FrobeniusNorm Returns the Frobenius norm of this matrix.
Get<R, C> Gets the value with the specified key.
GetCholeskyDecomposition() Returns the Cholesky decomposition of the matrix.
GetCholeskyDecomposition(Boolean) Returns the Cholesky decomposition of the matrix.
GetColumn(Int32) Returns a column vector for this instance that points at the specified column.
GetColumn(Int32, Intent) Returns a column vector for this instance that points at the specified column.
GetColumn(Int32, Range) Returns a column vector for this instance starting at the specified column and row and of the specified length.
GetColumn(Int32, Int32, Int32) Returns a column vector for this instance starting at the specified column and row and of the specified length.
GetColumn(Int32, Int32, Int32, Int32) Returns a column vector for this instance starting at the specified column and row and of the specified length.
GetColumn(Int32, Int32, Int32, Int32, Intent) Returns a column vector for this instance starting at the specified column and row and of the specified length.
GetColumn<C>(C) Gets the column with the specified column key.
GetColumnCore Returns a column vector for this instance starting at the specified column and row and of the specified length.
GetColumnEnumerator Returns an enumerator that allows you to iterate over the columns of this instance.
GetColumns(IEnumerable<Int32>) Returns a new matrix that contains only the columns in the specified sequence.
GetColumns(Int32, Int32) Returns a matrix that contains only the specified columns of the current matrix.
GetColumns<C>(IEnumerable<C>) Returns a new matrix that contains only the columns in the specified sequence.
GetColumnSums Returns the sums of the elements of each column of the matrix.
GetConditionNumber Calculates the condition number of this matrix.
GetDeterminant Calculates the determinant of this matrix.
(Overrides LinearOperator<T>.GetDeterminant())
GetDiagonal() Gets a vector view of the diagonal elements of this instance.
GetDiagonal(Int32) Gets a vector view of the specified diagonal of this instance.
GetDiagonal(Int32, Intent) Gets a vector view of the specified diagonal of this instance.
GetEigenvalueDecomposition() Returns the eigenvalue decomposition for this matrix.
GetEigenvalueDecomposition(Boolean) Returns the eigenvalue decomposition for this matrix.
GetEigenvalueDecomposition(Matrix<T>) Returns the generalized eigenvalue decomposition for this matrix and another matrix.
GetEigenvalueDecomposition(Matrix<T>, Boolean) Returns the generalized eigenvalue decomposition for this matrix and another matrix.
GetExponential Computes the matrix exponential of a square matrix.
GetHashCode() Returns the hash code for this instance.
(Overrides Object.GetHashCode())
GetHashCode(IEqualityComparer) Returns a hash code for this instance.
GetHermitianIndefiniteDecomposition() Returns the Hermitian indefinite (Bunch-Kaufman) decomposition of the matrix.
GetHermitianIndefiniteDecomposition(Boolean) Returns the Hermitian indefinite (Bunch-Kaufman) decomposition of the matrix.
GetInverse() Calculates the inverse matrix..
(Inherited from LinearOperator<T>)
GetInverse(Boolean) Calculates the inverse of this matrix.
(Overrides LinearOperator<T>.GetInverse(Boolean))
GetLQDecomposition() Returns the LQ decomposition of the matrix.
GetLQDecomposition(Boolean) Returns the LQ decomposition of the matrix.
GetLUDecomposition() Returns the LU decomposition of the matrix.
GetLUDecomposition(Boolean) Returns the LU decomposition of the matrix.
GetNearestColumn<C> Gets the column nearest to the specified column key.
GetNearestColumns<C> Returns a new matrix that contains only the columns in the specified sequence.
GetNearestRow<R> Gets the row nearest to the specified row key.
GetNearestRows<R> Returns a new matrix that contains only the rows in the specified sequence.
GetObjectData Populates a SerializationInfo with the values needed to serialize the target object.
(Overrides LinearOperator<T>.GetObjectData(SerializationInfo, StreamingContext))
Obsolete.
GetParallelColumnEnumerator Returns a partitioner that allows you to iterate over the rows of this instance in parallel.
GetParallelRowEnumerator Returns a partitioner that allows you to iterate over the rows of this instance in parallel.
GetPseudoInverse Calculates the Moore-Penrose pseudo-inverse of this matrix.
GetQLDecomposition() Returns the QL decomposition of the matrix.
GetQLDecomposition(Boolean) Returns the QL decomposition of the matrix.
GetQRDecomposition() Returns the QR decomposition of the matrix.
GetQRDecomposition(Boolean) Returns the QR decomposition of the matrix.
GetRow(Int32) Returns a row vector for this instance that points at the specified row.
GetRow(Int32, Intent) Returns a row vector for this instance that points at the specified row.
GetRow(Int32, Range) Returns a row vector for this instance starting at the specified row and column and of the specified length.
GetRow(Int32, Int32, Int32) Returns a row vector for this instance over the specified range.
GetRow(Int32, Int32, Int32, Intent) Returns a row vector for this instance over the specified range.
GetRow(Int32, Int32, Int32, Int32) Returns a row vector for this instance starting at the specified row and column and of the specified length.
GetRow(Int32, Int32, Int32, Int32, Intent) Returns a row vector for this instance starting at the specified row and column and of the specified length.
GetRow<R>(R) Gets the row with the specified row key.
GetRowCore Returns a row vector for this instance starting at the specified row and column and of the specified length.
GetRowEnumerator Returns an enumerator that allows you to iterate over the rows of this instance.
GetRows(Subset) Returns a matrix containing only the rows in the specified subset.
GetRows(Int32, Int32) Returns a matrix that contains only the specified rows of the current matrix.
GetRows<R>(IEnumerable<R>) Returns a new matrix that contains only the rows in the specified sequence.
GetRowSums Returns the sums of the elements of each row of the matrix.
GetRQDecomposition() Returns the RQ decomposition of the matrix.
GetRQDecomposition(Boolean) Returns the RQ decomposition of the matrix.
GetSchurDecomposition() Returns the Schur decomposition for this matrix.
GetSchurDecomposition(Boolean) Returns the Schur decomposition for this matrix.
GetSchurDecomposition(Matrix<T>) Returns the generalized Schur decomposition (QZ decomposition) for this matrix and a secondary matrix.
GetSchurDecomposition(Matrix<T>, Boolean) Returns the generalized Schur decomposition (QZ decomposition) for this matrix and a secondary matrix.
GetSingularValueDecomposition() Returns the singular value decomposition of the matrix.
GetSingularValueDecomposition(Matrix<T>) Returns the generalized singular value decomposition of the matrix and another matrix.
GetSingularValueDecomposition(SingularValueDecompositionFactors) Returns the singular value decomposition of the matrix.
GetSingularValueDecomposition(Matrix<T>, GeneralizedSingularValueDecompositionFactors) Returns the generalized singular value decomposition of the matrix and another matrix.
GetSingularValueDecomposition(SingularValueDecompositionFactors, Boolean) Returns the singular value decomposition of the matrix.
GetSingularValueDecomposition(Matrix<T>, GeneralizedSingularValueDecompositionFactors, Boolean) Returns the generalized singular value decomposition of the matrix and another matrix.
GetSingularValues Gets a vector containing the singular values of the matrix.
GetSubmatrix(Range, Range) Returns a sub-matrix of this instance.
GetSubmatrix(Range, Range, TransposeOperation) Returns a sub-matrix of this instance.
GetSubmatrix(Int32, Int32, Int32, Int32) Returns a sub-matrix of this instance.
GetSubmatrix(Int32, Int32, Int32, Int32, Int32, Int32, TransposeOperation, Intent) Returns a sub-matrix of this instance.
GetSubmatrixCore Returns a sub-matrix of this matrix.
GetSymmetricIndefiniteDecomposition() Returns the symmetric indefinite (Bunch-Kaufman) decomposition of the matrix.
GetSymmetricIndefiniteDecomposition(Boolean) Returns the symmetric indefinite (Bunch-Kaufman) decomposition of the matrix.
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue(Int32, Int32) Gets the matrix element at the specified position.
GetValue<R, C>(R, C) Gets the value at the specified row and column keys.
Preliminary
GetValues Infrastructure.
Preliminary
GreaterThanCore(T, Matrix<Boolean>) Checks if the elements of one matrix are greater than a constant.
GreaterThanCore(Matrix<T>, Matrix<Boolean>) Checks if the elements of one matrix are greater than the corresponding elements of another matrix.
GreaterThanOrEqualToCore(T, Matrix<Boolean>) Checks if the elements of one matrix are greater than or equal to a constant.
GreaterThanOrEqualToCore(Matrix<T>, Matrix<Boolean>) Checks if the elements of one matrix are greater than or equal to the corresponding elements of another matrix.
HypotCore Computes the square root of the sum of the squared corresponding elements of this matrix and another matrix.
InfinityNorm Returns the infinity norm of this matrix.
IsElementWritable Returns a value that indicates whether the value of the element at the specified row and column can be changed.
IsMissing Returns whether the value at the specified index is missing.
IsSingular Gets whether this matrix is singular.
(Overrides LinearOperator<T>.IsSingular())
LeastSquaresSolve(Matrix<T>) Solves the system of linear equations for the specified right-hand side matrix in the least squares sense.
(Inherited from LinearOperator<T>)
LeastSquaresSolve(Vector<T>) Solves the system of linear equations for the specified right-hand side vector.
(Inherited from LinearOperator<T>)
LeastSquaresSolve(DenseMatrix<T>, Boolean) Solves the system of linear equations for the specified right-hand side dense matrix in the least squares sense and optionally overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>)
LeastSquaresSolve(DenseVector<T>, Boolean) Solves the system of linear equations for the specified right-hand side dense vector in the least squares sense and optionally overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>)
LeastSquaresSolveInto(Matrix<T>, Matrix<T>) Solves a system of equations defined by the matrix and multiple right-hand sides in the least squares sense.
(Overrides LinearOperator<T>.LeastSquaresSolveInto(Matrix<T>, Matrix<T>))
LeastSquaresSolveInto(Vector<T>, Vector<T>) Solves a system of equations defined by the matrix and the specified right-hand side in the least squares sense.
(Overrides LinearOperator<T>.LeastSquaresSolveInto(Vector<T>, Vector<T>))
LessThanCore(T, Matrix<Boolean>) Checks if the elements of one matrix are less than a constant.
LessThanCore(Matrix<T>, Matrix<Boolean>) Checks if the elements of one matrix are greater than the corresponding elements of another matrix.
LessThanOrEqualToCore(T, Matrix<Boolean>) Checks if the elements of one matrix are less than or equal to a constant.
LessThanOrEqualToCore(Matrix<T>, Matrix<Boolean>) Checks if the elements of one matrix are greater than or equal to the corresponding elements of another matrix.
LessThanOrEqualToInto Checks if the elements of one matrix are greater than or equal to the corresponding elements of another matrix.
Log10Core Computes the base 10 logarithm of the elements of a matrix.
Log10InPlace Computes the logarithm of the elements of a matrix in-place.
LogCore(Matrix<T>) Computes the logarithm of the elements of a matrix.
LogCore(T, Matrix<T>) Computes the logarithm of the elements of a matrix.
LogInPlace() Computes the logarithm of the elements of a matrix in-place.
LogInPlace(T) Computes the logarithm of the elements of a matrix in-place.
MapAsFirstCore<U, V>(Func<T, U, V>, Matrix<U>, Matrix<V>) Applies a function to the corresponding elements of two matrices.
MapAsFirstCore<U, V>(Func<T, U, V>, Vector<U>, Dimension, Matrix<V>) Applies a function to the corresponding elements of a matrix and a vector broadcast along the specified dimension.
MapAsSecondCore<U, V>(Func<U, T, V>, Matrix<U>, Matrix<V>) Applies a function to the corresponding elements of two matrices.
MapAsSecondCore<U, V>(Func<U, T, V>, Vector<U>, Dimension, Matrix<V>) Applies a function to the corresponding elements of a matrix and a vector broadcast along the specified dimension.
MapColumns<U> Applies a vector function to each column in a matrix and returns the result as a matrix.
MapColumnsInPlace Applies a function to each column in a matrix in-place.
MapColumnsInto<U> Applies a vector function to each column in a matrix and returns the result as a matrix.
MapInPlace(Func<T, T>) Applies a function in-place to the elements of a matrix.
MapInPlace<U>(Func<U, T, T>, Matrix<U>) Applies a function in-place to the elements of a matrix as the second argument.
MapInPlace<U>(Func<T, U, T>, Matrix<U>) Applies a function to the elements of a matrix.
MapInto<U> Applies a function to the elements of a matrix.
MapRows<U> Applies a vector function to each row in a matrix and returns the result as a matrix.
MapRowsInPlace Applies a function to each column in a matrix and returns the result as a vector.
MapRowsInto<U> Applies a vector function to each row in a matrix and returns the result as a matrix.
Max Returns the value of the largest element in this matrix.
MaxCore(T, Matrix<T>) Returns a matrix whose elements are the maximum of the components of a matrix and a real number.
MaxCore(Matrix<T>, Matrix<T>) Returns a matrix whose elements are the maximums of the components of two vectors.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Min Returns the value of the smallest element in this matrix.
MinCore(T, Matrix<T>) Returns a matrix whose elements are the minimum of the components of a matrix and a real number.
MinCore(Matrix<T>, Matrix<T>) Returns a matrix whose elements are the minimums of the components of two vectors.
Multiply(Matrix<T>)Applies the linear operator to a matrix.
(Inherited from LinearOperator<T>)
Multiply(Vector<T>)Applies the linear operator to a vector.
(Inherited from LinearOperator<T>)
Multiply(Matrix<T>, Vector<T>) Multiplies a Vector<T> by a Matrix<T>.
MultiplyAndAddAsLeftFactorCore(T, Vector<T>, T, TransposeOperation, Vector<T>, Vector<T>) Multiplies the matrix with a vector, adds the scaled result to another scaled vector, and returns the result.
(Overrides LinearOperator<T>.MultiplyAndAddAsLeftFactorCore(T, Vector<T>, T, TransposeOperation, Vector<T>, Vector<T>))
MultiplyAndAddAsLeftFactorCore(T, Matrix<T>, T, TransposeOperation, Matrix<T>, TransposeOperation, Matrix<T>) Adds the scaled product of two matrices to another matrix.
MultiplyAndAddAsRightFactorCore Adds the scaled product of two matrices to another matrix.
MultiplyAndAddInto Adds the scaled product of two matrices to another matrix.
MultiplyAsLeftCore(TransposeOperation, Matrix<T>, Matrix<T>) Multiplies a matrix by the linear operator and returns the result.
(Inherited from LinearOperator<T>)
MultiplyAsLeftCore(TransposeOperation, Vector<T>, Vector<T>) Multiplies a vector by the linear operator and returns the result.
(Overrides LinearOperator<T>.MultiplyAsLeftCore(TransposeOperation, Vector<T>, Vector<T>))
MultiplyAsLeftCore(T, TransposeOperation, Matrix<T>, TransposeOperation, Matrix<T>) Computes the scaled product of two matrices.
MultiplyAsRightCore Computes the scaled product of two matrices.
MultiplyCore Multiplies a matrix by a scalar.
MultiplyInPlace Multiplies a matrix in-place by the specified factor.
MultiplyTranspose(Matrix<T>)Applies the transpose of the linear operator to a matrix.
(Inherited from LinearOperator<T>)
MultiplyTranspose(Vector<T>)Applies the (conjugate) transpose of the linear operator to a vector.
(Inherited from LinearOperator<T>)
NegateInPlace Negates a matrix in-place.
NormInternal Calculates a matrix norm.
NotEqualToCore(T, Matrix<Boolean>) Checks if the elements of one matrix are not equal to a constant.
NotEqualToCore(Matrix<T>, Matrix<Boolean>) Checks if the elements of one matrix are not equal to the corresponding elements of another matrix.
OneNorm Returns the 1-norm of this matrix.
PermuteColumnsInPlace Permutes the columns of the matrix using the specified Permutation.
PermuteRowsAndColumnsInPlace(Permutation) Permutes the rows and columns of the matrix using the specified Permutation.
PermuteRowsAndColumnsInPlace(Permutation, Permutation) Permutes the rows and columns of the matrix using the specified row and column Permutation.
PermuteRowsInPlace Permutes the rows of the matrix using the specified Permutation.
Protect Returns a read-only copy of the matrix.
ProtectInPlace Protects the matrix from changes.
Rank() Returns the numerical rank of a matrix.
(Inherited from LinearOperator<T>)
Rank(T) Returns the numerical rank of a matrix using the specified tolerance.
(Overrides LinearOperator<T>.Rank(T))
ReciprocalCore Computes the inverses (reciprocals) of the elements of a matrix.
Reduce<U> Applies a function to each row or column in a matrix and returns the result as a vector.
ReduceColumns<U> Applies a function to each column in a matrix and returns the result as a vector.
ReduceColumnsInto<U> Applies a function to each column in a matrix and returns the result as a vector.
ReduceRows<U> Applies a function to each row in a matrix and returns the result as a vector.
ReduceRowsInto<U> Applies a function to each row in a matrix and returns the result as a vector.
RemoveWithMissingValues Returns a new matrix that has the rows or columns that contain missing values removed.
Reshape Returns a matrix that contains the same elements listed columnwise.
ReshapeAsVector Returns a vector that contains the columnwise matrix elements.
ScaleColumnsCore Scales the columns of the matrix by the values specified by a vector.
ScaleColumnsInPlace Scales the columns of the matrix by the values specified by a vector.
ScaleRowsCore Scales the rows of the matrix by the values specified by a vector.
ScaleRowsInPlace Scales the rows of the matrix by the values specified by a vector.
SetToZero Sets all elements of the matrix to zero.
SetValue(T) Sets all elements of the matrix to the specified value.
SetValue(T, Int32, Int32) Sets the matrix element at the specified position to the specified value.
SetValue<R, C>(T, R, C) Sets the value at the specified row and column key value.
Preliminary
ShallowCopy Makes a shallow copy of this matrix.
SinCore Computes the sine of the elements of a matrix.
SinhCore Computes the hyperbolic sine of the elements of a matrix.
SinhInPlace Computes the hyperbolic sine of the elements of a matrix in-place.
SinInPlace Computes the sine of the elements of a matrix in-place.
Solve(Matrix<T>) Solves the system of linear equations for the specified right-hand side matrix.
(Inherited from LinearOperator<T>)
Solve(Vector<T>) Solves the system of linear equations for the specified right-hand side vector.
(Inherited from LinearOperator<T>)
Solve(DenseMatrix<T>, Boolean) Solves the system of linear equations for the specified right-hand side dense matrix and optionally overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>)
Solve(DenseVector<T>, Boolean) Solves the system of linear equations for the specified right-hand side dense vector and optionally overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>)
SolveInto(Matrix<T>, Matrix<T>) Solves a system of equations defined by the matrix and multiple right-hand sides.
(Inherited from LinearOperator<T>)
SolveInto(Vector<T>, Vector<T>) Solves a system of equations defined by the matrix and the specified right-hand side.
(Inherited from LinearOperator<T>)
SolveInto(TransposeOperation, Matrix<T>, Matrix<T>) Solves a system of equations defined by the matrix and multiple right-hand sides.
(Overrides LinearOperator<T>.SolveInto(TransposeOperation, Matrix<T>, Matrix<T>))
SolveInto(TransposeOperation, Vector<T>, Vector<T>) Solves a system of equations defined by the matrix and the specified right-hand side.
(Overrides LinearOperator<T>.SolveInto(TransposeOperation, Vector<T>, Vector<T>))
SolveTranspose(Matrix<T>) Solves the transposed system of linear equations for the specified right-hand side matrix.
(Inherited from LinearOperator<T>)
SolveTranspose(Vector<T>) Solves the system of linear equations for the specified right-hand side vector.
(Inherited from LinearOperator<T>)
SolveTranspose(DenseMatrix<T>, Boolean) Solves the transposed system of linear equations for the specified right-hand side dense matrix and optionally overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>)
SolveTranspose(DenseVector<T>, Boolean) Solves the transposed system of linear equations for the specified right-hand side dense vector and optionally overwrites the right-hand side with the solution.
(Inherited from LinearOperator<T>)
SolveTransposeInto(Matrix<T>, Matrix<T>) Solves a system of equations defined by the matrix and multiple right-hand sides.
(Inherited from LinearOperator<T>)
SolveTransposeInto(Vector<T>, Vector<T>) Solves a system of equations defined by the matrix and the specified right-hand side.
(Inherited from LinearOperator<T>)
SortColumns() Sorts each column of the matrix in ascending order.
SortColumns(SortOrder) Sorts each column of the matrix in the specified order.
SortRows() Sorts each row of the matrix in ascending order.
SortRows(SortOrder) Sorts each row of the matrix in the specified order.
SqrtCore Computes the square root of the elements of a matrix.
SqrtInPlace Computes the square root of the elements of a matrix in-place.
SubtractAsLeftCore Subtracts a scalar from a matrix.
SubtractAsRightCore Subtracts a matrix from a scalar.
SubtractInPlace(T) Subtracts a scalar value from the elements of this matrix in-place.
SubtractInPlace(Matrix<T>) Subtracts another matrix from this matrix in-place.
SubtractInPlace(Vector<T>, Dimension) Subtracts a vector broadcast along the specified dimension from this matrix in-place.
Sum Returns the sum of the elements of the matrix.
Summarize() Returns a summary of the contents of the matrix using the default summary options.
Summarize(SummaryOptions) Returns a summary of the contents of the matrix using the specified options.
SwapColumns Swaps the columns with the specified indices.
SwapRows Swaps the rows with the specified indices.
TanCore Computes the tangent of the elements of a matrix.
TanhCore Computes the hyperbolic tangent of the elements of a matrix.
TanhInPlace Computes the hyperbolic tangent of the elements of a matrix in-place.
TanInPlace Computes the tangent of the elements of a matrix in-place.
ToArray() Gets the elements of the vector.
ToArray(MatrixElementOrder) Gets the elements of the matrix.
ToArray2D Gets the elements of the matrix.
ToDataFrame<R, C>() Converts a matrix to a data frame with the same row and column indexes.
ToDataFrame<R, C>(Index<R>, Index<C>) Converts a matrix to a data frame with the same row and column indexes.
ToDenseMatrix Makes a copy of this instance and returns it as a dense matrix.
ToHermitianMatrix Returns a new HermitianMatrix<T> extracted from a part of the matrix.
ToMemory2D Gets the elements of the matrix.
ToString()Returns a string that represents the current object.
(Overrides Object.ToString())
ToString(String) Returns a String representation of this Matrix<T>.
ToString(String, IFormatProvider) Returns a String representation of this Matrix<T>.
ToSymmetricMatrix Returns a new SymmetricMatrix<T> extracted from a part of the matrix.
Trace Gets the sum of the diagonal elements of this matrix.
Transpose Returns the transpose of this instance.
TryEnsureWritable() Ensures that the element at the specified index in the vector can be written to.
TryEnsureWritable(Int32, Int32) Ensures that the element at the specified index in the vector can be written to.
TryEnsureWritable(Int32, Int32, Int32, Int32) Ensures that the element at the specified index in the vector can be written to.
TwoNorm Returns the two-norm of this matrix.
UnscaleColumnsCore Unscales the columns of the matrix by the reciprocal of the values specified by a vector.
UnscaleColumnsInPlace Unscales the columns of the matrix by the reciprocal of the values specified by a vector.
UnscaleRowsCore Unscales the rows of the matrix by the reciprocal of the values specified by a vector.
UnscaleRowsInPlace Unscales the rows of the matrix by the reciprocal of the values specified by a vector.

Extension Methods

Abs<T> Computes the absolute value of the elements of a matrix.
(Defined by Matrix)
Acos<T> Computes the inverse cosine of the elements of a matrix.
(Defined by Matrix)
Acosh<T> Computes the inverse hyperbolic cosine of the elements of a matrix.
(Defined by Matrix)
AddScaledProduct<T> Adds the scaled product of two matrices to another matrix.
(Defined by Matrix)
AddScaledProduct<T> Adds the scaled product of two matrices to another matrix.
(Defined by Matrix)
Asin<T> Computes the inverse sine of the elements of a matrix.
(Defined by Matrix)
Asinh<T> Computes the inverse hyperbolic sine of the elements of a matrix.
(Defined by Matrix)
Atan<T> Computes the inverse tangent of the elements of a matrix.
(Defined by Matrix)
Atanh<T> Computes the inverse hyperbolic tangent of the elements of a matrix.
(Defined by Matrix)
Ceiling<T> Computes the smallest integer greater than or equal to the elements of a matrix.
(Defined by Matrix)
ColumnMeans<T> Returns a vector containing the means of the columns of a matrix.
(Defined by Stats)
Conjugate<T> Returns the conjugate of a matrix.
(Defined by Matrix)
ConjugateInto<T> Conjugates the elements of a matrix.
(Defined by Matrix)
Cos<T> Computes the cosine of the elements of a matrix.
(Defined by Matrix)
Cosh<T> Computes the hyperbolic cosine of the elements of a matrix.
(Defined by Matrix)
CovarianceMatrix<T> Returns the covariance matrix for the columns in a matrix.
(Defined by Stats)
Exp<T> Computes the exponential of the elements of a matrix.
(Defined by Matrix)
Floor<T> Computes the largest integer less than or equal to the elements of a matrix.
(Defined by Matrix)
Group<Vector<T>> Returns a grouping by the unique elements in a sequence.
(Defined by Grouping)
Group<Vector<T>> Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality.
(Defined by Grouping)
Log<T> Returns a matrix whose elements are the logarithms of the elements of another matrix.
(Defined by Matrix)
Log10<T> Returns a matrix whose elements are the base 10 logarithms of the elements of another matrix.
(Defined by Matrix)
MakeDistributed<T> Returns a distributed version of a matrix.
(Defined by DistributedExtensions)
Max<T> Returns a matrix whose elements are the maximums of the components of two vectors.
(Defined by Matrix)
Max<T> Returns a matrix whose elements are the maximum of the components of a matrix and a real number.
(Defined by Matrix)
MaxInto<T> Returns a matrix whose elements are the maximums of the components of two vectors.
(Defined by Matrix)
MaxInto<T> Returns a matrix whose elements are the maximum of the components of a matrix and a real number.
(Defined by Matrix)
Min<T> Returns a matrix whose elements are the minimums of the components of two vectors.
(Defined by Matrix)
Min<T> Returns a matrix whose elements are the minimum of the components of a matrix and a real number.
(Defined by Matrix)
MinInto<T> Returns a matrix whose elements are the minimums of the components of two vectors.
(Defined by Matrix)
MinInto<T> Returns a matrix whose elements are the minimum of the components of a matrix and a real number.
(Defined by Matrix)
Reciprocal<T> Returns a matrix whose elements are the inverses (reciprocals) of the components of another matrix.
(Defined by Matrix)
ReciprocalInto<T> Computes the inverses (reciprocals) of the elements of a matrix.
(Defined by Matrix)
RowMeans<T> Returns a vector containing the means of the rows of a matrix.
(Defined by Stats)
Sin<T> Computes the sine of the elements of a matrix.
(Defined by Matrix)
Sinh<T> Computes the hyperbolic sine of the elements of a matrix.
(Defined by Matrix)
Sqrt<T> Computes the square root of the elements of a matrix.
(Defined by Matrix)
StandardDeviation<Vector<T>> Returns the standard deviation of the elements of a sequence.
(Defined by Stats)
Sum<Vector<T>> Computes the sum of the sequence of values.
(Defined by ArrayMath)
Sum<Vector<T>, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath)
Sum<Vector<T>, T2, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each pair of elements of the input sequences.
(Defined by ArrayMath)
Tan<T> Computes the tangent of the elements of a matrix.
(Defined by Matrix)
Tanh<T> Computes the hyperbolic tangent of the elements of a matrix.
(Defined by Matrix)
ToJson<T> Returns a string containing a matrix in JSON format.
(Defined by JsonFile)

See Also