On Wed, Mar 11, 2026 at 8:21 PM Rainer Deyke via Boost < boost@lists.boost.org> wrote:
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.
Fair point, plus vector in computing sounds like SIMD to most non-C++ people these days. How about `tensor` ?
-- Rainer Deyke - rainerd@eldwood.com
_______________________________________________ Boost mailing list -- boost@lists.boost.org To unsubscribe send an email to boost-leave@lists.boost.org https://lists.boost.org/mailman3/lists/boost.lists.boost.org/ Archived at: https://lists.boost.org/archives/list/boost@lists.boost.org/message/3CEJKGPD...