Hi Ben-
I don't have experience with the PDL::LinearAlgebra::Complex routines so
I'm forwarding your message to the pdl-general mailing list at sf.net which
is where PDL support is handled. Maybe another PDL user will have
experience using the cgtri() routine for complex matrix inversions. Please
see http://lists.sourceforge.net/lists/listinfo/pdl-general
to sign up for the mailing list.
Regards,
Chris
On Thu, Jun 25, 2015 at 1:07 AM, Benjamin Silva <[email protected]>
wrote:
> Hi Chris,
>
> I hope that you don't mind me contacting you directly, but I'm a bit stuck
> and I don't really know where else to turn. Years ago, I had written some
> subroutines in perl that did inversion of complex matrices, but they're of
> course very slow. I mean VERY slow. I have recently been trying to get
> PDL to work just to see how terrible my previous work was, and I've got it
> working for real matrices. It's very fast, as expected. However, when I
> try to implement the PDL module for complex matrices, I cannot get it to
> work.
>
> I've attached two files here. The first one is for real matrices, and I'm
> comparing PDL::Slatec with PDL::LinearAlgebra with my old subroutine that
> was written for complex numbers, but should still work for real as well
> (please don't laugh at my code too hard!). The second file is my best
> attempt at getting complex to work using the 'cgetri' subroutine, but it
> just crashes perl on me when I run it.
>
> Do you have any insight or can you send me some examples of how to use PDL
> to do matrix inversion on matrices of complex numbers? Failing that, any
> links or documents you can point me to? I've been using perl for a while,
> but I'd say my skills are quite sub-par. I'm not really a coder, so it's
> hard for me to understand a lot of the code I see.
>
> Thanks for any help or guidance you can lend!
> -Ben
>
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general