Package org.drip.function.definition
Class R1ToRd
java.lang.Object
org.drip.function.definition.R1ToRd
public abstract class R1ToRd
extends java.lang.Object
R1ToRd provides the evaluation of the R1 To Rd 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 double[]
derivative(double dblVariate, int iOrder)
Calculate the Derivative Array as a doubleDifferential[]
differential(double dblVariate, int iOrder)
Calculate the Array of Differentialsabstract double[]
evaluate(double dblVariate)
Evaluate for the given Input R^1 Variatedouble[]
integrate(double dblLeftEdge, double dblRightEdge)
Integrate over the given Input Range Using Uniform Monte-CarloMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
evaluate
public abstract double[] evaluate(double dblVariate)Evaluate for the given Input R^1 Variate- Parameters:
dblVariate
- The Input R^1 Variate- Returns:
- The Output R^d Array
-
differential
Calculate the Array of Differentials- Parameters:
dblVariate
- Variate at which the derivative is to be calculatediOrder
- Order of the derivative to be computed- Returns:
- The Array of Differentials
-
derivative
public double[] derivative(double dblVariate, int iOrder)Calculate the Derivative Array as a double- Parameters:
dblVariate
- Variate at which the derivative is to be calculatediOrder
- Order of the derivative to be computed- Returns:
- The Derivative Array
-
integrate
public double[] integrate(double dblLeftEdge, double dblRightEdge)Integrate over the given Input Range Using Uniform Monte-Carlo- Parameters:
dblLeftEdge
- Input Left EdgedblRightEdge
- Input Right Edge- Returns:
- The Array Containing the Result of the Integration over the specified Range
-