Click or drag to resize

ScriptExecutionBaseMap(FuncDouble, Double, Double, DoubleColumn, DoubleColumn) Method

Applies the specified binary function to each element in column x and column y.

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, double> function,
	DoubleColumn x,
	DoubleColumn y
)

Parameters

function  FuncDouble, Double, Double
The function to apply.
x  DoubleColumn
The column containing the elements to which the specified function should be applied (as first argument of that function).
y  DoubleColumn
The column containing the elements to which the specified function should be applied (as second argument of that function).

Return Value

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