Class SmileAndBucketedSensitivities
- java.lang.Object
-
- com.opengamma.strata.pricer.fxopt.SmileAndBucketedSensitivities
-
- All Implemented Interfaces:
Serializable
,org.joda.beans.Bean
,org.joda.beans.ImmutableBean
public final class SmileAndBucketedSensitivities extends Object implements org.joda.beans.ImmutableBean, Serializable
Combines information about a volatility smile expressed in delta form and its sensitivities.This contains a volatility smile expressed in delta form and the bucketed sensitivities of the smile to the data points that were used to construct it.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
DoubleMatrix
getSensitivities()
Gets the sensitivities.SmileDeltaParameters
getSmile()
Gets the smile.int
hashCode()
static org.joda.beans.TypedMetaBean<SmileAndBucketedSensitivities>
meta()
The meta-bean forSmileAndBucketedSensitivities
.org.joda.beans.TypedMetaBean<SmileAndBucketedSensitivities>
metaBean()
static SmileAndBucketedSensitivities
of(SmileDeltaParameters smile, DoubleMatrix sensitivities)
Obtains an instance.String
toString()
-
-
-
Method Detail
-
of
public static SmileAndBucketedSensitivities of(SmileDeltaParameters smile, DoubleMatrix sensitivities)
Obtains an instance.- Parameters:
smile
- the smilesensitivities
- the bucketed sensitivities- Returns:
- the volatility and sensitivities
-
meta
public static org.joda.beans.TypedMetaBean<SmileAndBucketedSensitivities> meta()
The meta-bean forSmileAndBucketedSensitivities
.- Returns:
- the meta-bean, not null
-
metaBean
public org.joda.beans.TypedMetaBean<SmileAndBucketedSensitivities> metaBean()
- Specified by:
metaBean
in interfaceorg.joda.beans.Bean
-
getSmile
public SmileDeltaParameters getSmile()
Gets the smile.- Returns:
- the value of the property
-
getSensitivities
public DoubleMatrix getSensitivities()
Gets the sensitivities.- Returns:
- the value of the property, not null
-
-