List of utility methods to do tanh
double | tanh(double paramDouble) tanh return sinh(paramDouble) / cosh(paramDouble);
|
double | tanh(double t) tanh Double aux = new Double(sinh(t) / cosh(t)); if (aux.isNaN()) { if (t > 0.0) return 1.0; else return -1.0; return aux.doubleValue(); ... |
double | tanh(double x) Returns the hyperbolic tangent of a value. return Math.tanh(x);
|
double | tanh(double x) Returns the hyperbolic tangent of a double. double ans, y; y = Math.abs(x); if (Double.isNaN(x)) { ans = Double.NaN; } else if (y < 1.82501e-08) { ans = x; } else if (y <= 1.0) { ans = x * (1.0 + csevl(2.0 * x * x - 1.0, TANH_COEF)); ... |
double | tanh(Double x) Tanh. return Math.tanh(x);
|
double | tanh(double z) tanh double eToTheZ = StrictMath.pow(StrictMath.E, z); double eToTheMinusZ = StrictMath.pow(StrictMath.E, -z); return ((eToTheZ - eToTheMinusZ) / (eToTheZ + eToTheMinusZ)); |
double | tanh(final double x) tanh return Math.tanh(x);
|
double | tanhDerivative(final double thOutput) tanh Derivative return 1 - (thOutput * thOutput);
|
double | tanhFunction(double x) tanh Function return Math.tanh(x);
|
double | tanht(double temp) tanht if (temp < -10) return TANH[0]; else if (temp >= 10) return TANH[9999]; else return TANH[(int) (temp * 500) + 5000]; |