Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace > Matrix Class > Methods > Matrix.GetSubmatrix Method


Extreme Optimization Mathematics Library for .NET

Matrix.GetSubmatrix Method (Range, Range, TransposeOperation)

Gets a Matrix that is a submatrix of this Matrix.

[Visual Basic]
Overloads Public Function GetSubmatrix( _
   ByVal rowRange As Range, _
   ByVal columnRange As Range, _
   ByVal transposeOperation As TransposeOperation _
) As Matrix
[C#]
public Matrix GetSubmatrix(
   Range rowRange,
   Range columnRange,
   TransposeOperation transposeOperation
);

Parameters

rowRange
A Range value that specifies the range of rows that are to make up the new matrix.
columnRange
A Range value that specifies the range of columns that are to make up the new matrix.
transposeOperation
A TransposeOperation value that specifies whether or not this view should show the transpose of the matrix m.

Return Value

A Matrix that contains the specified rows and columns.

Remarks

The Matrix returned by this method shares its storage with the matrix from which it is derived.

See Also

Matrix Class | Extreme.Mathematics.LinearAlgebra Namespace | Matrix.GetSubmatrix Overload List