Package org.drip.function.definition
Class RdToRd
java.lang.Object
org.drip.function.definition.RdToRd
public abstract class RdToRd
extends java.lang.Object
RdToRd provides the evaluation of the Rd To Rd objective function and its
derivatives for a specified set of Rd variates. 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[] adblVariate, int iVariateIndex, int iOrder)
Calculate the Derivative Array as a doubleDifferential[]
differential(double[] adblVariate, int iVariateIndex, int iOrder)
Calculate the Array of Differentialsabstract double[]
evaluate(double[] adblVariate)
Evaluate for the given Input R^d Variatesdouble[]
integrate(double[] adblLeftEdge, double[] adblRightEdge)
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[] adblVariate)Evaluate for the given Input R^d Variates- Parameters:
adblVariate
- Array of Input R^d Variates- Returns:
- The Output R^d Variates
-
differential
Calculate the Array of Differentials- Parameters:
adblVariate
- Variate Array at which the derivative is to be calculatediVariateIndex
- Index of the Variate whose Derivative is to be computediOrder
- Order of the derivative to be computed- Returns:
- The Array of Differentials
-
derivative
public double[] derivative(double[] adblVariate, int iVariateIndex, int iOrder)Calculate the Derivative Array as a double- Parameters:
adblVariate
- Variate Array at which the derivative is to be calculatediVariateIndex
- Index of the Variate whose Derivative is to be computediOrder
- Order of the derivative to be computed- Returns:
- The Derivative Array
-
integrate
public double[] integrate(double[] adblLeftEdge, double[] adblRightEdge)Integrate over the given Input Range Using Uniform Monte-Carlo- Parameters:
adblLeftEdge
- Array of Input Left EdgeadblRightEdge
- Array of Input Right Edge- Returns:
- The Array Containing the Result of the Integration over the specified Range
-