Re: no feedback on srfi-164 Enhanced multi-dimensional Arrays
Marc Nieper-WiÃkirchen 18 Dec 2018 14:44 UTC
Am Di., 18. Dez. 2018 um 03:31 Uhr schrieb Per Bothner <xxxxxx@bothner.com>:
>
> On 12/16/18 3:33 PM, Bradley Lucier wrote:
> > I've spent some time in the past few days reviewing what terms authors have used for cross products of one-dimensional real, bounded, intervals and found
> >
> > cuboid
> > $d$-rectangle (in $d$ dimensions)
> > parallelepiped
> > box
> > cell
> >
> > Some of these terms are already used in various programming languages.
>
> But we're not talking about *real* intervals - we're talking about "intervals"
> of (exact) integers. Do mathematicians use the term "interval" for sets
> restricted to consecutive integers or cartesian products thereof?
Usually, an interval is a connected subset of the real line. More
generally, the notion of an interval can be defined for any totally
ordered set (as I did earlier) but this generalization isn't used very
often.
>
> The term "shape" or "array-shape" is used by SRFI 25.
> The work "shape" is also used by Racket, NumPy, and APL, though since all
> only support lower bounds of 0, their shape is a simple vector.
> --
> --Per Bothner
> xxxxxx@bothner.com http://per.bothner.com/