Dense Matrix<T>.Get Lower Triangular View Method
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
Overload List
| Get | Returns a TriangularMatrix<T> view over the lower triangular portion of this matrix. |
| Get | Returns a TriangularMatrix<T> view over the lower triangular portion of this matrix. |
| Get | Returns a TriangularMatrix<T> view over the lower triangular portion of this matrix. |
GetLowerTriangularView(MatrixDiagonal)
public TriangularMatrix<T> GetLowerTriangularView(
MatrixDiagonal unitDiagonal = MatrixDiagonal.NonUnitDiagonal
)Parameters
- unitDiagonal MatrixDiagonal (Optional)
- A MatrixDiagonal value that specifies whether the diagonal elements are read from this matrix or treated as implied ones.
Return Value
TriangularMatrix<T>A TriangularMatrix<T> view whose stored elements are backed by the lower triangular portion of this matrix.
Remarks
The returned matrix shares storage with this matrix. Changes made through either matrix are visible through the other for elements that are part of the triangular view.
Exceptions
| Argument | rowCount is less than zero or greater than or equal to the number of rows in the matrix. -or- columnCount is less than zero or greater than or equal to the number of columns in the matrix. |
GetLowerTriangularView(Int32, Int32, MatrixDiagonal)
public TriangularMatrix<T> GetLowerTriangularView(
int rowCount,
int columnCount,
MatrixDiagonal unitDiagonal = MatrixDiagonal.NonUnitDiagonal
)Parameters
- rowCount Int32
- The number of rows in the TriangularMatrix<T>.
- columnCount Int32
- The number of columns in the TriangularMatrix<T>.
- unitDiagonal MatrixDiagonal (Optional)
- A MatrixDiagonal value that specifies whether the diagonal elements are read from this matrix or treated as implied ones.
Return Value
TriangularMatrix<T>A TriangularMatrix<T> view whose stored elements are backed by the lower triangular portion of this matrix.
Remarks
The returned matrix shares storage with this matrix. Changes made through either matrix are visible through the other for elements that are part of the triangular view.
Exceptions
| Argument | rowCount is less than zero or greater than or equal to the number of rows in the matrix. -or- columnCount is less than zero or greater than or equal to the number of columns in the matrix. |
GetLowerTriangularView(Int32, Int32, MatrixDiagonal, Int32, Int32)
public abstract TriangularMatrix<T> GetLowerTriangularView(
int rowCount,
int columnCount,
MatrixDiagonal unitDiagonal = MatrixDiagonal.NonUnitDiagonal,
int startRow = 0,
int startColumn = 0
)Parameters
- rowCount Int32
- The number of rows in the TriangularMatrix<T>.
- columnCount Int32
- The number of columns in the TriangularMatrix<T>.
- unitDiagonal MatrixDiagonal (Optional)
- A MatrixDiagonal value that specifies whether the diagonal elements are read from this matrix or treated as implied ones.
- startRow Int32 (Optional)
- The row in the matrix of the first element of the new matrix.
- startColumn Int32 (Optional)
- The column in the matrix of the first element of the new matrix.
Return Value
TriangularMatrix<T>A TriangularMatrix<T> view whose stored elements are backed by the lower triangular portion of this matrix.
Remarks
The returned matrix shares storage with this matrix. Changes made through either matrix are visible through the other for elements that are part of the triangular view.
Exceptions
| Argument | rowCount is less than zero or greater than or equal to the number of rows in the matrix. -or- columnCount is less than zero or greater than or equal to the number of columns in the matrix. |