VectorMathMapT1(IReadOnlyListSingle, IReadOnlyListSingle, T1, FuncSingle, Single, T1, 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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void Map<T1>(
IReadOnlyList<float> src1,
IReadOnlyList<float> src2,
T1 parameter1,
Func<float, float, T1, float> function,
IVector<float> result
)
Parameters
- src1 IReadOnlyListSingle
- First source vector.
- src2 IReadOnlyListSingle
- Second source vector.
- parameter1 T1
- An auxillary parameter.
- function FuncSingle, Single, T1, 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 auxillary parameter1.
- result IVectorSingle
- The vector to store the results. This may or may not be the same instance as the source vector.
Type Parameters
- T1
[Missing <typeparam name="T1"/> documentation for "M:Altaxo.Calc.LinearAlgebra.VectorMath.Map``1(System.Collections.Generic.IReadOnlyList{System.Single},System.Collections.Generic.IReadOnlyList{System.Single},``0,System.Func{System.Single,System.Single,``0,System.Single},Altaxo.Calc.LinearAlgebra.IVector{System.Single})"]
See Also