plfreeman
08-07-2006, 08:00 AM
I have added svdcmp to an SVD object class that I wrote. When I test the routine, I do get a valid SVD back but the sigular values are not sorted from largest to smallest.
1) Did I make a coding error when I copied over the routine, or is this the expected behaviour for svdcmp?
2) If this is the expected behaviour, what modifications are needed to efficiently sort S, U, and V?
Phil
1) Did I make a coding error when I copied over the routine, or is this the expected behaviour for svdcmp?
2) If this is the expected behaviour, what modifications are needed to efficiently sort S, U, and V?
Phil