Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: problem with complex matrix multiplication using PDL

by smh (Novice)
on Oct 09, 2012 at 04:27 UTC ( #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


Comment on Re^2: problem with complex matrix multiplication using PDL
Download Code
Re^3: problem with complex matrix multiplication using PDL
by Athanasius (Monsignor) 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
Node Status?
node history
Node Type: note [id://997919]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-12-27 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls