Click or drag to resize

VectorMathMap(IReadOnlyListSingle, IReadOnlyListSingle, FuncSingle, Single, Single, IVectorSingle) Method

Elementwise application of a function to corresponding elements of two 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.3179.0 (4.8.3179.0)
Syntax
C#
public static void Map(
	IReadOnlyList<float> src1,
	IReadOnlyList<float> src2,
	Func<float, float, float> function,
	IVector<float> result
)

Parameters

src1  IReadOnlyListSingle
First source vector.
src2  IReadOnlyListSingle
Second source vector.
function  FuncSingle, Single, Single
The function to apply to every element. 1st argument is the element from src1, 2nd argument is the element from src2.
result  IVectorSingle
The vector to store the results. This may or may not be the same instance as the source vector.
See Also