Transforms all values using a user-supplied function.
Namespace:
Meta.Numerics.Statistics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public void Transform(
Func<double, double> transformFunction
)
Public Sub Transform (
transformFunction As Func(Of Double, Double)
)
public:
void Transform(
Func<double, double>^ transformFunction
)
member Transform :
transformFunction : Func<float, float> -> unit
Parameters
- transformFunction
- Type: SystemFuncDouble, Double
The function used to transform the values.
Exceptions Remarks For example, to replace all values with their logarithms, apply a transform using Log(Double).
If the supplied transform function throws an exception, or returns infinite or NaN values, the transformation
may be incomplete or the data corrupted.
See Also