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

DotNetMatrix

An NDoc Documented Class Library

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

Get a submatrix.

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

Parameters

i0
Initial row index
i1
Final row index
j0
Initial column index
j1
Final column index

Return Value

A(i0:i1,j0:j1)

Exceptions

Exception Type Condition
IndexOutOfRangeException Submatrix indices

See Also

GeneralMatrix Class | DotNetMatrix Namespace | GeneralMatrix.GetMatrix Overload List