Package com.graphbuilder.math.func
Class AtanhFunction
java.lang.Object
com.graphbuilder.math.func.AtanhFunction
- All Implemented Interfaces:
Function
The hyperbolic tangent sine function.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptNumParam(int numParam) Returns true only for 1 parameter, false otherwise.doubleof(double[] d, int numParam) Returns the value of (ln(1+x) - ln(1-x)) / 2, where x is the value at index location 0.toString()
-
Constructor Details
-
AtanhFunction
public AtanhFunction()
-
-
Method Details
-
of
public double of(double[] d, int numParam) Returns the value of (ln(1+x) - ln(1-x)) / 2, where x is the value at index location 0. -
acceptNumParam
public boolean acceptNumParam(int numParam) Returns true only for 1 parameter, false otherwise.- Specified by:
acceptNumParamin interfaceFunction
-
toString
-