|
JTransforms 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.emory.mathcs.jtransforms.dst.FloatDST_3D
public class FloatDST_3D
Computes 3D Discrete Sine Transform (DST) of single precision data. The sizes of all three dimensions can be arbitrary numbers. This is a parallel implementation optimized for SMP systems.
| Constructor Summary | |
|---|---|
FloatDST_3D(int n1,
int n2,
int n3)
Creates new instance of FloatDST_3D. |
|
| Method Summary | |
|---|---|
void |
forward(float[][][] a,
boolean scale)
Computes the 3D forward DST (DST-II) leaving the result in a
. |
void |
forward(float[] a,
boolean scale)
Computes the 3D forward DST (DST-II) leaving the result in a
. |
void |
inverse(float[][][] a,
boolean scale)
Computes the 3D inverse DST (DST-III) leaving the result in a. |
void |
inverse(float[] a,
boolean scale)
Computes the 3D inverse DST (DST-III) leaving the result in a. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FloatDST_3D(int n1,
int n2,
int n3)
n1 - number of slicesn2 - number of rowsn3 - number of columns| Method Detail |
|---|
public void forward(float[] a,
boolean scale)
a
. The data is stored in 1D array addressed in slice-major, then
row-major, then column-major, in order of significance, i.e. the element
(i,j,k) of 3D array x[n1][n2][n3] is stored in a[i*sliceStride +
j*rowStride + k], where sliceStride = n2 * n3 and rowStride = n3.
a - data to transformscale - if true then scaling is performed
public void forward(float[][][] a,
boolean scale)
a
. The data is stored in 3D array.
a - data to transformscale - if true then scaling is performed
public void inverse(float[] a,
boolean scale)
a. The data is stored in 1D array addressed in slice-major,
then row-major, then column-major, in order of significance, i.e. the
element (i,j,k) of 3D array x[n1][n2][n3] is stored in a[i*sliceStride +
j*rowStride + k], where sliceStride = n2 * n3 and rowStride = n3.
a - data to transformscale - if true then scaling is performed
public void inverse(float[][][] a,
boolean scale)
a. The data is stored in 3D array.
a - data to transformscale - if true then scaling is performed
|
JTransforms 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||