Mapack |
public class MapackMatrix : IMapackMatrix, IMatrix<double>, IROMatrix<double>
The MapackMatrix type exposes the following members.
Name | Description | |
---|---|---|
MapackMatrix(Double) | Constructs a matrix from the given array. | |
MapackMatrix(Int32, Int32) | Constructs an empty matrix of the given size. | |
MapackMatrix(Int32, Int32, Double) | Constructs a matrix of the given size and assigns a given value to all diagonal elements. |
Name | Description | |
---|---|---|
ColumnCount | Returns the number of columns. | |
Determinant | Determinant if matrix is square. | |
FrobeniusNorm | Returns the Frobenius Norm for the matrix. | |
InfinityNorm | Returns the Infinity Norm for the matrix. | |
Inverse | Inverse of the matrix if matrix is square, pseudoinverse otherwise. | |
IsSquare | Return if the matrix is a square matrix. | |
IsSymmetric | Returns if the matrix is symmetric. | |
Item | Access the value at the given location. | |
Norm1 | Returns the One Norm for the matrix. | |
RowCount | Returns the number of columns. | |
Trace | Returns the trace of the matrix. |
Name | Description | |
---|---|---|
Addition | Matrix addition. | |
Clone | Creates a copy of the matrix. | |
Diagonal | Returns a diagonal matrix of the given size. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetCholeskyDecomposition | Returns the cholesky decomposition for this matrix. | |
GetEigenvalueDecomposition | Returns the eigenvalue decomposition for this matrix. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetLuDecomposition | Returns the LU decomposition for this matrix. | |
GetQrDecomposition | Returns the QR decomposition for this matrix. | |
GetSingularValueDecomposition | Returns the singular value decomposition for this matrix. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Multiply(Double) | Matrix-scalar multiplication. | |
Multiply(IMapackMatrix) | Matrix-matrix multiplication. | |
Random | Returns a matrix filled with random values. | |
Solve | Returns the LHS solution vetor if the matrix is square or the least squares solution otherwise. | |
Submatrix(Int32, Int32) | Returns a sub matrix extracted from the current matrix. | |
Submatrix(Int32, Int32, Int32) | Returns a sub matrix extracted from the current matrix. | |
Submatrix(Int32, Int32, Int32) | Returns a sub matrix extracted from the current matrix. | |
Submatrix(Int32, Int32, Int32, Int32) | Returns a sub matrix extracted from the current matrix. | |
Subtraction | Matrix subtraction. | |
ToString | Returns the matrix in a textual form. (Overrides ObjectToString) | |
Transpose | Returns the transposed matrix. | |
UnaryMinus | Unary minus. |
Name | Description | |
---|---|---|
Any |
Determines whether any element of the provided matrix a fulfills the given predicate.
(Defined by MatrixMath) | |
CopyColumn |
Gets the column of a matrix copied into a vector.
(Defined by MatrixMath) | |
CopyColumn |
Gets the column of a matrix copied into a vector.
(Defined by MatrixMath) | |
CopyColumnDouble |
Copies one column of a source matrix into a destination matrix to a given row and column offset.
(Defined by MatrixMath) | |
CopyRow |
Gets the row of a matrix copied into a vector.
(Defined by MatrixMath) | |
CopyRow |
Gets the row of a matrix copied into a vector.
(Defined by MatrixMath) | |
MapIndexedDouble, T1 | (Defined by MatrixMath) | |
Max |
Get the maximum value of all elements of the specified matrix a.
(Defined by MatrixMath) | |
Min |
Get the minimum value of all elements of the specified matrix a.
(Defined by MatrixMath) | |
Norm | (Defined by MatrixMath) | |
ReplaceNaNAndInfiniteElementsWith |
Replaces all matrix elements that are NaN (Not a Number) or infinite with the value of replacementValue.
(Defined by MatrixMath) | |
ReplaceNaNElementsWith |
Replaces all matrix elements that are NaN (not a number) with the value of replacementValue.
(Defined by MatrixMath) | |
SetColumn |
Gets the column of a matrix copied into a vector.
(Defined by MatrixMath) | |
SetColumn |
Gets the column of a matrix copied into a vector.
(Defined by MatrixMath) | |
SetMatrixElements |
Set all matrix elements to the provided value scalar.
(Defined by MatrixMath) | |
SetMatrixElements |
Sets the matrix elements to the value provided by a setter function Setter.
(Defined by MatrixMath) | |
SetRow |
Gets the row of a matrix copied into a vector.
(Defined by MatrixMath) | |
SetRow |
Gets the row of a matrix copied into a vector.
(Defined by MatrixMath) | |
SubMatrixT |
Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath) | |
SubMatrixT |
Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath) | |
SubMatrixT |
Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath) | |
SubMatrixT |
Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath) | |
SubMatrixT |
Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath) | |
SubMatrixT |
Gets a new submatrix, i.e. a matrix containing selected elements of the original matrix a.
(Defined by MatrixMath) | |
ToZeroMean |
Calculates the mean value of all matrix elements and then subtracts the mean value from each matrix element, so that the mean value of the resulting matrix is zero.
(Defined by MatrixMath) | |
ToZeroMean |
Calculates the mean value of all matrix elements and then subtracts the mean value from each matrix element, so that the mean value of the resulting matrix is zero.
(Defined by MatrixMath) | |
Trace |
Get the trace of square matrix a, i.e. the sum of diagonal elements.
(Defined by MatrixMath) | |
ZeroMatrix |
Set all elements in the matrix to 0 (zero)
(Defined by MatrixMath) |