Click or drag to resize

VectorMathMap(IReadOnlyListDouble, FuncDouble, Double, IVectorDouble) Method

Elementwise application of a function to each element of a vector. The result is stored in another vector or in the same vector.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void Map(
	IReadOnlyList<double> src1,
	Func<double, double> function,
	IVector<double> result
)

Parameters

src1  IReadOnlyListDouble
The source vector.
function  FuncDouble, Double
The function to apply to every element.
result  IVectorDouble
The vector to store the results. This may or may not be the same instance as the source vector.
See Also