Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=c_int), | value | :: | n | The number of data points. |
||
integer(kind=c_int), | value | :: | p | The number of parameters to fit. |
||
real(kind=c_double) | :: | xm(p*n) | A real 1d array of size p*n containing all the fit models evaluated at all data points. |
|||
real(kind=c_double) | :: | yv(n) | A real 1d array of size n that contains all the observed data values. |
|||
real(kind=c_double) | :: | cv(p) | A real 1d array of size p that on output contains the best fit parameters. |
|||
real(kind=c_double) | :: | covm(p*p) | A real 1d array of size p*p that on output contains the covariance matrix. |
|||
real(kind=c_double) | :: | chisq | A real variable that on output contains the sum of squares of the residuals. |
|||
integer(kind=c_int) | :: | ierr | An error code for the call to the C-routine. |
Interface to a C-routine that sets up the data structures needed for calling the GSL routine gsl_multifit_linear.