11 Mar
2026
11 Mar
'26
12:21 p.m.
On 3/8/26 15:08, Klemens Morgenstern via Boost wrote:
I think the names are off, e.g. `multi::array` behaves like a `std::vector`.
It really doesn't. In math, a vector is a 1D array of coordinates, representing a magnitude and a direction. std::vector is already poorly named, since it doesn't provide any of the mathematical operations of a real vector, but does at least keep the core concepts: it is an array, and it is 1D. A 2D array in math is a matrix, not a vector. In addition, multi::array doesn't provide the core features of std::vector, such as push_back or insert or erase. -- Rainer Deyke - rainerd@eldwood.com