public interface RealTransformer
Such transforms include sine transform
,
cosine transform
or Hadamard transform
. Fourier transform
is of a different kind and does not implement this
interface since it produces complex
results instead of real ones.
Modifier and Type | Method and Description |
---|---|
double[] |
inversetransform(double[] f)
Inversely transform the given real data set.
|
double[] |
inversetransform(UnivariateRealFunction f,
double min,
double max,
int n)
Inversely transform the given real function, sampled on the given interval.
|
double[] |
transform(double[] f)
Transform the given real data set.
|
double[] |
transform(UnivariateRealFunction f,
double min,
double max,
int n)
Transform the given real function, sampled on the given interval.
|
double[] transform(double[] f) throws java.lang.IllegalArgumentException
f
- the real data array to be transformed (signal)java.lang.IllegalArgumentException
- if any parameters are invaliddouble[] transform(UnivariateRealFunction f, double min, double max, int n) throws FunctionEvaluationException, java.lang.IllegalArgumentException
f
- the function to be sampled and transformedmin
- the lower bound for the intervalmax
- the upper bound for the intervaln
- the number of sample pointsFunctionEvaluationException
- if function cannot be evaluated at some pointjava.lang.IllegalArgumentException
- if any parameters are invaliddouble[] inversetransform(double[] f) throws java.lang.IllegalArgumentException
f
- the real data array to be inversely transformed (spectrum)java.lang.IllegalArgumentException
- if any parameters are invaliddouble[] inversetransform(UnivariateRealFunction f, double min, double max, int n) throws FunctionEvaluationException, java.lang.IllegalArgumentException
f
- the function to be sampled and inversely transformedmin
- the lower bound for the intervalmax
- the upper bound for the intervaln
- the number of sample pointsFunctionEvaluationException
- if function cannot be evaluated at some pointjava.lang.IllegalArgumentException
- if any parameters are invalidCopyright © 2010 - 2020 Adobe. All Rights Reserved