raw import of covar() : this is the last one, and we now do not depend on

the cminpack library anymore.
This commit is contained in:
Thomas Capricelli
2009-08-22 06:44:41 +02:00
parent 16061a46db
commit aa3a7c3303
4 changed files with 131 additions and 13 deletions

View File

@@ -36,10 +36,6 @@ namespace Eigen {
*/
//@{
#if 1
#include <cminpack.h>
#else
/* Declarations for minpack */
typedef int (*minpack_func_nn)(void *p, int n, const double *x, double *fvec, int iflag );
typedef int (*minpack_funcder_nn)(void *p, int n, const double *x, double *fvec, double *fjac, int ldfjac, int iflag );
@@ -47,9 +43,6 @@ typedef int (*minpack_func_mn)(void *p, int m, int n, const double *x, double *f
typedef int (*minpack_funcder_mn)(void *p, int m, int n, const double *x, double *fvec, double *fjac, int ldfjac, int iflag );
typedef int (*minpack_funcderstr_mn)(void *p, int m, int n, const double *x, double *fvec, double *fjrow, int iflag );
void covar(int n, double *r__, int ldr, const int *ipvt, double tol, double *wa);
#endif
#include "src/NonLinear/qrsolv.h"
#include "src/NonLinear/r1updt.h"
#include "src/NonLinear/r1mpyq.h"