ComputesY = g(X) = DCT(X), where DCT type is indicated by the type arg
Y = g(X) = DCT(X)
Useful links