AForge.Neuro.ThresholdFunction.Function C# (CSharp) Method

Function() public method

Calculates function value.
The method calculates function value at point x.
public Function ( double x ) : double
x double Function input value.
return double
        public double Function( double x )
        {
            return ( x >= 0 ) ? 1 : 0;
        }