Click or drag to resize
DigitalRuneVectorDSetSubvector Method
Sets a subvector of this instance.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public void SetSubvector(
	int startIndex,
	VectorD subvector
)

Parameters

startIndex
Type: SystemInt32
The start index.
subvector
Type: DigitalRune.Mathematics.AlgebraVectorD
The subvector.
Exceptions
ExceptionCondition
ArgumentNullExceptionsubvector is .
IndexOutOfRangeException The startIndex or the number of elements of the subvector is to high, so that the subvector does not fit into this vector.
Remarks
The elements of the subvector are copied into this vector, beginning at the startIndex.
See Also