public final class VolatilityAndBucketedSensitivities extends Object implements org.joda.beans.ImmutableBean, Serializable
This contains a volatility calculated at a particular x and y and the bucketed sensitivities of this value to the volatility data points that were used to construct the surface.
| Modifier and Type | Class and Description |
|---|---|
static class |
VolatilityAndBucketedSensitivities.Meta
The meta-bean for
VolatilityAndBucketedSensitivities. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DoubleMatrix |
getSensitivities()
Gets the sensitivities.
|
double |
getVolatility()
Gets the volatility.
|
int |
hashCode() |
static VolatilityAndBucketedSensitivities.Meta |
meta()
The meta-bean for
VolatilityAndBucketedSensitivities. |
VolatilityAndBucketedSensitivities.Meta |
metaBean() |
static VolatilityAndBucketedSensitivities |
of(double volatility,
DoubleMatrix sensitivities)
Obtains an instance.
|
String |
toString() |
public static VolatilityAndBucketedSensitivities of(double volatility, DoubleMatrix sensitivities)
volatility - the volatilitysensitivities - the bucketed sensitivitiespublic static VolatilityAndBucketedSensitivities.Meta meta()
VolatilityAndBucketedSensitivities.public VolatilityAndBucketedSensitivities.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic double getVolatility()
public DoubleMatrix getSensitivities()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.