Click or drag to resize
DigitalRuneVectorDGetSubvector 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 VectorD 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: VectorD
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