I recently tried to compute the Type-I DCT of an array in Julia using the r2r standard-library function, and got errors. I tried to execute the following minimal example:
dat = [5; 4; 3; 1];
r2r(dat, "FFTW.REDFT00")
I encountered this error message:
ERROR: r2r not defined
I can't figure out what this means. The r2r function is supposedly built-in to Julia 0.3.0, so how is it possible that it is giving a syntax error here? For comparison, the dct (Type-II discrete cosine transform) works properly on dat.
Or am I just doing a silly syntax error?
EDIT
I just tried it in Julia 0.2.1 and I got the same error. This significantly elevates the probability that I am simply being an idiot, and that the function is not broken. However, confirmation would be great! :)