S - the domain type of the functionT - the range type of the functionU - the range type of the differentialpublic interface Differentiator<S,T,U>
Function), returns a function that calculates the gradient.| Modifier and Type | Method and Description |
|---|---|
Function<S,U> |
differentiate(Function<S,T> function)
Provides a function that performs the differentiation.
|
Function<S,U> |
differentiate(Function<S,T> function,
Function<S,Boolean> domain)
Provides a function that performs the differentiation.
|
Function<S,U> differentiate(Function<S,T> function)
function - a function for which to get the differential functionFunction<S,U> differentiate(Function<S,T> function, Function<S,Boolean> domain)
function - a function for which to get the differential functiondomain - a function that returns false if the requested value is not in the domain, true otherwiseCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.