Tanh activation function for ANN. This really simple implementation uses TFormulas and should probably be replaced with something more efficient later.
constructor for tanh sigmoid (normalized in [-1,1])
destructor
evaluate the tanh
evaluate the derivative
get expressions for the tanh and its derivative
writes the sigmoid activation function source code
minimum of the range of the activation function
{ return -1; }
maximum of the range of the activation function
{ return 1; }