VectorMathMap(IReadOnlyListDouble, IReadOnlyListDouble, IReadOnlyListDouble, FuncDouble, Double, Double, Double, IVectorDouble) 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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void Map(
IReadOnlyList<double> src1,
IReadOnlyList<double> src2,
IReadOnlyList<double> src3,
Func<double, double, double, double> function,
IVector<double> result
)
Parameters
- src1 IReadOnlyListDouble
- First source vector.
- src2 IReadOnlyListDouble
- Second source vector.
- src3 IReadOnlyListDouble
- Third source vector.
- function FuncDouble, Double, Double, Double
- 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 IVectorDouble
- The vector to store the results. This may or may not be the same instance as the source vector.
See Also