mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
merging ei_lmdif() and lmdif_template()
This commit is contained in:
@@ -762,7 +762,7 @@ void testLmdif()
|
||||
covar_ftol = epsilon<double>();
|
||||
covfac = fnorm*fnorm/(m-n);
|
||||
VectorXd wa(n);
|
||||
// ipvt.cwise()+=1; // covar() expects the fortran convention (as qrfac provides)
|
||||
ipvt.cwise()+=1; // covar() expects the fortran convention (as qrfac provides)
|
||||
covar(n, fjac.data(), m, ipvt.data(), covar_ftol, wa.data());
|
||||
|
||||
MatrixXd cov_ref(n,n);
|
||||
|
||||
Reference in New Issue
Block a user