Click or drag to resize

ScriptExecutionBaseMap(FuncDouble, Double, DataColumn) Method

Applies the specified unary function to each element in column x.

Namespace: Altaxo.Calc
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static DoubleColumn Map(
	Func<double, double> function,
	DataColumn x
)

Parameters

function  FuncDouble, Double
The function to apply.
x  DataColumn
The column containing the numerical elements to which the specified function should be applied.

Return Value

DoubleColumn
A new column in which each element y[i] is the function applied to the element x[i], i.e. y[i] = function(x[i]).
See Also