The lines
are likely to be incorrect. Check the syntax.006 $pdl1 = pdl (@{$matrix}[0]); ... 009 $pdl2 = pdl (@{$matrix}[$j]);
If $matrix is a 2-d array reference, you probably want to dereference that as $matrix->[0]. PDL likes array references just fine for initializing piddles.
After Compline,
Zaxo
In reply to Re: Maybe I'm just dumb...
by Zaxo
in thread Debugging a sort in PDL routine
by Evanovich
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |