mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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:
@@ -247,7 +247,7 @@ void testLmder()
|
||||
covfac = fnorm*fnorm/(m-n);
|
||||
VectorXd wa(n);
|
||||
ipvt.cwise()+=1; // covar() expects the fortran convention (as qrfac provides)
|
||||
covar(n, fjac.data(), m, ipvt.data(), covar_ftol, wa.data());
|
||||
ei_covar<double>(n, fjac.data(), m, ipvt.data(), covar_ftol, wa.data());
|
||||
|
||||
MatrixXd cov_ref(n,n);
|
||||
cov_ref <<
|
||||
@@ -763,7 +763,7 @@ void testLmdif()
|
||||
covfac = fnorm*fnorm/(m-n);
|
||||
VectorXd wa(n);
|
||||
ipvt.cwise()+=1; // covar() expects the fortran convention (as qrfac provides)
|
||||
covar(n, fjac.data(), m, ipvt.data(), covar_ftol, wa.data());
|
||||
ei_covar<double>(n, fjac.data(), m, ipvt.data(), covar_ftol, wa.data());
|
||||
|
||||
MatrixXd cov_ref(n,n);
|
||||
cov_ref <<
|
||||
|
||||
Reference in New Issue
Block a user