davidberkowitz
01-22-2004, 08:00 AM
Hello.
Chapter 2-6 is a bit unclear on this point. The text reads as if the algorithm depends on the fact that M<=N. But then it says "For an arbitrary matrix A...".
Empirical evidence suggests that the number of rows cannot exceed the number of columns. In that case, the code crashes badly. Note I am not a new user of svdcmp as I have been happily using it on matrices large and small literally millionos of times.
Any clarification of intended support or experience to the contrary would be appreciated. I am not a professional math person so if there is a workaround I would be glad to know it. For example, can I transpose the matrix first?
Thanks for your attention.
Chapter 2-6 is a bit unclear on this point. The text reads as if the algorithm depends on the fact that M<=N. But then it says "For an arbitrary matrix A...".
Empirical evidence suggests that the number of rows cannot exceed the number of columns. In that case, the code crashes badly. Note I am not a new user of svdcmp as I have been happily using it on matrices large and small literally millionos of times.
Any clarification of intended support or experience to the contrary would be appreciated. I am not a professional math person so if there is a workaround I would be glad to know it. For example, can I transpose the matrix first?
Thanks for your attention.