Module net.finmath.lib
Enum CurveInterpolation.InterpolationMethod
java.lang.Object
java.lang.Enum<CurveInterpolation.InterpolationMethod>
net.finmath.marketdata2.model.curves.CurveInterpolation.InterpolationMethod
- All Implemented Interfaces:
Serializable
,Comparable<CurveInterpolation.InterpolationMethod>
,java.lang.constant.Constable
- Enclosing class:
- CurveInterpolation
public static enum CurveInterpolation.InterpolationMethod
extends Enum<CurveInterpolation.InterpolationMethod>
Possible interpolation methods.
- Author:
- Christian Fries
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHarmonic spline interpolation (C1 sub-spline interpolation).Harmonic spline interpolation (C1 sub-spline interpolation) with a monotonic filtering at the boundary points.Linear interpolation.Constant interpolation.Constant interpolation.Constant interpolation using the value of the right end point of the interval. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PIECEWISE_CONSTANT
Constant interpolation. Synonym of PIECEWISE_CONSTANT_LEFTPOINT. -
PIECEWISE_CONSTANT_LEFTPOINT
Constant interpolation. Right continuous, i.e. using the value of the left end point of the interval. -
PIECEWISE_CONSTANT_RIGHTPOINT
Constant interpolation using the value of the right end point of the interval. -
LINEAR
Linear interpolation. -
HARMONIC_SPLINE
Harmonic spline interpolation (C1 sub-spline interpolation). -
HARMONIC_SPLINE_WITH_MONOTONIC_FILTERING
Harmonic spline interpolation (C1 sub-spline interpolation) with a monotonic filtering at the boundary points.
-
-
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
-