Returns the k by k upper left corner of the matrix. The
matrix and the submatrix share the same data.
Namespace:
CenterSpace.NMath.MatrixAssembly: 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
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.IndexOutOfRangeException | Thrown when trying to create a leading submatrix larger than this matrix. |