Uses of Class
com.opengamma.strata.math.impl.differentiation.FiniteDifferenceType
-
Packages that use FiniteDifferenceType Package Description com.opengamma.strata.math.impl.differentiation com.opengamma.strata.math.impl.function -
-
Uses of FiniteDifferenceType in com.opengamma.strata.math.impl.differentiation
Methods in com.opengamma.strata.math.impl.differentiation that return FiniteDifferenceType Modifier and Type Method Description static FiniteDifferenceType
FiniteDifferenceType. valueOf(String name)
Returns the enum constant of this type with the specified name.static FiniteDifferenceType[]
FiniteDifferenceType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in com.opengamma.strata.math.impl.differentiation with parameters of type FiniteDifferenceType Constructor Description ScalarFieldFirstOrderDifferentiator(FiniteDifferenceType differenceType, double eps)
Creates an instance that approximates the derivative of a scalar function by finite difference.ScalarFirstOrderDifferentiator(FiniteDifferenceType differenceType)
Creates an instance using the default value of eps (10-5).ScalarFirstOrderDifferentiator(FiniteDifferenceType differenceType, double eps)
Creates an instance.VectorFieldFirstOrderDifferentiator(FiniteDifferenceType differenceType)
Creates an instance using the default value of eps (10-5).VectorFieldFirstOrderDifferentiator(FiniteDifferenceType differenceType, double eps)
Creates an instance. -
Uses of FiniteDifferenceType in com.opengamma.strata.math.impl.function
Methods in com.opengamma.strata.math.impl.function with parameters of type FiniteDifferenceType Modifier and Type Method Description default DoubleFunction1D
DoubleFunction1D. derivative(FiniteDifferenceType differenceType, double eps)
Returns a function that calculates the first derivative.
-