public class DoubleDHT_2D extends Object
Constructor and Description |
---|
DoubleDHT_2D(long rows,
long columns)
Creates new instance of DoubleDHT_2D.
|
Modifier and Type | Method and Description |
---|---|
void |
forward(double[] a)
Computes 2D real, forward DHT leaving the result in
a . |
void |
forward(double[][] a)
Computes 2D real, forward DHT leaving the result in
a . |
void |
forward(pl.edu.icm.jlargearrays.DoubleLargeArray a)
Computes 2D real, forward DHT leaving the result in
a . |
void |
inverse(double[][] a,
boolean scale)
Computes 2D real, inverse DHT leaving the result in
a . |
void |
inverse(double[] a,
boolean scale)
Computes 2D real, inverse DHT leaving the result in
a . |
void |
inverse(pl.edu.icm.jlargearrays.DoubleLargeArray a,
boolean scale)
Computes 2D real, inverse DHT leaving the result in
a . |
public DoubleDHT_2D(long rows, long columns)
rows
- number of rowscolumns
- number of columnspublic void forward(double[] a)
a
. The
data is stored in 1D array in row-major order.a
- data to transformpublic void forward(pl.edu.icm.jlargearrays.DoubleLargeArray a)
a
. The
data is stored in 1D array in row-major order.a
- data to transformpublic void forward(double[][] a)
a
. The
data is stored in 2D array.a
- data to transformpublic void inverse(double[] 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(pl.edu.icm.jlargearrays.DoubleLargeArray 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(double[][] a, boolean scale)
a
. The
data is stored in 2D array.a
- data to transformscale
- if true then scaling is performedCopyright © 2015. All rights reserved.