22 typedef int (*minpack_func_nn)(
void *p,
int n,
const double *x,
double *fvec,
int iflag );
30 typedef int (*minpack_funcder_nn)(
void *p,
int n,
const double *x,
double *fvec,
double *fjac,
31 int ldfjac,
int iflag );
37 typedef int (*minpack_func_mn)(
void *p,
int m,
int n,
const double *x,
double *fvec,
46 typedef int (*minpack_funcder_mn)(
void *p,
int m,
int n,
const double *x,
double *fvec,
47 double *fjac,
int ldfjac,
int iflag );
55 typedef int (*minpack_funcderstr_mn)(
void *p,
int m,
int n,
const double *x,
double *fvec,
56 double *fjrow,
int iflag );
73 int hybrd1 ( minpack_func_nn fcn,
74 void *p,
int n,
double *x,
double *fvec,
double tol,
75 double *wa,
int lwa );
80 int hybrd ( minpack_func_nn fcn,
81 void *p,
int n,
double *x,
double *fvec,
double xtol,
int maxfev,
82 int ml,
int mu,
double epsfcn,
double *diag,
int mode,
83 double factor,
int nprint,
int *nfev,
84 double *fjac,
int ldfjac,
double *r,
int lr,
double *qtf,
85 double *wa1,
double *wa2,
double *wa3,
double *wa4);
89 int hybrj1 ( minpack_funcder_nn fcn,
void *p,
int n,
double *x,
90 double *fvec,
double *fjac,
int ldfjac,
double tol,
91 double *wa,
int lwa );
96 int hybrj ( minpack_funcder_nn fcn,
void *p,
int n,
double *x,
97 double *fvec,
double *fjac,
int ldfjac,
double xtol,
98 int maxfev,
double *diag,
int mode,
double factor,
99 int nprint,
int *nfev,
int *njev,
double *r,
100 int lr,
double *qtf,
double *wa1,
double *wa2,
101 double *wa3,
double *wa4 );
106 int lmdif1 ( minpack_func_mn fcn,
107 void *p,
int m,
int n,
double *x,
double *fvec,
double tol,
108 int *iwa,
double *wa,
int lwa );
114 int lmdif ( minpack_func_mn fcn,
115 void *p,
int m,
int n,
double *x,
double *fvec,
double ftol,
116 double xtol,
double gtol,
int maxfev,
double epsfcn,
117 double *diag,
int mode,
double factor,
int nprint,
118 int *nfev,
double *fjac,
int ldfjac,
int *ipvt,
119 double *qtf,
double *wa1,
double *wa2,
double *wa3,
125 int lmder1 ( minpack_funcder_mn fcn,
126 void *p,
int m,
int n,
double *x,
double *fvec,
double *fjac,
127 int ldfjac,
double tol,
int *ipvt,
128 double *wa,
int lwa );
133 int lmder ( minpack_funcder_mn fcn,
134 void *p,
int m,
int n,
double *x,
double *fvec,
double *fjac,
135 int ldfjac,
double ftol,
double xtol,
double gtol,
136 int maxfev,
double *diag,
int mode,
double factor,
137 int nprint,
int *nfev,
int *njev,
int *ipvt,
138 double *qtf,
double *wa1,
double *wa2,
double *wa3,
144 int lmstr1 ( minpack_funcderstr_mn fcn,
void *p,
int m,
int n,
145 double *x,
double *fvec,
double *fjac,
int ldfjac,
146 double tol,
int *ipvt,
double *wa,
int lwa );
151 int lmstr ( minpack_funcderstr_mn fcn,
void *p,
int m,
152 int n,
double *x,
double *fvec,
double *fjac,
153 int ldfjac,
double ftol,
double xtol,
double gtol,
154 int maxfev,
double *diag,
int mode,
double factor,
155 int nprint,
int *nfev,
int *njev,
int *ipvt,
156 double *qtf,
double *wa1,
double *wa2,
double *wa3,
159 void chkder (
int m,
int n,
const double *x,
double *fvec,
double *fjac,
160 int ldfjac,
double *xp,
double *fvecp,
int mode,
163 double dpmpar (
int i );
165 double enorm (
int n,
const double *x );
170 int fdjac2(minpack_func_mn fcn,
171 void *p,
int m,
int n,
double *x,
const double *fvec,
double *fjac,
172 int ldfjac,
double epsfcn,
double *wa);
178 int fdjac1(minpack_func_nn fcn,
179 void *p,
int n,
double *x,
const double *fvec,
double *fjac,
int ldfjac,
180 int ml,
int mu,
double epsfcn,
double *wa1,
184 void dogleg(
int n,
const double *r__,
int lr,
185 const double *diag,
const double *qtb,
double delta,
double *x,
186 double *wa1,
double *wa2);
187 void qrfac(
int m,
int n,
double *a,
int
188 lda,
int pivot,
int *ipvt,
int lipvt,
double *rdiag,
189 double *acnorm,
double *wa);
190 void qrsolv(
int n,
double *r__,
int ldr,
191 const int *ipvt,
const double *diag,
const double *qtb,
double *x,
192 double *sdiag,
double *wa);
193 void qform(
int m,
int n,
double *q,
int
195 void r1updt(
int m,
int n,
double *s,
int
196 ls,
const double *u,
double *v,
double *w,
int *sing);
197 void r1mpyq(
int m,
int n,
double *a,
int
198 lda,
const double *v,
const double *w);
199 void lmpar(
int n,
double *r__,
int ldr,
200 const int *ipvt,
const double *diag,
const double *qtb,
double delta,
201 double *par,
double *x,
double *sdiag,
double *wa1,
203 void rwupdt(
int n,
double *r__,
int ldr,
204 const double *w,
double *b,
double *alpha,
double *cos__,
206 void covar(
int n,
double *r__,
int ldr,
207 const int *ipvt,
double tol,
double *wa);