[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

details Multi-dimensional Array Tags VIGRA

Classes

struct  ChunkedArrayTag
 
struct  StridedArrayTag
 
struct  UnstridedArrayTag
 

Detailed Description

Meta-programming tags to mark array's as strided, unstrided, or chunked.

An array is unstrided if the array elements occupy consecutive memory locations, strided if adjacent elements have a constant offset (e.g. when a view skips every other array element), and chunked if the array is stored in rectangular blocks with arbitrary offsets inbetween.

These tags are used to specialize algorithms for different memory layouts. Older compilers can generate faster code for unstrided arrays. Normally, users don't have to worry about these tags.

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.11.1 (Fri May 19 2017)