Re: [multi] Formal Review Begins

Klemens Morgenstern via Boost <[email protected]>
Newsgroups gmane.comp.lib.boost.devel
Message-ID <CAGT5OKMOk2yYwVp8aJJDfNe74b4uupwQjSNNDXwijKB=-3FDgw@mail.gmail.com>
On Wed, Mar 11, 2026 at 8:21 PM Rainer Deyke via Boost <
[email protected]> 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 - [email protected]
>
> _______________________________________________
> Boost mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
> Archived at:
> https://lists.boost.org/archives/list/[email protected]/message/3CEJKGPD6NCZNIU7XDIOSCKSBLFEPRUQ/
>
_______________________________________________
Boost mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.boost.org/mailman3/lists/boost.lists.boost.org/
Archived at: https://lists.boost.org/archives/list/[email protected]/message/X77X6QC6GC7BKDCU3DI7YV5BJ5YV3ASN/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.