Arrays
Centre for Vision, Speech & Signal Processing
DEVELOP LIBRARIES AMMA SEARCH AMMA HOME
 

Arrays

AMMA arrays provide a more flexible and user-friendly substitute for the traditional C-style arrays. AMMA arrays are dynamically-allocated, and are "big" objects - i.e. they are reference-counted (see Using AMMA -> Programming Notes).

There are two types of array provided in AMMA: regular arrays and simple arrays.

  • Regular arrays: These have indices that can have any lower and upper bound. The templates are: Array1dC, Array2dC, ..., from which various templated varieties are derived.
  • Simple arrays: These have an index range from 0 to some positive number. They are somewhat faster than regular arrays when array-bound checking is turned on. The templates are: SArray1dC, SArray2dC, ..., from which various templated varieties are derived. For faster iterating over arrays, the simple arrays also have some special iterator classes: SArray1dIterC, SArray1dIter2C, SArray2dIterC, ... See under the appropriate array type for more details.

  • Subtopics:

        AMMA
            Containers
                Arrays
                    1-D Arrays
                    2-D Arrays
                    3-D Arrays
                    Buffer
    Author: Anonymous, Generated by DocEntry: March 20, 2001