Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: problem with complex matrix multiplication using PDL

by smh (Acolyte)
on Oct 09, 2012 at 04:27 UTC ( [id://997919]=note: print w/replies, xml ) Need Help??


in reply to Re: problem with complex matrix multiplication using PDL
in thread problem with complex matrix multiplication using PDL

Hi , Thanks a lot. I tried your code and keep getting this error.

smh> perl -w math_matrix.pl syntax error at math_matrix.pl line 9, near "{ " Execution of math_matrix.pl aborted due to compilation errors.

If this works, it will do what I need. Regards, smh

Replies are listed 'Best First'.
Re^3: problem with complex matrix multiplication using PDL
by Athanasius (Archbishop) on Oct 09, 2012 at 06:37 UTC

    Looks like you’re using an older version of Perl. Change the code to:

    { package Math::Matrix; ...

    This should remove the compile error. However, the inverse calculations will likely be incorrect. If so, upgrade Math::Complex to the latest version (1.59), and you should be set to go.

    Athanasius <°(((><contra mundum

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://997919]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found