English
 
Help Privacy Policy Disclaimer
  Advanced SearchBrowse

Item

ITEM ACTIONSEXPORT

Released

Paper

Runtime-flexible Multi-dimensional Arrays and Views for C++98 and C++0x

MPS-Authors
There are no MPG-Authors in the publication available
External Resource
No external resources are shared
Fulltext (restricted access)
There are currently no full texts shared for your IP range.
Fulltext (public)

arXiv:1008.2909.pdf
(Preprint), 416KB

Supplementary Material (public)
There is no public supplementary material available
Citation

Andres, B., Koethe, U., Kroeger, T., & Hamprecht, F. A. (2010). Runtime-flexible Multi-dimensional Arrays and Views for C++98 and C++0x. Retrieved from http://arxiv.org/abs/1008.2909.


Cite as: https://hdl.handle.net/11858/00-001M-0000-0018-99A8-B
Abstract
Multi-dimensional arrays are among the most fundamental and most useful data structures of all. In C++, excellent template libraries exist for arrays whose dimension is fixed at runtime. Arrays whose dimension can change at runtime have been implemented in C. However, a generic object-oriented C++ implementation of runtime-flexible arrays has so far been missing. In this article, we discuss our new implementation called Marray, a package of class templates that fills this gap. Marray is based on views as an underlying concept. This concept brings some of the flexibility known from script languages such as R and MATLAB to C++. Marray is free both for commercial and non-commercial use and is publicly available from www.andres.sc/marray