Click or drag to resize
DigitalRuneMatrixDSetSubmatrix Method
Sets 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 void SetSubmatrix(
	int startRow,
	int startColumn,
	MatrixD submatrix
)

Parameters

startRow
Type: SystemInt32
The index of the start row in this matrix.
startColumn
Type: SystemInt32
The index of the start column in this matrix.
submatrix
Type: DigitalRune.Mathematics.AlgebraMatrixD
The submatrix.
Exceptions
ExceptionCondition
IndexOutOfRangeException The startRow, startColumn or the dimensions of the submatrix are to high, so that the submatrix does not fit into this matrix.
ArgumentOutOfRangeExceptionstartRow or startColumn out of range.
ArgumentNullExceptionsubmatrix is .
Remarks
The elements of the submatrix are copied into this matrix, beginning at the position [startRow, startColumn].
See Also