Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: PDL::Complex questionby Anno (Deacon) |
on Mar 22, 2007 at 13:53 UTC ( [id://606024]=note: print w/replies, xml ) | Need Help?? |
One should think so, but it doesn't.
Conventional notation would have the 2x2 matrix left, the column vector to the right, so but that complains Swapping the factors prints The result looks like a column vector, but is numerically incorrect. BTW, it helps to cast the piddles into the PDL::Complex data type, using the cplx function. That overloads stringification so that the complex elements are printed in a x + i*y format instead of looking like pairs of reals. The numeric discrepancy remains, however. Anno
In Section
Seekers of Perl Wisdom
|
|