public class FloatDST_2D extends Object
| Constructor and Description |
|---|
FloatDST_2D(int rows,
int columns)
Creates new instance of FloatDST_2D.
|
| Modifier and Type | Method and Description |
|---|---|
void |
forward(float[][] a,
boolean scale)
Computes 2D forward DST (DST-II) leaving the result in
a. |
void |
forward(float[] a,
boolean scale)
Computes 2D forward DST (DST-II) leaving the result in
a. |
void |
inverse(float[][] a,
boolean scale)
Computes 2D inverse DST (DST-III) leaving the result in
a. |
void |
inverse(float[] a,
boolean scale)
Computes 2D inverse DST (DST-III) leaving the result in
a. |
public FloatDST_2D(int rows, int columns)
rows - number of rowscolumns - number of columnspublic void forward(float[] a, boolean scale)
a.
The data is stored in 1D array in row-major order.a - data to transformscale - if true then scaling is performedpublic void forward(float[][] a, boolean scale)
a.
The data is stored in 2D array.a - data to transformscale - if true then scaling is performedpublic void inverse(float[] a, boolean scale)
a.
The data is stored in 1D array in row-major order.a - data to transformscale - if true then scaling is performedpublic void inverse(float[][] a, boolean scale)
a.
The data is stored in 2D array.a - data to transformscale - if true then scaling is performed