Returns a vector whose components are a subset of the components of this instance

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function GetSubvector ( _
	range As Range _
) As Vector
C#
public Vector GetSubvector (
	Range range
)
C++
public:
Vector^ GetSubvector (
	Range range
)

Parameters

range (Extreme.Mathematics.LinearAlgebra.Range)
A Range value specifying the range of components in this instance that will make up the new vector.

Return Value

A reference to the new Vector.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException The range specified by range is at least partly outside the bounds of this Vector.