ScriptExecutionBaseMap(FuncDouble, Double, Double, Double, DataColumn) Method |
Applies the specified binary function to the specified number x and to each element in column x.
Namespace: Altaxo.CalcAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static DoubleColumn Map(
Func<double, double, double> function,
double x,
DataColumn y
)
Parameters
- function FuncDouble, Double, Double
- The function to apply.
- x Double
- A double-precision numeric value used as first argument of that function.
- y DataColumn
- The column containing the numerical elements to which the specified function should be applied (as second argument of that function).
Return Value
DoubleColumnA new column in which each element y[i] is the function applied to the specified value
x and the element y[i], i.e. y[i] = function(x, y[i]).
See Also