Click or drag to resize
DigitalRuneMatrixDGetSubmatrix Method (Int32, Int32, Int32, Int32)
Gets a submatrix of this matrix.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public MatrixD GetSubmatrix(
	int startRow,
	int endRow,
	int startColumn,
	int endColumn
)

Parameters

startRow
Type: SystemInt32
The index of the start row.
endRow
Type: SystemInt32
The index of the end row (included in the submatrix).
startColumn
Type: SystemInt32
The index of the start column.
endColumn
Type: SystemInt32
The index of the end column (included in the submatrix).

Return Value

Type: MatrixD
The extracted submatrix.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionstartRow is greater than endRow.
ArgumentOutOfRangeExceptionstartColumn is greater than endColumn.
ArgumentOutOfRangeExceptionstartRow, endRow, startColumn, or endColumn is out of range.
See Also