Re: SRFI 214: Flexvectors
Marc Nieper-Wißkirchen 08 Oct 2020 17:32 UTC
Am Do., 8. Okt. 2020 um 11:40 Uhr schrieb Marc Nieper-Wißkirchen
<xxxxxx@nieper-wisskirchen.de>:
> ... (Especially when we think of where the term "vector"
> originally comes from.) ...
To spell it out: A Scheme vector is a vector of coordinates in some
generalized coordinate system (think of Lagrangian mechanics in case
you wonder why the coordinate domain does not have to be homogeneous
across the vector). One can equally say that a Scheme vector models a
record with indexed, but otherwise unnamed fields.
It is unfortunate that C++ misuses the vector terminology.