Package org.drip.function.definition
Class R1ToR1
java.lang.Object
org.drip.function.definition.R1ToR1
- Direct Known Subclasses:
Addition,AlmgrenEnhancedEulerUpdate,AndersenPiterbargMeanReverter,Bennett,BinetFirstIntegral,BinetIntegralFirstKindEstimator,BinetIntegralSecondKindEstimator,CalibratableMultiSegmentSequence,CIRPDF,Convolution,Cosine,EmpiricalLearnerLoss,EulerIntegralSecondKind,Exponential,ExponentialDecay,ExponentialTension,FirstDerivative,Flat,FunctionClassSupremum,GrossProfitExpectation,HyperbolicTension,HypergeometricEstimator,InverseCosine,InverseSine,InverseTangent,ISDABucketCurvatureTenorScaler,KLKHyperbolicTensionPhy,KLKHyperbolicTensionPsy,LaplaceTransformGaussLegendre,LinearRationalShapeControl,LogBigPi,LogReciprocal,LogSmallPi,LowerEulerIntegral,LowerLimitPowerIntegrand,ModifiedScaledExponentialEstimator,MonicPolynomial,MonotoneConvexHaganWest,NaturalLogarithm,NaturalLogSeriesElement,OffsetIdempotent,Polynomial,PowerSourceExponentialDecay,QuadraticRationalShapeControl,R1ToR1Estimator,Reciprocal,Reflection,RelaxationTimeDistributionEstimator,RiemannZeta,RkToR1Series,SABRLIBORCapVolatility,ScaledExponentialEstimator,Scaler,SegmentBasisFunction,Sinc,Sine,StretchedExponentialMoment,Tangent,TensionBasisHat,TransactionFunction,UnivariateReciprocal,UpperEulerIntegral,UpperLimitPowerIntegrand
public abstract class R1ToR1
extends java.lang.Object
R1ToR1 provides the evaluation of the objective function and its derivatives for a specified
variate. Default implementation of the derivatives are for non-analytical black box objective functions.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd To Rd Function Analysis
- Package = Function Implementation Ancillary Support Objects
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description R1ToR1antiDerivative()Compute the Anti-Derivative FunctiondoubleconditionNumber(double x)Compute the Condition Number at the specified Variatedoublederivative(double dblVariate, int iOrder)Calculate the derivative as a doubleDifferentialdifferential(double dblVariate, double dblOFBase, int iOrder)Calculate the DifferentialDifferentialdifferential(double dblVariate, int iOrder)Calculate the Ordered Derivativeabstract doubleevaluate(double dblVariate)Evaluate for the given variatedoubleintegrate(double dblBegin, double dblEnd)Integrate over the given rangeVariateOutputPairmaxima()Compute the Maximal Variate and the Corresponding Function ValueVariateOutputPairmaxima(double dblVariateLeft, double dblVariateRight)Compute the Maximum VOP within the Variate RangeVariateOutputPairminima()Compute the Minimal Variate and the Corresponding Function ValueVariateOutputPairminima(double dblVariateLeft, double dblVariateRight)Compute the Minimum VOP within the Variate RangePoleResiduepoleResidue(double x)Compute the Residue if the Variate is a PoleMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
evaluate
public abstract double evaluate(double dblVariate) throws java.lang.ExceptionEvaluate for the given variate- Parameters:
dblVariate- Variate- Returns:
- Returns the calculated value
- Throws:
java.lang.Exception- Thrown if evaluation cannot be done
-
differential
Calculate the Differential- Parameters:
dblVariate- Variate at which the derivative is to be calculateddblOFBase- Base Value for the Objective FunctioniOrder- Order of the derivative to be computed- Returns:
- The Derivative
-
differential
Calculate the Ordered Derivative- Parameters:
dblVariate- Variate at which the derivative is to be calculatediOrder- Order of the derivative to be computed- Returns:
- The Derivative
-
derivative
public double derivative(double dblVariate, int iOrder) throws java.lang.ExceptionCalculate the derivative as a double- 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.ExceptionIntegrate over the given range- Parameters:
dblBegin- Range BegindblEnd- Range End- Returns:
- The Integrated Value
- Throws:
java.lang.Exception- Thrown if evaluation cannot be done
-
maxima
Compute the Maximal Variate and the Corresponding Function Value- Returns:
- The Maximal Variate and the Corresponding Function Value
-
maxima
Compute the Maximum VOP within the Variate Range- Parameters:
dblVariateLeft- The Range Left EnddblVariateRight- The Range Right End- Returns:
- The Maximum VOP
-
minima
Compute the Minimal Variate and the Corresponding Function Value- Returns:
- The Minimal Variate and the Corresponding Function Value
-
minima
Compute the Minimum VOP within the Variate Range- Parameters:
dblVariateLeft- The Range Left EnddblVariateRight- The Range Right End- Returns:
- The Minimum VOP
-
antiDerivative
Compute the Anti-Derivative Function- Returns:
- The Anti-Derivative Function
-
poleResidue
Compute the Residue if the Variate is a Pole- Parameters:
x- Variate- Returns:
- The Residue if the Variate is a Pole
-
conditionNumber
public double conditionNumber(double x) throws java.lang.ExceptionCompute the Condition Number at the specified Variate- Parameters:
x- Variate- Returns:
- The Condition Number
- Throws:
java.lang.Exception- Thrown if the Condition Number cannor be computed
-