edu.mines.jtk.dsp
Enum SincInterpolator.Extrapolation

java.lang.Object
  extended by java.lang.Enum<SincInterpolator.Extrapolation>
      extended by edu.mines.jtk.dsp.SincInterpolator.Extrapolation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SincInterpolator.Extrapolation>
Enclosing class:
SincInterpolator

public static enum SincInterpolator.Extrapolation
extends java.lang.Enum<SincInterpolator.Extrapolation>

The method used to extrapolate samples when interpolating. Sampled functions are defined implicitly by extrapolation outside the domain for which samples are specified explicitly, with either zero or constant values. If constant, the extrapolated values are the first and last uniform sample values. The default is extrapolation with zeros.


Enum Constant Summary
CONSTANT
           
ZERO
           
 
Method Summary
static SincInterpolator.Extrapolation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SincInterpolator.Extrapolation[] 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

ZERO

public static final SincInterpolator.Extrapolation ZERO

CONSTANT

public static final SincInterpolator.Extrapolation CONSTANT
Method Detail

values

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

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

valueOf

public static SincInterpolator.Extrapolation valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name