Class DerivativeControl
java.lang.Object
org.drip.numerical.differentiation.DerivativeControl
public class DerivativeControl
extends java.lang.Object
DerivativeControl provides bumps needed for numerically approximating derivatives. Bumps can be
absolute or relative, and they default to a floor.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Numerical Quadrature, Differentiation, Eigenization, Linear Algebra, and Utilities
- Package = R1 To R1 Numerical Differentiation
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description DerivativeControl()Empty DerivativeControl constructorDerivativeControl(double dblBumpFactor)DerivativeControl constructor -
Method Summary
Modifier and Type Method Description doublegetBumpFactor()Retrieve the bump factordoublegetVariateInfinitesimal(double dblVariate)Calculate and return the variate infinitesimalMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DerivativeControl
public DerivativeControl()Empty DerivativeControl constructor -
DerivativeControl
public DerivativeControl(double dblBumpFactor) throws java.lang.ExceptionDerivativeControl constructor- Parameters:
dblBumpFactor- Bump Factor- Throws:
java.lang.Exception- Thrown if inputs are invalid
-
-
Method Details
-
getBumpFactor
public double getBumpFactor()Retrieve the bump factor- Returns:
- The Bump Factor
-
getVariateInfinitesimal
public double getVariateInfinitesimal(double dblVariate) throws java.lang.ExceptionCalculate and return the variate infinitesimal- Parameters:
dblVariate- Variate Input- Returns:
- Variate Infinitesimal
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-