Fast Implementation of the Subband Weighting for 3D Wavelet Coding
Figure 6
An example of adding two matrices with the arraylist representation. To compute , we find the elements with the same value in the linklists connected to and . If any two elements are found, the values of these two elements are multiplied. Then, the summation of the products is the value of . To store the matrix , two empty arraylists and are created. Two elements are inserted to the arraylists to store the coefficient . The element which has the value is inserted to the linklist connected to . And the element which has the value is inserted to the linklist connected to . The arraylist representation of the matrix is stored in the arraylists and after for all are computed are inserted to the arraylists.