Click or drag to resize

MatrixGetSubMatrix Method (Int32, Int32, Int32, Int32)

Creates a matrix that contains the values from the requested sub-matrix.

Namespace:  FinMath.LinearAlgebra
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public Matrix GetSubMatrix(
	int rowOffset,
	int rows,
	int colOffset,
	int cols
)

Parameters

rowOffset
Type: SystemInt32
The row to start copying from.
rows
Type: SystemInt32
The number of rows to copy.
colOffset
Type: SystemInt32
The column to start copying from.
cols
Type: SystemInt32
The number of columns to copy.

Return Value

Type: Matrix
The requested submatrix.
See Also