VectorMathMapT1(Double, T1, FuncDouble, T1, Double, Double) 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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void Map<T1>(
double[] src1,
T1 parameter1,
Func<double, T1, double> function,
double[] result
)
Parameters
- src1 Double
- The source vector.
- parameter1 T1
- An auxillary parameter.
- function FuncDouble, T1, Double
- The function to apply to every element. 1st arg is the element of vector src1, 2nd argument is the auxillary parameter1.
- result Double
- 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.Double[],``0,System.Func{System.Double,``0,System.Double},System.Double[])"]
See Also