Click or drag to resize

VectorMathToVector(IVectorInt32, Int32, Int32) Method

Wraps a section of an original vector into a new vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IVector<int> ToVector(
	this IVector<int> vector,
	int start,
	int len
)

Parameters

vector  IVectorInt32
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

IVectorInt32
A 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 IVectorInt32. 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