opticsresearch
06-25-2004, 10:16 AM
Dear Sir or Madam,
I recently bought your Numerical Recipes in C++, and am trying to figure out the function mrqmin. There appears to be several variable passed to this fuction that I cannot figure out what they are.
These are the variables that I know:
x[] -- an array of the x-data
y[] -- an array of the y-data
sig[] -- an array of the individual standard deviations (uncertain if these are in x or y)
ndata -- number of total data points
There are the variable that I do not know:
a[] -- ?
lista[] -- ?
chisq -- (assumed to be the chisq, but uncertain why this needs to be passed)
mfit -- ?
covar -- ?
funcs -- (function being fit?)
alamda -- ?
Any help would be much appreciated. Thanks in advance.
Nathan Johnson
Research Associate
Photon Transport Laboratories
I recently bought your Numerical Recipes in C++, and am trying to figure out the function mrqmin. There appears to be several variable passed to this fuction that I cannot figure out what they are.
These are the variables that I know:
x[] -- an array of the x-data
y[] -- an array of the y-data
sig[] -- an array of the individual standard deviations (uncertain if these are in x or y)
ndata -- number of total data points
There are the variable that I do not know:
a[] -- ?
lista[] -- ?
chisq -- (assumed to be the chisq, but uncertain why this needs to be passed)
mfit -- ?
covar -- ?
funcs -- (function being fit?)
alamda -- ?
Any help would be much appreciated. Thanks in advance.
Nathan Johnson
Research Associate
Photon Transport Laboratories