Matrix.Get Row Space Method
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
Overload List
Get | Computes an orthogonal basis for the row space of a matrix. |
Get | Computes an orthogonal basis for the row space of a matrix. |
GetRowSpace<T>(Matrix<T>)
public static Matrix<T> GetRowSpace<T>(
this Matrix<T> matrix
)
Parameters
- matrix Matrix<T>
- The matrix whose row space is to be computed.
Type Parameters
- T
- The type of the elements of the matrix.
Return Value
Matrix<T>A matrix representing the row space of the input matrix.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Matrix<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
The row space of a matrix is the set of vectors that are linear combinations of the rows of the matrix. It also is the column space of the transpose of the matrix.
This method returns an orthogonal (unitary) matrix whose rows form a basis for this set.
The row space is computed using the singular value decomposition of the matrix. The rank of the matrix is determined by counting the number of singular values whose absolute value is greater than the tolerance. The tolerance is equal to the product of the machine precision, the largest dimension of the matrix, and the spectral norm (largest singular value) of the matrix.
GetRowSpace<T>(Matrix<T>, T)
public static Matrix<T> GetRowSpace<T>(
this Matrix<T> matrix,
T tolerance
)
Parameters
- matrix Matrix<T>
- The matrix whose row space is to be computed.
- tolerance T
- The tolerance used to determine the rank of the matrix.
Type Parameters
- T
- The type of the elements of the matrix.
Return Value
Matrix<T>A matrix representing the row space of the input matrix.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Matrix<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Remarks
The row space of a matrix is the set of vectors that are linear combinations of the rows of the matrix. It also is the column space of the transpose of the matrix.
This method returns an orthogonal (unitary) matrix whose rows form a basis for this set.
The row space is computed using the singular value decomposition of the matrix. The rank of the matrix is determined by counting the number of singular values whose absolute value is greater than the tolerance.
If tolerance is negative, the default tolerance is used. The default tolerance is equal to the product of the machine precision, the largest dimension of the matrix, and the spectral norm (largest singular value) of the matrix.