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 i0,
	int i1,
	int[] c
)
Visual Basic
Public Overridable Function GetMatrix ( _
	i0 As Integer, _
	i1 As Integer, _
	c As Integer() _
) As Matrix
Visual C++
public:
virtual Matrix^ GetMatrix(
	int i0, 
	int i1, 
	array<int>^ c
)

Parameters

i0
Type: System..::..Int32
Initial row index.
i1
Type: System..::..Int32
Final row index.
c
Type: array<System..::..Int32>[]()[][]
Array of column indices.

Return Value

A(i0:i1,c(:))

Exceptions

ExceptionCondition
System..::..IndexOutOfRangeExceptionSubmatrix indices.

See Also