public final class FastTanh extends Object implements Function, Serializable

exp(x) function, instead of using
standard Math.exp method. For more information, see
this paper.| Constructor and Description |
|---|
FastTanh() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Two functions are equal if they return the same values for all possible
arguments.
|
double |
getDeriv(double arg)
Returns a value of the first derivative of the function for the given
argument.
|
double |
getValue(double arg)
Returns a value of the function for the given argument.
|
boolean |
hasDeriv()
Returns
true if the function is differentiable. |
int |
hashCode() |
String |
toString() |
public double getValue(double arg)
Functionpublic double getDeriv(double arg)
Functionpublic boolean hasDeriv()
Functiontrue if the function is differentiable.public boolean equals(Object obj)
Copyright © 2012. All Rights Reserved.