AForge.Neuro.BipolarSigmoidFunction.Function C# (CSharp) Méthode

Function() public méthode

Calculates function value.
The method calculates function value at point x.
public Function ( double x ) : double
x double Function input value.
Résultat double
        public double Function( double x )
        {
            return ( ( 2 / ( 1 + Math.Exp( -alpha * x ) ) ) - 1 );
        }