计算机科学 > 数据结构与算法
[提交于 2010年8月17日]
标题:Runtime-Flexible Multi-dimensional Arrays and Views for C++98 and C++0x
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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
提交历史
来自:Bjoern Andres[v1] 2010年8月17日 星期二 14:50:56 UTC