/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
chkder.h | 11 const Matrix< Scalar, Dynamic, 1 > &fvec, 26 const Index m = fvec.size(), n = x.size(); 49 if (fvec[i] != 0. && fvecp[i] != 0. && abs(fvecp[i] - fvec[i]) >= epsf * abs(fvec[i])) 50 temp = eps * abs((fvecp[i] - fvec[i]) / eps - err[i]) / (abs(fvec[i]) + abs(fvecp[i]));
|
fdjac1.h | 9 Matrix< Scalar, Dynamic, 1 > &fvec, 27 assert(fvec.size()==n); 45 fjac.col(j) = (wa1-fvec)/h; 67 fjac.col(j).segment(start, length) = ( wa1.segment(start, length)-fvec.segment(start, length))/h;
|
HybridNonLinearSolver.h | 91 FVectorType fvec, qtf, diag; member in class:Eigen::HybridNonLinearSolver 148 fvec.resize(n); 170 if ( functor(x, fvec) < 0) 172 fnorm = fvec.stableNorm(); 226 /* form (q transpose)*fvec and store in qtf. */ 227 qtf = fjac.transpose() * fvec; 286 /* successful iteration. update x, fvec, and their norms. */ 289 fvec = wa4; 388 fvec.resize(n); 408 if ( functor(x, fvec) < 0 [all...] |
LevenbergMarquardt.h | 101 FVectorType fvec, qtf, diag; member in class:Eigen::LevenbergMarquardt 171 fvec.resize(m); 194 if ( functor(x, fvec) < 0) 196 fnorm = fvec.stableNorm(); 241 /* form (q transpose)*fvec and store the first n components in */ 243 wa4 = fvec; 319 /* successful iteration. update x, fvec, and their norms. */ 322 fvec = wa4; 382 fvec.resize(m); 410 if ( functor(x, fvec) < 0 [all...] |
/external/eigen/unsupported/test/ |
NonLinearOptimization.cpp | 15 int fcn_chkder(const VectorXd &x, VectorXd &fvec, MatrixXd &fjac, int iflag) 20 assert(15 == fvec.size()); 36 fvec[i] = y[i] - (x[0] + tmp1/(x[1]*tmp2 + x[2]*tmp3)); 61 VectorXd x(n), fvec(m), xp, fvecp(m), err; 69 internal::chkder(x, fvec, fjac, xp, fvecp, 1, err); 70 fcn_chkder(x, fvec, fjac, 1); 71 fcn_chkder(x, fvec, fjac, 2); 73 internal::chkder(x, fvec, fjac, xp, fvecp, 2, err); 75 fvecp -= fvec; 98 VERIFY_IS_APPROX(fvec, fvec_ref) [all...] |
NumericalDiff.cpp | 37 int operator()(const VectorXd &x, VectorXd &fvec) const 48 fvec[i] = y[i] - (x[0] + tmp1/(x[1]*tmp2 + x[2]*tmp3));
|
/external/icu4c/i18n/ |
uspoof_conf.cpp | 73 SPUStringPool::SPUStringPool(UErrorCode &status) : fVec(NULL), fHash(NULL) { 74 fVec = new UVector(status); 84 for (i=fVec->size()-1; i>=0; i--) { 85 SPUString *s = static_cast<SPUString *>(fVec->elementAt(i)); 88 delete fVec; 94 return fVec->size(); 98 SPUString *retString = (SPUString *)fVec->elementAt(index); 125 fVec->sort(SPUStringCompare, status); 136 fVec->addElement(hashedString, status);
|
uspoof_conf.h | 73 UVector *fVec; // Elements are SPUString *
|