The use of multi-dimensional arrays is quite common in the numerical field
whether to perform dense matrix operations or to process images. It exist
many libraries which implement such object classes overloading their basic
(), etc.). However, such operation
becomes more delicate when the underlying data layout is segmented or when
it is mandatory to use optimized linear algebra subroutines (i.e. BLAS
Our solution is thus to relax the level of abstraction by allowing the user to work not directly on n-dimensionnal data, but on "n-dimensionnal collections of 1-D arrays". The use of well-accepted techniques on contiguous data is thus preserved at the segment level, and the composability of the segments is made possible thanks to multi-dimensional array -inspired access mode.