Constant Matrix<T>.Get Structured Core Method
Returns a structured view or copy of this matrix with the specified structure and size.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
C#
A rowCount×columnCountMatrix<T> with the specified structure.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.5.0
protected override Matrix<T> GetStructuredCore(
int rowCount,
int columnCount,
MatrixStructure structure,
MatrixTriangle triangle,
MatrixDiagonal diagonal,
Intent intent
)Parameters
- rowCount Int32
- The number of rows of the result.
- columnCount Int32
- The number of columns of the result.
- structure MatrixStructure
- The structure of the result.
- triangle MatrixTriangle
- For Symmetric, Hermitian, and SkewSymmetric structures, specifies which triangle of the source matrix holds the authoritative values.
- diagonal MatrixDiagonal
- Specifies whether the diagonal is unit or non-unit. Only meaningful for triangular structures.
- intent Intent
- An Intent value that specifies whether a view (ReadOnlyView or WritableView) or an independent copy (ReadOnlyCopy or WritableCopy) is requested.
Return Value
Matrix<T>A rowCount×columnCountMatrix<T> with the specified structure.