| DFNumericColumnApply(String, FuncDouble, Double, Double, Double) Method |
Returns a new column with the given name and same size as this
column, whose values are the result of applying the given binary
function to each element of this column.
The first parameter to the binary function is the column element;
the second parameter is the passed double-precision value.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public DFNumericColumn Apply(
string name,
Func<double, double, double> function,
double d
)
Public Function Apply (
name As String,
function As Func(Of Double, Double, Double),
d As Double
) As DFNumericColumn
public:
DFNumericColumn^ Apply(
String^ name,
Func<double, double, double>^ function,
double d
)
member Apply :
name : string *
function : Func<float, float, float> *
d : float -> DFNumericColumn
Parameters
- name String
-
Name for the new column.
- function FuncDouble, Double, Double
-
A delegate object representing a function that
takes two double parameters and returns a double.
- d Double
- The second parameter to function.
Return Value
DFNumericColumnA column with the same name and size as self and with
c[i] = function( this[i], d )See Also