Module net.finmath.lib
Enum CurveInterpolation.InterpolationEntity
java.lang.Object
java.lang.Enum<CurveInterpolation.InterpolationEntity>
net.finmath.marketdata2.model.curves.CurveInterpolation.InterpolationEntity
- All Implemented Interfaces:
Serializable
,Comparable<CurveInterpolation.InterpolationEntity>
,java.lang.constant.Constable
- Enclosing class:
- CurveInterpolation
public static enum CurveInterpolation.InterpolationEntity extends Enum<CurveInterpolation.InterpolationEntity>
Possible interpolation entities.
- Author:
- Christian Fries
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description LOG_OF_VALUE
Interpolation is performed on the log of the point values, i.e. log(value(t))LOG_OF_VALUE_PER_TIME
Interpolation is performed on the log of the point values divided by their respective time, i.e. log(value(t))/tVALUE
Interpolation is performed on the native point values, i.e. value(t) -
Method Summary
Modifier and Type Method Description static CurveInterpolation.InterpolationEntity
valueOf(String name)
Returns the enum constant of this type with the specified name.static CurveInterpolation.InterpolationEntity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALUE
Interpolation is performed on the native point values, i.e. value(t) -
LOG_OF_VALUE
Interpolation is performed on the log of the point values, i.e. log(value(t)) -
LOG_OF_VALUE_PER_TIME
Interpolation is performed on the log of the point values divided by their respective time, i.e. log(value(t))/t
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-