Click or drag to resize

VectorMath.Map(IReadOnlyList<Single>, IReadOnlyList<Single>, IReadOnlyList<Single>, Func<Single, Single, Single, Single>, IVector<Single>) Method

Elementwise application of a function to corresponding elements of three vectors. The result is stored in another vector or in the same vector.

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

Parameters

src1  IReadOnlyList<Single>
First source vector.
src2  IReadOnlyList<Single>
Second source vector.
src3  IReadOnlyList<Single>
Third source vector.
function  Func<Single, Single, Single, Single>
The function to apply to every element. 1st argument is the element from src1, 2nd argument is the element from src2, 3rd argument is the element from src3.
result  IVector<Single>
The vector to store the results. This may or may not be the same instance as the source vector.
See Also