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

DotNetMatrix

An NDoc Documented Class Library

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

Set a submatrix.

[Visual Basic]Overridable Overloads Public Sub SetMatrix( _
   ByVal r As Integer(), _
   ByVal c As Integer(), _
   ByVal X As GeneralMatrix _
)
[C#]
public virtual void SetMatrix(
   int[] r,
   int[] c,
   GeneralMatrix X
);

Parameters

r
Array of row indices.
c
Array of column indices.
X
A(r(:),c(:))

Exceptions

Exception Type Condition
IndexOutOfRangeException Submatrix indices

See Also

GeneralMatrix Class | DotNetMatrix Namespace | GeneralMatrix.SetMatrix Overload List