com.graphbuilder.math.func
Class SinhFunction

java.lang.Object
  extended bycom.graphbuilder.math.func.SinhFunction
All Implemented Interfaces:
Function

public class SinhFunction
extends java.lang.Object
implements Function

The hyperbolic sine function.


Constructor Summary
SinhFunction()
           
 
Method Summary
 boolean acceptNumParam(int numParam)
          Returns true only for 1 parameter, false otherwise.
 double of(double[] d, int numParam)
          Returns the value of (ex - e-x)/2, where x is the value at index location 0 and e is the base of natural logarithms.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SinhFunction

public SinhFunction()
Method Detail

of

public double of(double[] d,
                 int numParam)
Returns the value of (ex - e-x)/2, where x is the value at index location 0 and e is the base of natural logarithms.

Specified by:
of in interface Function

acceptNumParam

public boolean acceptNumParam(int numParam)
Returns true only for 1 parameter, false otherwise.

Specified by:
acceptNumParam in interface Function

toString

public java.lang.String toString()