Re: [multi] Formal Review Begins

Rainer Deyke via Boost <[email protected]>
Newsgroups gmane.comp.lib.boost.devel
Message-ID <[email protected]>
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 - [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/
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.