Enum Class DataLayout2D

java.lang.Object
java.lang.Enum<DataLayout2D>
ffx.numerics.fft.DataLayout2D
All Implemented Interfaces:
Serializable, Comparable<DataLayout2D>, Constable

public enum DataLayout2D extends Enum<DataLayout2D>
The Complex FFT supports interleaved or blocked data.

For interleaved data, the complex data is stored in the following way:

 Re(d[i]) = data[offset + stride*i]
 Im(d[i]) = data[offset + stride*i + 1]
 

For blocked data, the complex data is stored in the following way:

 Re(d[i]) = data[offset + stride*i]
 Im(d[i]) = data[offset + stride*i + im]
 where the offset to the imaginary part is specified by the im parameter.
 For BLOCKED_X, im = nX.
 For BLOCKED_XY, im >= nX*nY.
 
  • Enum Constant Details

    • INTERLEAVED

      public static final DataLayout2D INTERLEAVED
      Interleaved data layout.
    • BLOCKED_X

      public static final DataLayout2D BLOCKED_X
      Blocked data layout with im = nX.
    • BLOCKED_XY

      public static final DataLayout2D BLOCKED_XY
      Blocked data layout with im >= nX*nY.
  • Method Details

    • values

      public static DataLayout2D[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataLayout2D valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null