Fast Implementation of the Subband Weighting for 3D Wavelet Coding
Figure 5
An example of adding two matrices with the arraylist representation. First, two arraylists and are created by cloning and . For all, we move the linklists and to the tails of the linklists and , respectively. For any linklist in , if any two elements, which are denoted by and , have the same value, the elements and are removed (if ), then value of the element is assigned as . This procedure continues until no elements in a linklist have the same value. Then, the arraylists and are the arraylist representation of .