Package org.drip.spline.bspline
Class ExponentialTensionLeftRaw
java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.spline.bspline.TensionBasisHat
org.drip.spline.bspline.ExponentialTensionLeftRaw
public class ExponentialTensionLeftRaw extends TensionBasisHat
ExponentialTensionLeftRaw implements the TensionBasisHat interface in accordance with the raw left
exponential hat basis function laid out in the basic framework outlined in Koch and Lyche (1989), Koch and
Lyche (1993), and Kvasov (2000) Papers.
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ExponentialTensionLeftRaw(double leftPredictorOrdinate, double rightPredictorOrdinate, double tension)
ExponentialTensionLeftRaw constructor -
Method Summary
Modifier and Type Method Description double
derivative(double dblPredictorOrdinate, int iOrder)
Calculate the derivative as a doubledouble
evaluate(double predictorOrdinate)
Evaluate for the given variatedouble
integrate(double dblBegin, double dblEnd)
Integrate over the given rangedouble
normalizer()
Compute the NormalizerMethods inherited from class org.drip.spline.bspline.TensionBasisHat
in, left, right, tension
Methods inherited from class org.drip.function.definition.R1ToR1
antiDerivative, conditionNumber, differential, differential, maxima, maxima, minima, minima, poleResidue
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ExponentialTensionLeftRaw
public ExponentialTensionLeftRaw(double leftPredictorOrdinate, double rightPredictorOrdinate, double tension) throws java.lang.ExceptionExponentialTensionLeftRaw constructor- Parameters:
leftPredictorOrdinate
- The Left Predictor OrdinaterightPredictorOrdinate
- The Right Predictor Ordinatetension
- Tension of the Tension Hat Function- Throws:
java.lang.Exception
- Thrown if the input is invalid
-
-
Method Details
-
evaluate
public double evaluate(double predictorOrdinate) throws java.lang.ExceptionDescription copied from class:R1ToR1
Evaluate for the given variate -
derivative
public double derivative(double dblPredictorOrdinate, int iOrder) throws java.lang.ExceptionDescription copied from class:R1ToR1
Calculate the derivative as a double- Overrides:
derivative
in classR1ToR1
- Parameters:
dblPredictorOrdinate
- 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:R1ToR1
Integrate over the given range -
normalizer
public double normalizer() throws java.lang.ExceptionDescription copied from class:TensionBasisHat
Compute the Normalizer- Specified by:
normalizer
in classTensionBasisHat
- Returns:
- The Normalizer
- Throws:
java.lang.Exception
- Thrown if the Normalizer cannot be computed
-