In the mathematical topic of wavelet theory, the **cascade algorithm** is a numerical method for calculating function values of the basic scaling and wavelet functions of a discrete wavelet transform using an iterative algorithm. It starts from values on a coarse sequence of sampling points and produces values for successively more densely spaced sequences of sampling points. Because it applies the same operation over and over to the output of the previous application, it is known as the *cascade algorithm*.

##
Successive approximation

The iterative algorithm generates successive approximations to ψ(*t*) or φ(*t*) from {*h*} and {*g*} filter coefficients. If the algorithm converges to a fixed point, then that fixed point is the basic scaling function or wavelet.

The iterations are defined by

- $\varphi ^{(k+1)}(t)=\sum _{n=0}^{N-1}h[n]{\sqrt {2))\varphi ^{(k)}(2t-n)$

For the *k*th iteration, where an initial φ^{(0)}(*t*) must be given.

The frequency domain estimates of the basic scaling function is given by

- $\Phi ^{(k+1)}(\omega )={\frac {1}{\sqrt {2))}H\left({\frac {\omega }{2))\right)\Phi ^{(k)}\left({\frac {\omega }{2))\right)$

and the limit can be viewed as an infinite product in the form

- $\Phi ^{(\infty )}(\omega )=\prod _{k=1}^{\infty }{\frac {1}{\sqrt {2))}H\left({\frac {\omega }{2^{k))}\right)\Phi ^{(\infty )}(0).$

If such a limit exists, the spectrum of the scaling function is

- $\Phi (\omega )=\prod _{k=1}^{\infty }{\frac {1}{\sqrt {2))}H\left({\frac {\omega }{2^{k))}\right)\Phi ^{(\infty )}(0)$

The limit does not depends on the initial shape assume for φ^{(0)}(*t*). This algorithm converges reliably to φ(*t*), even if it is discontinuous.

From this scaling function, the wavelet can be generated from

- $\psi (t)=\sum _{n=-\infty }^{\infty }g[n]{\sqrt {2))\varphi ^{(k)}(2t-n).$

Successive approximation can also be derived in the frequency domain.