GeneralMatrix.GetMatrix Method (Int32[], Int32, Int32)

DotNetMatrix

An NDoc Documented Class Library

GeneralMatrix.GetMatrix Method (Int32[], Int32, Int32)

Get a submatrix.

[Visual Basic]Overridable Overloads Public Function GetMatrix( _
   ByVal r As Integer(), _
   ByVal j0 As Integer, _
   ByVal j1 As Integer _
) As GeneralMatrix
[C#]
public virtual GeneralMatrix GetMatrix(
   int[] r,
   int j0,
   int j1
);

Parameters

r
Array of row indices.
j0
Initial column index
j1
Final column index

Return Value

A(r(:),j0:j1)

Exceptions

Exception Type Condition
IndexOutOfRangeException Submatrix indices

See Also

GeneralMatrix Class | DotNetMatrix Namespace | GeneralMatrix.GetMatrix Overload List