numl.Math.Functions.Tanh.Derivative C# (CSharp) Method

Derivative() public method

Derivatives the given x coordinate.
public Derivative ( double x ) : double
x double The Vector to process.
return double
        public override double Derivative(double x)
        {
            return 1 - pow(Compute(x), 2);
        }