public abstract class ParameterizedCurve extends ParameterizedFunction<Double,DoubleArray,Double>
| Constructor and Description |
|---|
ParameterizedCurve() |
| Modifier and Type | Method and Description |
|---|---|
Function<Double,DoubleArray> |
getYParameterSensitivity(DoubleArray params)
For a scalar function (curve) that can be written as $y=f(x;\boldsymbol{\theta})$ where x & y are scalars and
$\boldsymbol{\theta})$ is a vector of parameters (i.e.
|
asFunctionOfArguments, asFunctionOfParameters, evaluate, getNumberOfParameterspublic Function<Double,DoubleArray> getYParameterSensitivity(DoubleArray params)
The default calculation is performed using finite difference (via ScalarFieldFirstOrderDifferentiator) but
it is expected that this will be overridden by concrete subclasses.
params - the value of the parameters ($\boldsymbol{\theta}$) at which the sensitivity is calculatedCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.