public class CosineTransform extends ATransformFilter
f = {f(k): k = 1 to n} of a time series
T = {T(i): i = 1 to n } is defined as
f(k) = sum_{i=1}^{n} T(i) * cos[(PI/n)*(i-0.5)*(k-1)].| Constructor and Description |
|---|
CosineTransform() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
transform(double[] input)
This function transforms only a single instance.
|
fit, fit, fit, fitTransform, fitTransform, fitTransform, transform, transformpublic double[] transform(double[] input)
IFilterinput - the to transform instance