Package ffx.numerics.fft
Enum Class DataLayout3D
- All Implemented Interfaces:
Serializable
,Comparable<DataLayout3D>
,Constable
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. For BLOCKED_XYZ, im = nX*nY*nZ.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBlocked data layout with im = nX.Blocked data layout with im = nX*nY.Blocked data layout with im = nX*nY*nZ.Interleaved data layout. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataLayout3D
Returns the enum constant of this class with the specified name.static DataLayout3D[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERLEAVED
Interleaved data layout. -
BLOCKED_X
Blocked data layout with im = nX. -
BLOCKED_XY
Blocked data layout with im = nX*nY. -
BLOCKED_XYZ
Blocked data layout with im = nX*nY*nZ.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-