public final class JacobianCalibrationMatrix extends Object implements org.joda.beans.ImmutableBean, Serializable
The inverse Jacobian matrix produced using curve calibration is stored here. The information is used to calculate market quote sensitivity.
| Modifier and Type | Class and Description |
|---|---|
static class |
JacobianCalibrationMatrix.Meta
The meta-bean for
JacobianCalibrationMatrix. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCurve(CurveName name)
Checks if this info contains the specified curve.
|
boolean |
equals(Object obj) |
int |
getCurveCount()
Gets the total number of curves.
|
DoubleMatrix |
getJacobianMatrix()
Gets the inverse Jacobian matrix produced during curve calibration.
|
ImmutableList<CurveParameterSize> |
getOrder()
Gets the curve order.
|
int |
getTotalParameterCount()
Gets the total number of parameters.
|
int |
hashCode() |
static JacobianCalibrationMatrix.Meta |
meta()
The meta-bean for
JacobianCalibrationMatrix. |
JacobianCalibrationMatrix.Meta |
metaBean() |
static JacobianCalibrationMatrix |
of(List<CurveParameterSize> order,
DoubleMatrix jacobianMatrix)
Obtains an instance from the curve order and Jacobian matrix.
|
Map<CurveName,DoubleArray> |
splitValues(DoubleArray array)
Splits the array according to the curve order.
|
String |
toString() |
public static JacobianCalibrationMatrix of(List<CurveParameterSize> order, DoubleMatrix jacobianMatrix)
This creates an instance from the inverse Jacobian matrix produced during curve calibration. This is the derivative of the curve parameters with respect to the market quotes. The curve order defines the order of the curves during calibration, which can be used as a key to interpret the matrix.
order - the order of the curves during calibrationjacobianMatrix - the inverse Jacobian matrix produced during curve calibrationpublic int getCurveCount()
public int getTotalParameterCount()
public boolean containsCurve(CurveName name)
name - the curve to findpublic Map<CurveName,DoubleArray> splitValues(DoubleArray array)
The input array must be of the same size as the total number of parameters. The result consists of a map of arrays, where each array is the appropriate section of the input array as defined by the curve order.
array - the array to splitpublic static JacobianCalibrationMatrix.Meta meta()
JacobianCalibrationMatrix.public JacobianCalibrationMatrix.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic ImmutableList<CurveParameterSize> getOrder()
public DoubleMatrix getJacobianMatrix()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.