Click or drag to resize

MatrixMathSubmatrix(IROMatrixDouble, IMatrixDouble, Int32, Int32) Method

Gets a submatrix out of the source matrix a. The dimensions of the submatrix are given by the provided matrix dest.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void Submatrix(
	IROMatrix<double> src,
	IMatrix<double> dest,
	int rowoffset,
	int coloffset
)

Parameters

src  IROMatrixDouble
The source matrix.
dest  IMatrixDouble
The destination matrix where to store the submatrix. It's dimensions are the dimensions of the submatrix.
rowoffset  Int32
The row offset = vertical origin of the submatrix in the source matrix.
coloffset  Int32
The column offset = horizontal origin of the submatrix in the source matrix.
See Also