Returns the k by k upper left corner of the matrix. The matrix and the submatrix share the same data.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public DoubleComplexLowerTriMatrix LeadingSubmatrix(
	int k
)
Visual Basic (Declaration)
Public Function LeadingSubmatrix ( _
	k As Integer _
) As DoubleComplexLowerTriMatrix
Visual C++
public:
DoubleComplexLowerTriMatrix^ LeadingSubmatrix(
	int k
)

Parameters

k
Type: System..::.Int32
The submatrix will have k rows and k columns.

Return Value

The k by k upper left corner of the matrix. The matrix and the submatrix share the same data.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.IndexOutOfRangeExceptionThrown when trying to create a leading submatrix larger than this matrix.

See Also