VectorMathToROVector(IReadOnlyListDouble, 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 IReadOnlyList<double> ToROVector(
this IReadOnlyList<double> vector,
int start,
int usedLength
)
Parameters
- vector IReadOnlyListDouble
- Original vector.
- start Int32
- Index of the start of the section to wrap.
- usedLength Int32
- Length (=number of elements) of the section to wrap.
Return Value
IReadOnlyListDoubleAn
[!:IReadOnlyList<double>] 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
IReadOnlyListDouble. 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