TITLE: DCT and Inverse DCT Formulas
QUESTION [0 upvotes]: I'm implementing DCT, but I don't see the difference with the Inverse DCT formula. Both formula are on the Wikipedia page. The difference looks to be the normalization factor, but I don't see how to implement it.
Encoding
Decoding

REPLY [0 votes]: The fourier transform is a $\pi\over 2$ rotation in the time-frequency plane (see LCT) and the inverse fourier transform $\mathcal F^{-1}\{f(x)\}$ is equivalent to $\mathcal F\{f(-x)\}$ so that kind of symmetry is to be expected. For a really simple implementation, you can just copy-paste those formulas into code.
By the way, why are you making your own implementation?
{"set_name": "stack_exchange", "score": 0, "question_id": 221325}