Wavelet Transforms

see the code WT.cc

WT.exe produces three files which contain nodal values of F and wavelet coefficients respectively. Visualize the results in MATLAB by (AWFD/Sources/Examples/wt.m). Do not forget to add AWFD/MATLAB/Sources/ to the MATLABPATH environment variable!

`A=ReadUDF('../../Data/Test/A') ;
B=ReadUDF('../../Data/Test/B') ;
C=ReadUDF('../../Data/Test/C') ;
figure(1); surf(A.a) ;shading flat
figure(2); pcolor(log(abs(B.a))) ;shading flat; title 'Meyer-wavelets'
figure(3); pcolor(log(abs(C.a))) ;shading flat; title 'Anisotropic tensor product wavelets'
`

You should get the following three figures. The blue regions in figures 2 and 3 correspond to very small wavelet coefficients. Obviously there are many more small wavelet coefficients for the tensor product transform (figure 3) than for the Meyer-wavelets (figure 2). This simply means, that the anisotropic wavelets lead to a much more compact representation of the function, since the information is localized in a smaller number of large wavelet coefficients. That's essentially the idea why AWFD uses these wavelets for the solvers.