Angharad has asked for the wisdom of the Perl Monks concerning the following question:
I was wondering what the best way to tackle this might be. I'm familisising myself with PDL which is good because it allows me to transpose matrices very easily. I was thinking in terms of something like thisA.B.A = A B.A.B = B A(transposed) = A B(transposed) = B
The Inverseinv function would then do the tests to see if B does equal A as set up above.($flag) = Inverseinv(A) # A being a matrix if(Inversepinv == 1) { B = A # where B is the transpose of A }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Moore-Penrose Pseudo-Inverse Matrix
by chas (Priest) on Aug 01, 2005 at 20:11 UTC | |
by Angharad (Pilgrim) on Aug 02, 2005 at 10:48 UTC |