CADability dotNET
Get a submatrix.

Namespace: CADability.LinearAlgebra
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public virtual Matrix GetMatrix(
	int[] r,
	int j0,
	int j1
)
Visual Basic
Public Overridable Function GetMatrix ( _
	r As Integer(), _
	j0 As Integer, _
	j1 As Integer _
) As Matrix
Visual C++
public:
virtual Matrix^ GetMatrix(
	array<int>^ r, 
	int j0, 
	int j1
)

Parameters

r
Type: array<System..::..Int32>[]()[][]
Array of row indices.
j0
Type: System..::..Int32
Initial column index.
j1
Type: System..::..Int32
Final column index.

Return Value

A(r(:),j0:j1)

Exceptions

ExceptionCondition
System..::..IndexOutOfRangeExceptionSubmatrix indices.

See Also