I was trying to calculate atan2() of a [2,N] pdl
and got the following error:

  pdl> p $allind->shape
  [2 40]

  pdl> p atan2($allind->using(0,1))
  Compile error: Not enough arguments for atan2 at (eval 495) line 7, near "))

  "
  BEGIN not safe after errors--compilation aborted at (eval 495) line 7.

The problem is that the prototype for atan2() appears to
require two piddle arguments, specifically.  Does anyone
know if there is a way to make the above work or is
this a restriction of the current PDL implementation?

Thanks,
Chris

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

Reply via email to