Click or drag to resize

VectorMathToVector(Double, Int32) Method

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

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

Parameters

array  Double
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

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