| DoubleSymmetricMatrixLeadingSubmatrix Method |
Returns the k by k upper left corner of the matrix. The
matrix and the submatrix share the same data.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DoubleSymmetricMatrix LeadingSubmatrix(
int k
)
Public Function LeadingSubmatrix (
k As Integer
) As DoubleSymmetricMatrix
public:
DoubleSymmetricMatrix^ LeadingSubmatrix(
int k
)
member LeadingSubmatrix :
k : int -> DoubleSymmetricMatrix
Parameters
- k Int32
- The submatrix will have k rows and k columns.
Return Value
DoubleSymmetricMatrixThe
k by
k upper left corner of the matrix. The
matrix and the submatrix share the same data.
Exceptions Exception | Condition |
---|
IndexOutOfRangeException | Thrown when trying to create
a leading submatrix that's larger than this matrix.
|
See Also