Baris wrote:

> PDL has PP, which is very nice, but you still need to compile the code (Is
> this correct? Is there any documentation about how to compile pp code?).

There is. It's towards the end of the PP manpage.


>  sub sumit{
>            my @a = @_;
>                 $tmp = 0;
>                 loop $i (@a, [0]) {
>                  $tmp += $a[$i];
>             }
>             my $b = tmp;
>             return $b;
>    }
> 

We envisage things like this for a future PDL/Perl6 (see past
discussions on pdl-porters). Probably more perlish looking than above
example. The Perl 6 numerical initiative it also eager to provide
optimizations to this end. It's all a question of time ;)

  Christian

Reply via email to