AForge.Neuro.BipolarSigmoidFunction.Derivative C# (CSharp) Method

Derivative() public method

Calculates function derivative.
The method calculates function derivative at point x.
public Derivative ( double x ) : double
x double Function input value.
return double
        public double Derivative( double x )
        {
            double y = Function( x );

            return ( alpha * ( 1 - y * y ) / 2 );
        }