public class ExponentialDecay extends R1ToR1
Constructor and Description |
---|
ExponentialDecay(double dblEpoch,
double dblHazard)
ExponentialDecay constructor
|
Modifier and Type | Method and Description |
---|---|
double |
derivative(double dblVariate,
int iOrder)
Calculate the derivative as a double
|
double |
epoch()
Retrieve the Epoch
|
double |
evaluate(double dblVariate)
Evaluate for the given variate
|
double |
hazard()
Retrieve the Hazard
|
double |
integrate(double dblBegin,
double dblEnd)
Integrate over the given range
|
differential, differential, maxima, maxima, minima, minima
public ExponentialDecay(double dblEpoch, double dblHazard) throws java.lang.Exception
dblEpoch
- The Starting EpochdblHazard
- The Exponential Decay Hazard Ratejava.lang.Exception
- Thrown if the Inputs are 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 double epoch()
public double hazard()