Searched refs:fvecp (Results 1 – 2 of 2) sorted by relevance
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
D | chkder.h | 14 const Matrix< Scalar, Dynamic, 1 > &fvecp, in chkder() 53 if (fvec[i] != 0. && fvecp[i] != 0. && abs(fvecp[i] - fvec[i]) >= epsf * abs(fvec[i])) in chkder() 54 … temp = eps * abs((fvecp[i] - fvec[i]) / eps - err[i]) / (abs(fvec[i]) + abs(fvecp[i])); in chkder()
|
/external/eigen/unsupported/test/ |
D | NonLinearOptimization.cpp | 64 VectorXd x(n), fvec(m), xp, fvecp(m), err; in testChkder() local 72 internal::chkder(x, fvec, fjac, xp, fvecp, 1, err); in testChkder() 75 fcn_chkder(xp, fvecp, fjac, 1); in testChkder() 76 internal::chkder(x, fvec, fjac, xp, fvecp, 2, err); in testChkder() 78 fvecp -= fvec; in testChkder() 102 VERIFY_IS_APPROX(fvecp, fvecp_ref); in testChkder()
|