Click or drag to resize

VectorMathToVector(Single, Int32) Method

Wraps an array to get an [!:IVector<float>].

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IVector<float> ToVector(
	float[] array,
	int usedlength
)

Parameters

array  Single
The array to wrap.
usedlength  Int32
Used length of the array to get the wrapped vector (i.e. the vector wraps around array[0..usedLength-1]).

Return Value

IVectorSingle
A wrapper objects with the [!:IVector<float>] interface that wraps the provided array.
See Also