Creates a vector containing specified elements.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public Vector<T> SubVector(
int index,
int count
)
Parameters
- index Int32
- The first element to begin copying from.
- count Int32
- The number of elements to copy.
Return Value
VectorTA vector containing a copy of the specified elements.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | - If index is not positive or
greater than or equal to the size of the vector.
- If index + count is greater than or equal to the size of the vector.
|
ArgumentException | If count is not positive. |
See Also