Or you could complain about how I'm wrong some more. I have not programmed this or tried to... but it still seems to me I'm obviously right plus was all along...
FWL: I'll take option 2, thanks. Screenshots of
listing (sans comments) of program implementing algorithms under discussion at
https://www.dropbox.com/s/3cr364xiw628i23/given_p0.tiff ;
output of column-by-column algorithm test result at
https://www.dropbox.com/s/uwsmq2habm4tfgp/given_p1.tiff ;
output of triangular algorithm test result at
--ok, I immediately see from that last URL that you did it wrong. A0 to A1 looks reasonable. A1 to A2 is already wrong because note row #2 was left unaltered (should have changed) but row #1 changed (should have been unaltered). Remember we are doing adjacent Givens's as per request so it would have been only rows 2 & 3 being affected during the transition from A1 to A2 zeroing first entry in row #3. Look, I really do not want to debug your code for you line by line. But you ought to perform the most trivial inspection of your output before telling me I'm a horse. -- Warren D. Smith http://RangeVoting.org <-- add your endorsement (by clicking "endorse" as 1st step)