MatrixTSetSubMatrix(Int32, Int32, MatrixT) Method |
Copies the values of a given matrix into a region in this matrix.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public void SetSubMatrix(
int rowIndex,
int columnIndex,
Matrix<T> subMatrix
)
Parameters
- rowIndex Int32
- The row to start copying to.
- columnIndex Int32
- The column to start copying to.
- subMatrix MatrixT
- The sub-matrix to copy from.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | If: - rowIndex is
negative, or greater than or equal to the number of rows.
- columnIndex is negative, or greater than or equal to the number
of columns.
- (columnIndex + columnLength) >= Columns
- (rowIndex + rowLength) >= Rows
|
See Also