public class HyperbolicTension extends R1ToR1
Modifier and Type | Field and Description |
---|---|
static int |
COSH
Hyperbolic Tension Function Type - cosh
|
static int |
SINH
Hyperbolic Tension Function Type - sinh
|
Constructor and Description |
---|
HyperbolicTension(int iType,
double dblTension)
HyperbolicTension constructor
|
Modifier and Type | Method and Description |
---|---|
double |
derivative(double dblVariate,
int iOrder)
Calculate the derivative as a double
|
double |
evaluate(double dblVariate)
Evaluate for the given variate
|
double |
getTension()
Retrieve the Tension Parameter
|
int |
getType()
Retrieve the hyperbolic function type
|
double |
integrate(double dblBegin,
double dblEnd)
Integrate over the given range
|
static void |
main(java.lang.String[] astrArgs) |
differential, differential, maxima, maxima, minima, minima
public static final int SINH
public static final int COSH
public HyperbolicTension(int iType, double dblTension) throws java.lang.Exception
iType
- Type of the HyperbolicTension Function - SINH/COSH/TANHdblTension
- Tension of the HyperbolicTension Functionjava.lang.Exception
- Thrown if the input is invalidpublic double evaluate(double dblVariate) throws java.lang.Exception
R1ToR1
public double derivative(double dblVariate, int iOrder) throws java.lang.Exception
R1ToR1
derivative
in class R1ToR1
dblVariate
- Variate at which the derivative is to be calculatediOrder
- Order of the derivative to be computedjava.lang.Exception
- Thrown if Inputs are Invalidpublic double integrate(double dblBegin, double dblEnd) throws java.lang.Exception
R1ToR1
public int getType()
public double getTension()
public static final void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception