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

Re: Proposed RFC for matrix indexing and slicing

Thread Previous | Thread Next
From:
Jeremy Howard
Date:
August 29, 2000 16:33
Subject:
Re: Proposed RFC for matrix indexing and slicing
Message ID:
001701c01211$66de42c0$0100a8c0@optimaldecisions.com
Nathan Wiger wrote:
> And I'm assuming this only returns one element, right? Because if it
> returns a list it's not a $scalar. I think by this:
> 
>    $a[[$i,$j,$k], [$x,$y,$z]];
> 
> You might actually mean this:
> 
>    @a[[$i,$j,$k], [$x,$y,$z]];
> 
Yes, that's what I meant--sorry for the confusion.



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