|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CubicInterpolator.Method>
edu.mines.jtk.util.CubicInterpolator.Method
public static enum CubicInterpolator.Method
The method used for piecewise cubic interpolation.
If linear, then the interpolated function is continuous, but has discontinuous 1st and higher derivatives. This method is equivalent to (though less efficient than) simple linear interpolation.
If monotonic, then the interpolation is continuous with continuous 1st derivative, but discontinuous 2nd and higher derivatives. This method preserves monotonicity. If function values specified at the knots are monotonic, then interpolated function values are also monotonic.
If spline, then the interpolation is continuous with continuous 1st and 2nd derivatives, but discontinuous 3rd and higher and discontinuous higher order derivatives.
| Enum Constant Summary | |
|---|---|
LINEAR
|
|
MONOTONIC
|
|
SPLINE
|
|
| Method Summary | |
|---|---|
static CubicInterpolator.Method |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CubicInterpolator.Method[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CubicInterpolator.Method LINEAR
public static final CubicInterpolator.Method MONOTONIC
public static final CubicInterpolator.Method SPLINE
| Method Detail |
|---|
public static final CubicInterpolator.Method[] values()
for(CubicInterpolator.Method c : CubicInterpolator.Method.values())
System.out.println(c);
public static CubicInterpolator.Method valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||