Click or drag to resize
DigitalRuneMatrixFGetSubmatrix 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 MatrixF 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: MatrixF
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