Package org.drip.function.r1tor1
Class ExponentialTension
java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.function.r1tor1.ExponentialTension
public class ExponentialTension extends R1ToR1
ExponentialTension provides the evaluation of the Exponential Tension Function and its derivatives
for a specified variate.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd To Rd Function Analysis
- Package = Built-in R1 To R1 Functions
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ExponentialTension(double dblBase, double dblTension)ExponentialTension constructor -
Method Summary
Modifier and Type Method Description doublederivative(double dblVariate, int iOrder)Calculate the derivative as a doubledoubleevaluate(double dblVariate)Evaluate for the given variatedoublegetBase()Retrieve the BasedoublegetTension()Retrieve the Tension Parameterdoubleintegrate(double dblBegin, double dblEnd)Integrate over the given rangebooleanisBaseNatural()Is the base natural?Methods inherited from class org.drip.function.definition.R1ToR1
antiDerivative, conditionNumber, differential, differential, maxima, maxima, minima, minima, poleResidueMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExponentialTension
public ExponentialTension(double dblBase, double dblTension) throws java.lang.ExceptionExponentialTension constructor- Parameters:
dblBase- Base of the ExponentialTension FunctiondblTension- Tension of the ExponentialTension Function- Throws:
java.lang.Exception- Thrown if the input is invalid
-
-
Method Details
-
evaluate
public double evaluate(double dblVariate) throws java.lang.ExceptionDescription copied from class:R1ToR1Evaluate for the given variate -
derivative
public double derivative(double dblVariate, int iOrder) throws java.lang.ExceptionDescription copied from class:R1ToR1Calculate the derivative as a double- Overrides:
derivativein classR1ToR1- Parameters:
dblVariate- Variate at which the derivative is to be calculatediOrder- Order of the derivative to be computed- Returns:
- The Derivative
- Throws:
java.lang.Exception- Thrown if Inputs are Invalid
-
integrate
public double integrate(double dblBegin, double dblEnd) throws java.lang.ExceptionDescription copied from class:R1ToR1Integrate over the given range -
isBaseNatural
public boolean isBaseNatural()Is the base natural?- Returns:
- TRUE - Base is off of natural logarithm
-
getBase
public double getBase()Retrieve the Base- Returns:
- The Base
-
getTension
public double getTension()Retrieve the Tension Parameter- Returns:
- Tension Parameter
-