org.simnet.util
Class SMath

java.lang.Object
  extended by org.simnet.util.SMath

public final class SMath
extends Object

SMath contains static mathmatics method for neural network operations.


Method Summary
static double tanh(double input, double lambda)
          Return the value of the tanh function given the specified input and lambda.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

tanh

public static double tanh(double input,
                          double lambda)
Return the value of the tanh function given the specified input and lambda.

Parameters:
input - input
lambda - lambda
Returns:
the value of the tanh function given the specified input and lambda