Click or drag to resize
DigitalRuneVectorFGetSubvector Method
Gets a subvector of this vector.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public VectorF GetSubvector(
	int startIndex,
	int subvectorLength
)

Parameters

startIndex
Type: SystemInt32
The index of the first element of the subvector.
subvectorLength
Type: SystemInt32
The length of the subvector.

Return Value

Type: VectorF
The subvector.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException The startIndex is negative or equal to or greater than the NumberOfElements.
ArgumentOutOfRangeException The subvectorLength is less than 1. Or startIndex + subvectorLength exceeds the NumberOfElements.
See Also