thogonalize : bool, optional
    Whether to use the orthogonalized IDCT variant (see Notes).
    Defaults to ``True`` when ``norm="ortho"`` and ``False`` otherwise.

    .. versionadded:: 1.8.0

Returns
-------
y : ndarray of real
    The transformed input array.

See Also
--------
dctn : multidimensional DCT

Notes
-----
For full details of the IDCT types and normalization modes, as well as
references, see `idct`.

Examples
--------
>>> import numpy as np
>>> from scipy.fft import dctn, idctn
>>> rng = np.random.default_rng()
>>> y = rng.standard_normal((16, 16))
>>> np.allclose(y, idctn(dctn(y)))
True

r