finMath lib documentation

net.finmath.interpolation
Enum RationalFunctionInterpolation.InterpolationMethod

java.lang.Object
  extended by java.lang.Enum<RationalFunctionInterpolation.InterpolationMethod>
      extended by net.finmath.interpolation.RationalFunctionInterpolation.InterpolationMethod
All Implemented Interfaces:
Serializable, Comparable<RationalFunctionInterpolation.InterpolationMethod>
Enclosing class:
RationalFunctionInterpolation

public static enum RationalFunctionInterpolation.InterpolationMethod
extends Enum<RationalFunctionInterpolation.InterpolationMethod>


Enum Constant Summary
AKIMA
          Akima interpolation (C1 sub-spline interpolation).
AKIMA_CONTINUOUS
          Akima interpolation (C1 sub-spline interpolation) with a smoothing in the weights.
CUBIC_SPLINE
          Cubic spline 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.
LINEAR
          Linear interpolation.
PIECEWISE_CONSTANT
          Constant interpolation.
PIECEWISE_CONSTANT_LEFTPOINT
          Constant interpolation.
PIECEWISE_CONSTANT_RIGHTPOINT
          Constant interpolation using the value of the right end point of the interval.
 
Method Summary
static RationalFunctionInterpolation.InterpolationMethod valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RationalFunctionInterpolation.InterpolationMethod[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PIECEWISE_CONSTANT

public static final RationalFunctionInterpolation.InterpolationMethod PIECEWISE_CONSTANT
Constant interpolation. Synonym of PIECEWISE_CONSTANT_LEFTPOINT.


PIECEWISE_CONSTANT_LEFTPOINT

public static final RationalFunctionInterpolation.InterpolationMethod PIECEWISE_CONSTANT_LEFTPOINT
Constant interpolation. Right continuous, i.e. using the value of the left end point of the interval.


PIECEWISE_CONSTANT_RIGHTPOINT

public static final RationalFunctionInterpolation.InterpolationMethod PIECEWISE_CONSTANT_RIGHTPOINT
Constant interpolation using the value of the right end point of the interval.


LINEAR

public static final RationalFunctionInterpolation.InterpolationMethod LINEAR
Linear interpolation.


CUBIC_SPLINE

public static final RationalFunctionInterpolation.InterpolationMethod CUBIC_SPLINE
Cubic spline interpolation.


AKIMA

public static final RationalFunctionInterpolation.InterpolationMethod AKIMA
Akima interpolation (C1 sub-spline interpolation).


AKIMA_CONTINUOUS

public static final RationalFunctionInterpolation.InterpolationMethod AKIMA_CONTINUOUS
Akima interpolation (C1 sub-spline interpolation) with a smoothing in the weights.


HARMONIC_SPLINE

public static final RationalFunctionInterpolation.InterpolationMethod HARMONIC_SPLINE
Harmonic spline interpolation (C1 sub-spline interpolation).


HARMONIC_SPLINE_WITH_MONOTONIC_FILTERING

public static final RationalFunctionInterpolation.InterpolationMethod HARMONIC_SPLINE_WITH_MONOTONIC_FILTERING
Harmonic spline interpolation (C1 sub-spline interpolation) with a monotonic filtering at the boundary points.

Method Detail

values

public static RationalFunctionInterpolation.InterpolationMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RationalFunctionInterpolation.InterpolationMethod c : RationalFunctionInterpolation.InterpolationMethod.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RationalFunctionInterpolation.InterpolationMethod valueOf(String name)
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 name
NullPointerException - if the argument is null

Copyright © 2014 Christian P. Fries.

Copyright © 2014. All rights reserved.