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

DotNetMatrix

An NDoc Documented Class Library

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

Get a submatrix.

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

Parameters

r
Array of row indices.
c
Array of column indices.

Return Value

A(r(:),c(:))

Exceptions

Exception Type Condition
IndexOutOfRangeException Submatrix indices

See Also

GeneralMatrix Class | DotNetMatrix Namespace | GeneralMatrix.GetMatrix Overload List