Package org.drip.function.r1tor1
Class FlatUnivariate
java.lang.Object
org.drip.function.definition.R1ToR1
org.drip.function.r1tor1.FlatUnivariate
public class FlatUnivariate extends R1ToR1
FlatUnivariate implements the level constant Univariate Function.
- 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 FlatUnivariate(double dblLevel)
FlatUnivariate constructor -
Method Summary
Modifier and Type Method Description Differential
differential(double dblVariate, double dblOFBase, int iOrder)
Calculate the Differentialdouble
evaluate(double dblVariate)
Evaluate for the given variatedouble
integrate(double dblBegin, double dblEnd)
Integrate over the given rangeMethods inherited from class org.drip.function.definition.R1ToR1
antiDerivative, derivative, differential, maxima, maxima, minima, minima, poleResidue
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FlatUnivariate
public FlatUnivariate(double dblLevel) throws java.lang.ExceptionFlatUnivariate constructor- Parameters:
dblLevel
- The FlatUnivariate Level- Throws:
java.lang.Exception
- Thrown if the Inputs are invalid
-
-
Method Details
-
evaluate
public double evaluate(double dblVariate) throws java.lang.ExceptionDescription copied from class:R1ToR1
Evaluate for the given variate -
differential
Description copied from class:R1ToR1
Calculate the Differential- Overrides:
differential
in classR1ToR1
- 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
-
integrate
public double integrate(double dblBegin, double dblEnd) throws java.lang.ExceptionDescription copied from class:R1ToR1
Integrate over the given range
-