VectorMathToVector(IVectorDouble, Int32, Int32) Method |
Wraps a section of an original vector into a new vector.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static IVector<double> ToVector(
this IVector<double> vector,
int start,
int len
)
Parameters
- vector IVectorDouble
- Original vector.
- start Int32
- Index of the start of the section to wrap.
- len Int32
- Length (=number of elements) of the section to wrap.
Return Value
IVectorDoubleA IVector that contains the section from
start to
start+len-1 of the original vector.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IVectorDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also