Bjoern Andres

Marray 3.0: Fast Runtime-Flexible Multi-dimensional Arrays and Views in C++

Copyright (c) 2013 by Bjoern Andres

Download (GitHub) • Tutorial Code • Reference manual • Technical report

Synopsis

Marray is a single header file for fast multi-dimensional arrays and views in C++. Unlike in other implementations such as boost MultiArray and Blitz++, the dimension of Marray views and arrays can be set and changed at runtime. Dimension is not a template parameter in Marray. Arrays and views that have the same type of entries but different dimension are therefore of the same C++ type (class). In conjunction with the comprehensive and convenient Marray interface, this brings some of the flexibility known from high-level languages such as Python and MATLAB to C++.

Features

License

Copyright (c) 2013 by Bjoern Andres

This software was developed by Bjoern Andres. Enquiries shall be directed to bjoern@andres.sc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This is Bjoern Andres' personal website. Copyright © 2013. Copy freely.