/external/eigen/unsupported/test/ |
D | levenberg_marquardt.cpp | 48 int df(const VectorXd &x, MatrixXd &fjac) const in df() 57 fjac(i,0) = -1; in df() 58 fjac(i,1) = tmp1*tmp2/tmp4; in df() 59 fjac(i,2) = tmp1*tmp3/tmp4; in df() 261 int df(const VectorXd &b, MatrixXd &fjac) in df() 264 assert(fjac.rows()==54); in df() 265 assert(fjac.cols()==3); in df() 270 fjac(i,0) = -x*e*factor; in df() 271 fjac(i,1) = -e*factor*factor; in df() 272 fjac(i,2) = -x*e*factor*factor; in df() [all …]
|
D | NonLinearOptimization.cpp | 18 int fcn_chkder(const VectorXd &x, VectorXd &fvec, MatrixXd &fjac, int iflag) in fcn_chkder() argument 52 fjac(i,0) = -1.; in fcn_chkder() 53 fjac(i,1) = tmp1*tmp2/tmp4; in fcn_chkder() 54 fjac(i,2) = tmp1*tmp3/tmp4; in fcn_chkder() 65 MatrixXd fjac(m,n); in testChkder() local 72 internal::chkder(x, fvec, fjac, xp, fvecp, 1, err); in testChkder() 73 fcn_chkder(x, fvec, fjac, 1); in testChkder() 74 fcn_chkder(x, fvec, fjac, 2); in testChkder() 75 fcn_chkder(xp, fvecp, fjac, 1); in testChkder() 76 internal::chkder(x, fvec, fjac, xp, fvecp, 2, err); in testChkder() [all …]
|
D | NumericalDiff.cpp | 53 int actual_df(const VectorXd &x, MatrixXd &fjac) const in actual_df() 62 fjac(i,0) = -1; in actual_df() 63 fjac(i,1) = tmp1*tmp2/tmp4; in actual_df() 64 fjac(i,2) = tmp1*tmp3/tmp4; in actual_df()
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
D | LevenbergMarquardt.h | 108 JacobianType fjac; variable 179 fjac.resize(m, n); in minimizeInit() 222 Index df_ret = functor.df(x, fjac); in minimizeOneStep() 231 wa2 = fjac.colwise().blueNorm(); in minimizeOneStep() 232 ColPivHouseholderQR<JacobianType> qrfac(fjac); in minimizeOneStep() 233 fjac = qrfac.matrixQR(); in minimizeOneStep() 262 …gnorm = (std::max)(gnorm, abs( fjac.col(j).head(j+1).dot(qtf.head(j+1)/fnorm) / wa2[permutation.in… in minimizeOneStep() 299 wa3 = fjac.template triangularView<Upper>() * (qrfac.colsPermutation().inverse() *wa1); in minimizeOneStep() 398 fjac.resize(n, n); in minimizeOptimumStorageInit() 449 fjac.fill(0.); in minimizeOptimumStorageOneStep() [all …]
|
D | HybridNonLinearSolver.h | 92 JacobianType fjac; variable 150 fjac.resize(n, n); in solveInit() 198 if ( functor.df(x, fjac) < 0) in solveOneStep() 202 wa2 = fjac.colwise().blueNorm(); in solveOneStep() 220 HouseholderQR<JacobianType> qrfac(fjac); // no pivoting: in solveOneStep() 226 fjac = qrfac.householderQ(); in solveOneStep() 229 qtf = fjac.transpose() * fvec; in solveOneStep() 327 wa2 = fjac.transpose() * wa4; in solveOneStep() 334 internal::r1mpyq<Scalar>(n, n, fjac.data(), v_givens, w_givens); in solveOneStep() 389 fjac.resize(n, n); in solveNumericalDiffInit() [all …]
|
D | fdjac1.h | 10 Matrix< Scalar, Dynamic, Dynamic > &fjac, in fdjac1() 48 fjac.col(j) = (wa1-fvec)/h; in fdjac1() 67 fjac.col(j).setZero(); in fdjac1() 70 … fjac.col(j).segment(start, length) = ( wa1.segment(start, length)-fvec.segment(start, length))/h; in fdjac1()
|
D | chkder.h | 12 const Matrix< Scalar, Dynamic, Dynamic > &fjac, in chkder() 49 err += temp * fjac.col(j); in chkder()
|
/external/eigen/test/ |
D | sparseLM.cpp | 83 int df(const VectorType& uv, JacobianType& fjac) in df() 88 eigen_assert(fjac.rows() == m); in df() 89 eigen_assert(fjac.cols() == n); in df() 104 fjac.coeffRef(row,col) = -(1-coeff)*(1-coeff); in df() 117 fjac.coeffRef(row,col+half) = -4 * (u(col)/v(col))*coeff*(1-coeff); in df()
|
D | denseLM.cpp | 78 int df(const VectorType& uv, JacobianType& fjac) in df() 83 eigen_assert(fjac.rows() == m); in df() 84 eigen_assert(fjac.cols() == n); in df() 92 fjac.coeffRef(j,i) = -std::exp(-(m_x(j)-i)*(m_x(j)-i)/(v(i)*v(i))); in df() 93 …fjac.coeffRef(j,i+half) = -2.*u(i)*(m_x(j)-i)*(m_x(j)-i)/(std::pow(v(i),3)) * std::exp(-(m_x(j)-i)… in df()
|
/external/lmfit/lib/ |
D | lmmin.c | 211 double* fjac = (double*)pws; in lmmin() local 268 fjac[j*m+i] = (wf[i] - fvec[i]) / step; in lmmin() 277 printf("%.5e ", fjac[j*m+i]); in lmmin() 304 lm_qrfac(m, n, fjac, Pivot, wa1, wa2, wa3); in lmmin() 312 temp3 = fjac[j*m+j]; in lmmin() 316 sum += fjac[j*m+i] * wf[i]; in lmmin() 319 wf[i] += fjac[j*m+i] * temp; in lmmin() 321 fjac[j*m+j] = wa1[j]; in lmmin() 332 sum += fjac[j*m+i] * qtf[i]; in lmmin() 389 lm_lmpar(n, fjac, m, Pivot, diag, qtf, delta, &lmpar, in lmmin() [all …]
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | pr17168.ll | 314 !254 = !DIGlobalVariable(name: "fjac", scope: null, file: !2, line: 84, type: !251, isLocal: true, …
|
/external/llvm/test/CodeGen/PowerPC/ |
D | pr17168.ll | 490 !434 = !DIGlobalVariable(name: "fjac", line: 84, isLocal: true, isDefinition: true, scope: null, fi…
|