
Daniel Walker wrote:
On 4/13/07, Marco <mrcekets@gmail.com> wrote:
On Fri, 13 Apr 2007 20:26:17 +0200, Daniel Walker <daniel.j.walker@gmail.com> wrote:
I'm not sure if span is the right name for it, and this has got to be encroaching on UBLAS' domain. But it's doable for ranges. I just tried the following, which I believe will work for arbitrary dimensions.
Mathematically speaking, the term "span" is inappropriate: span is usually used in linear algebra to denote the space generated by all linear combinations of a set of vectors [...].
Thanks. I thought "span" might not be right. I wasn't sure if slice only referred to 1d vectors or if it could be a subspace of any dimension.
I think "slice" could be used for any number of (positive integer) dimensions. From a non-mathematical point of view, consider: * a "time slice": this is one-dimensional (the dimension is time); * a rock sliced through the middle so you can see its internal structure, which would be 2D; and * a slice of cake, which is definitely 3D (even though this doesn't reduce the original number of dimensions; if it did, the slice would have zero volume and so zero calories!)