Hi Mark,

You will want to import PDL::Complex. The particulars of using it are in
http://pdl.perl.org/PDLdocs/Complex.html. Though there are some modules
that automatically have complex number support (FFTW comes to mind). I hope
that helps.

Thanks.

- Tim


On Wed, Dec 7, 2011 at 4:00 PM, <[email protected]> wrote:

> Send Perldl mailing list submissions to
>        [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
> or, via email, send a message with subject or body 'help' to
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Perldl digest..."
>
> Today's Topics:
>
>   1. sqrt of -1 (MARK BAKER)
>
>
> ---------- Forwarded message ----------
> From: MARK BAKER <[email protected]>
> To: "[email protected]" <[email protected]>
> Date: Wed, 7 Dec 2011 13:10:48 -0800 (PST)
> Subject: [Perldl] sqrt of -1
>
> HI all I tried to use the sqrt of negative one in one of my PDL piddles
> and
> to no avial I was wondering didnt I hear that there is a  "i"
> functionality in PDL
> or is there a PDL module that Im not using  ???
>
> If any one can tell me anything please let me know...
>
> Thanks Cheers
>
> Mark R Baker
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to