               The Discrete Cosine Transform and its Inverse.
               ----------------------------------------------

Before we start:-
-----------------

DCT-II is a one dimension, 1D DCT, (Discrete Cosine Transform), inside the
archive.
DCT-III is its Inverse, also known as IDCT-II, (Inverse Discrete Cosine
Transform).
They are naive, unnormalised, and......
......DCT-II is scaled accordingly at times 2, two, to coincide with scipy's
default results, see 'DFT_Multiplier.txt' for more on this.

*****************************************************************************

A great starting point for information on one of the most important
algorithms of our time, in modern history, is here:-

           https://en.wikipedia.org/wiki/Discrete_cosine_transform

As always my code recipes are designed to work from a STOCK AMIGA A1200(HD)
OS 3.0x minimum, with at least Python 1.4.0 installed, (Python 1.3.0 for
GNU/LINUX MINT CINNAMON 22.3).
!!!YES!!! There is Python 1.3.0 that actually works on the above, as of 2026,
current ~MINT~ version. ~MINT's~ current Python Version is 3.12 x.
!!!IMPORTANT NOTE!!! this is just the README file, so you will have to go to
the Python site to obtain the matching archive...
"""
(2) A Statically linked elf executable (python-elf-static)
This should work on any elf system.
"""
It is here:-

https://legacy.python.org/download/releases/binaries-1.3/python-linux.README

*****************************************************************************

This second upload has added a RADIX-2 1D Fast Cosine Transform to the mix.

https://scispace.com/pdf/a-new-algorithm-to-compute-the-discrete-cosine-transform-5f60h5lsvo.pdf

This is Byeong Gi Lee's abstract Fast Cosine Transform algorithm, circa 1984.

# ---------------------------------------------------------------------------

Now working on a naive, 'ortho' normalised, 2D Discrete Cosine Transform, it
is all done _longhand_, read the code and you will understand!
This is theoretically JPEG compatible, but slow...

*****************************************************************************

Enjoy.

Bazza, G0LCU.

