NAG Library Manual, Mark 29.3
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_wav_dim2_init (c09abc) Example Program Results

 Parameters read from file :: 
 MLDWT :: Wavelet  : Nag_Haar
          End mode : Nag_WholePointSymmetric
          m        : 6
          n        : 6

 Input Data     A :
    6.0000   7.0000   8.0000   0.0000   1.0000   9.0000
    9.0000   1.0000   9.0000   9.0000   2.0000   8.0000
    3.0000   0.0000   4.0000   1.0000   3.0000   1.0000
    2.0000   5.0000   9.0000   4.0000   4.0000   2.0000
    1.0000   8.0000   3.0000   3.0000   5.0000   3.0000
    8.0000   1.0000   6.0000   4.0000   6.0000   1.0000

 Length of wavelet filter :             2 

 Number of Levels : 2
 Number of coefficients in 1st dimension for each level :
       2        3 
 Number of coefficients in 2nd dimension for each level :
       2        3 
 Total number of wavelet coefficients :         43 

 Wavelet coefficients c :  
 19.2500  15.5000  18.5000  14.7500  -2.7500  -1.5000  -3.5000  -2.2500
  5.2500   1.5000   4.5000   0.7500   1.2500   2.5000   0.5000   1.7500
  3.5000   0.0000   0.0000   4.0000   4.0000   1.0000  -7.0000   2.0000
  3.5000   1.5000  -2.0000   0.0000  -5.0000  -4.0000  -2.0000   0.0000
 -1.0000   0.5000  -4.5000   3.0000  -7.0000   4.0000  -1.0000  -1.0000
 -1.0000   0.0000  -1.5000 

 Type 1 coefficients at selected wavelet level 1 :
    3.5000   4.0000  -7.0000
    0.0000   4.0000   2.0000
    0.0000   1.0000   3.5000

 Reconstruction           B :
    6.0000   7.0000   8.0000   0.0000   1.0000   9.0000
    9.0000   1.0000   9.0000   9.0000   2.0000   8.0000
    3.0000   0.0000   4.0000   1.0000   3.0000   1.0000
    2.0000   5.0000   9.0000   4.0000   4.0000   2.0000
    1.0000   8.0000   3.0000   3.0000   5.0000   3.0000
    8.0000   1.0000   6.0000   4.0000   6.0000   1.0000