$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] boost::multi_array equivalent for runtime number of dimensions
From: Hicham Mouline (hicham_at_[hidden])
Date: 2010-01-07 13:02:20
Hello,
I only know at runtime the dimension and extends of a multidimensional
array, though the number of dimensions is always < 10 for e.g.
Is there a container that allows this?
Otherwise, I can write code for
multi_array<T, 2>
multi_array<T, 3>
.
multi_array<T, 10>,
do a switch case on the dimensions variable, and select the appropriate
code,
regards,