Re: [Tutor] least squares

2004-12-18 Thread Jacob S.
Hey, now. I know that some of us are newbies to python, but that doesn't mean that we're all newbies to math concepts. (Even advanced ones.) Having said that, I will shut my fat mouth now because it will be my luck that the math is beyond what I can handle. I wouldn't mind seeing the code. Even if

Re: [Tutor] least squares

2004-12-17 Thread Kent Johnson
Have you tried contacting the author of the Scientific package? His email address is on the main web page. Kent mdcooper wrote: Hi Danny, Thanks for the reply - I was purposely vague just to see what people would ask for. The code uses LinearAlgebra.py from Numeric and LeastSquares.py from Sci

RE: [Tutor] least squares

2004-12-17 Thread Danny Yoo
On Thu, 16 Dec 2004, mdcooper wrote: > I am trying to get a corrolation between a large number of variables and for > many similar equations : >(Ca1 * xa^2) + (Ca2 * ya^2) + (Ca3 * za^2) + ... = ta >(Cb1 * xb^2) + (Cb2 * yb^2) + (Cb3 * zb^2) + ... = tb > > which is solved to get: >(

RE: [Tutor] least squares

2004-12-16 Thread mdcooper
Hi Danny, Thanks for the reply - I was purposely vague just to see what people would ask for. The code uses LinearAlgebra.py from Numeric and LeastSquares.py from Scientific. I am trying to get a corrolation between a large number of variables and for many similar equations : (Ca1 * xa^2)

RE: [Tutor] least squares

2004-12-16 Thread mdcooper
Hi Danny, Thanks for the reply - I was purposely vague just to see what people would ask for. The code uses LinearAlgebra.py from Numeric and LeastSquares.py from Scientific. I am trying to get a corrolation between a large number of variables and for many similar equations : (Ca1 * xa^2)

Re: [Tutor] least squares

2004-12-16 Thread Jason Child
well, not sure if there is a module with the function you are looking for, but... #sloppy as hell method: #... if str(my_returned_value).find("-") != -1: return my_returned_value #or whatever you want to do with it #... #slightly less sloppy as hell method: if my_returned_value < 0: return

Re: [Tutor] least squares

2004-12-16 Thread Danny Yoo
On Thu, 16 Dec 2004, mdcooper wrote: > I am trying to run a least squares program (written by Konrad Hinsen) Hi Matthew, You're assuming that we know who Konrad Hinsen is. *grin* Ok, when you're referring to the least-squared code, are you referring to a module in Scientific Python? Please p