By operations count and direct measurement about
% of the cpu time
required to execute this wavelet-Galerkin algorithm is spent in
evaluating the product terms.
Consider the product terms for the three term connection coefficients.
These would appear in the acoustic wave equation with
.
Let
and
be the real
matricies
of coefficients that depend on the wavelet basis.
Let
and
be
the
matrices of coefficients
centered on the
element. Then
The unoptimized evaluation of these expressions requires
floating point operations for a complete evaluation of the product terms.
If we know
then
is the matrix that shifts the columns to the left
by one column and assigns the null column to last one
and
is the matrix with null columns except the
last one which is the last column of
. This
reduces the operation count to
A similar optimization exists for the four term connection coefficients.
This type of procedure is suitable for parallel implementations
since the data structures are, more or less, local. However, even
with this optimization the four term evaluations are expensive.
Further optimizations take into account the structure
of the connection coefficients
applied to piecewise constant
and
.