Click or drag to resize

MatrixMathToSubMatrixT Method

Wraps a submatrix part, so that this part can be used as a matrix in operations.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IMatrix<T> ToSubMatrix<T>(
	IMatrix<T> matrix,
	int rowoffset,
	int columnoffset,
	int rows,
	int columns
)
where T : struct, new()

Parameters

matrix  IMatrixT
The matrix from which a submatrix part should be wrapped.
rowoffset  Int32
Starting row of the submatrix.
columnoffset  Int32
Starting column of the submatrix.
rows  Int32
Number of rows of the submatrix.
columns  Int32
Number of columns of the submatrix.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearAlgebra.MatrixMath.ToSubMatrix``1(Altaxo.Calc.LinearAlgebra.IMatrix{``0},System.Int32,System.Int32,System.Int32,System.Int32)"]

Return Value

IMatrixT
A wrapper matrix that represents the submatrix part of the matrix.
See Also