Home
last modified time | relevance | path

Searched refs:wa2 (Results 1 – 8 of 8) sorted by relevance

/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
DHybridNonLinearSolver.h113 FVectorType wa1, wa2, wa3, wa4; variable
147 wa1.resize(n); wa2.resize(n); wa3.resize(n); wa4.resize(n); in solveInit()
202 wa2 = fjac.colwise().blueNorm(); in solveOneStep()
209 diag[j] = (wa2[j]==0.) ? 1. : wa2[j]; in solveOneStep()
233 diag = diag.cwiseMax(wa2); in solveOneStep()
241 wa2 = x + wa1; in solveOneStep()
249 if ( functor(wa2, wa4) < 0) in solveOneStep()
289 x = wa2; in solveOneStep()
290 wa2 = diag.cwiseProduct(x); in solveOneStep()
292 xnorm = wa2.stableNorm(); in solveOneStep()
[all …]
DLevenbergMarquardt.h122 FVectorType wa1, wa2, wa3, wa4; variable
176 wa1.resize(n); wa2.resize(n); wa3.resize(n); in minimizeInit()
231 wa2 = fjac.colwise().blueNorm(); in minimizeOneStep()
241 diag[j] = (wa2[j]==0.)? 1. : wa2[j]; in minimizeOneStep()
261 if (wa2[permutation.indices()[j]] != 0.) 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()
270 diag = diag.cwiseMax(wa2); in minimizeOneStep()
279 wa2 = x + wa1; in minimizeOneStep()
287 if ( functor(wa2, wa4) < 0) in minimizeOneStep()
330 x = wa2; in minimizeOneStep()
[all …]
Dlmpar.h36 Matrix< Scalar, Dynamic, 1 > wa1, wa2; in lmpar() local
62 wa2 = diag.cwiseProduct(x); in lmpar()
63 dxnorm = wa2.blueNorm(); in lmpar()
77 wa1[j] = diag[l] * (wa2[l] / dxnorm); in lmpar()
119 wa2 = diag.cwiseProduct(x); in lmpar()
120 dxnorm = wa2.blueNorm(); in lmpar()
133 wa1[j] = diag[l] * (wa2[l] / dxnorm); in lmpar()
193 Matrix< Scalar, Dynamic, 1 > wa1, wa2; in lmpar2() local
210 wa2 = diag.cwiseProduct(x); in lmpar2()
211 dxnorm = wa2.blueNorm(); in lmpar2()
[all …]
Dfdjac1.h32 Matrix< Scalar, Dynamic, 1 > wa2(n); in fdjac1()
55 wa2[j] = x[j]; in fdjac1()
56 h = eps * abs(wa2[j]); in fdjac1()
58 x[j] = wa2[j] + h; in fdjac1()
64 x[j] = wa2[j]; in fdjac1()
65 h = eps * abs(wa2[j]); in fdjac1()
Ddogleg.h30 Matrix< Scalar, Dynamic, 1 > wa1(n), wa2(n); in dogleg()
80 wa2[j] = sum; in dogleg()
82 temp = wa2.stableNorm(); in dogleg()
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLMpar.h55 VectorType wa1, wa2; in lmpar2() local
73 wa2 = diag.cwiseProduct(x); in lmpar2()
74 dxnorm = wa2.blueNorm(); in lmpar2()
86 wa1 = qr.colsPermutation().inverse() * diag.cwiseProduct(wa2)/dxnorm; in lmpar2()
120 wa2 = diag.cwiseProduct(x); in lmpar2()
121 dxnorm = wa2.blueNorm(); in lmpar2()
132 wa1 = qr.colsPermutation().inverse() * diag.cwiseProduct(wa2/dxnorm); in lmpar2()
/external/lmfit/lib/
Dlmmin.c215 double* wa2 = (double*)pws; in lmmin() local
304 lm_qrfac(m, n, fjac, Pivot, wa1, wa2, wa3); in lmmin()
328 if (wa2[Pivot[j]] == 0) in lmmin()
333 gnorm = MAX(gnorm, fabs(sum / wa2[Pivot[j]] / fnorm)); in lmmin()
346 diag[j] = wa2[j] ? wa2[j] : 1; in lmmin()
380 diag[j] = MAX(diag[j], wa2[j]); in lmmin()
390 wa1, wa2, wf, wa3); in lmmin()
419 wa2[j] = x[j] - wa1[j]; in lmmin()
420 (*evaluate)(wa2, m, data, wf, &(S->userbreak)); in lmmin()
440 lm_print_pars(nout, wa2, msgfile); // fnorm1, in lmmin()
[all …]
/external/speex/libspeex/
Dsmallft.c172 float *wa2,float *wa3){ in dradf4() argument
216 cr3=wa2[i-2]*cc[t3-1]+wa2[i-1]*cc[t3]; in dradf4()
217 ci3=wa2[i-2]*cc[t3]-wa2[i-1]*cc[t3-1]; in dradf4()
689 float *wa2){ in dradb3() argument
744 ch[t10-1]=wa2[i-2]*dr3-wa2[i-1]*di3; in dradb3()
745 ch[t10]=wa2[i-2]*di3+wa2[i-1]*dr3; in dradb3()
752 float *wa2,float *wa3){ in dradb4() argument
809 ch[(t8+=t0)-1]=wa2[i-2]*cr3-wa2[i-1]*ci3; in dradb4()
810 ch[t8]=wa2[i-2]*ci3+wa2[i-1]*cr3; in dradb4()