d00mvw
03-21-2008, 05:01 PM
Hi Everyone
I'm trying to solve a linear set of equations i.e. Ax=B. I've implemented ludcmp and lubksb in C and run the example program xlubksb using the test matrices.
However, in constructing my own set of equations to be solved the complier just crashes (with no indication of what the error is) when the number of equations, n, becomes >34. That is, it works fine for 34 equations but falls over when trying to do 35 (i.e. A=[35][35]). Has anyone else experienced this problem?
Many thanks
James
I'm trying to solve a linear set of equations i.e. Ax=B. I've implemented ludcmp and lubksb in C and run the example program xlubksb using the test matrices.
However, in constructing my own set of equations to be solved the complier just crashes (with no indication of what the error is) when the number of equations, n, becomes >34. That is, it works fine for 34 equations but falls over when trying to do 35 (i.e. A=[35][35]). Has anyone else experienced this problem?
Many thanks
James