Hi Chris,

I just tried what you suggested, but now I seem to get a different kind of 
error:

"Slice cannot start or end above limit at
/usr/lib64/perl5/vendor_perl/PDL/Core.pm line 799."

Code below. Ideas?

#!/usr/bin/perl

 use PDL;
 use PDL::Matrix;
 use PDL::Transform;

 $a = zeroes(1,2, 10);
  for ($i = 0; $i < 10; $i++) {
    $a->set(0,0,$i,$i);
    $a->set(0,1,$i,$i);
  }
 print $a;

 $f = t_linear(s=>3);
 $d= $a->apply($f);

 print $d;



_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to