develooper Front page | perl.perl6.language.data | Postings from September 2000

Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes and slices

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
September 22, 2000 14:28
Subject:
Re: RFC 231 (v1) Data: Multi-dimensional arrays/hashes and slices
Message ID:
20000922172854.A5627@monk.mps.ohio-state.edu
On Fri, Sep 22, 2000 at 05:24:55PM -0400, Karl Glazebrook wrote:
> It's now boiling down to a matter of opinion and we'll have to agree to 
> differ. Of course I use array arithmetic all the time as a heavy PDL
> user.

...Do you say you are confused by using vectors (=scalars) instead of
arrays?

> > Moveover,
> > 
> >   $x = 3 * @_;
> > 
> > suddently being equivalent to
> > 
> >   $x = @_;
> > 
> > does not look very promising...
> 
> But would it not be easy to catch and warned by a p5tp6 converter?

Why converters?  I'm discussing Perl6 now, not converters.

> > No, you do not use "a special PDL array", you use "a vector".
> > A subtle change in wording - and no conflict.
> 
> sure, but vector to me means 1D and also some sort of transformation
> properties whereas a PDL array is just a N-dim square container.

An N-dim container is just a vector which contains vectors...

Ilya

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About