Home
last modified time | relevance | path

Searched refs:wa1 (Results 1 – 9 of 9) sorted by relevance

/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
Dlmpar.h36 Matrix< Scalar, Dynamic, 1 > wa1, wa2; in lmpar() local
41 wa1 = qtb; in lmpar()
46 wa1[j] = 0.; in lmpar()
49 wa1[j] /= r(j,j); in lmpar()
50 temp = wa1[j]; in lmpar()
52 wa1[i] -= r(i,j) * temp; in lmpar()
56 x[ipvt[j]] = wa1[j]; in lmpar()
77 wa1[j] = diag[l] * (wa2[l] / dxnorm); in lmpar()
84 sum += r(i,j) * wa1[i]; in lmpar()
85 wa1[j] = (wa1[j] - sum) / r(j,j); in lmpar()
[all …]
Ddogleg.h30 Matrix< Scalar, Dynamic, 1 > wa1(n), wa2(n); in dogleg()
56 wa1.fill(0.); in dogleg()
58 wa1.tail(n-j) += qrfac.row(j).tail(n-j) * qtb[j]; in dogleg()
59 wa1[j] /= diag[j]; in dogleg()
64 gnorm = wa1.stableNorm(); in dogleg()
72 wa1.array() /= (diag*gnorm).array(); in dogleg()
78 sum += qrfac(j,i) * wa1[i]; in dogleg()
102 x = temp * wa1 + alpha * x; in dogleg()
DHybridNonLinearSolver.h113 FVectorType wa1, wa2, wa3, wa4; variable
147 wa1.resize(n); wa2.resize(n); wa3.resize(n); wa4.resize(n); in solveInit()
237 internal::dogleg<Scalar>(R, diag, qtf, delta, wa1); in solveOneStep()
240 wa1 = -wa1; in solveOneStep()
241 wa2 = x + wa1; in solveOneStep()
242 pnorm = diag.cwiseProduct(wa1).stableNorm(); in solveOneStep()
260 wa3 = R.template triangularView<Upper>()*wa1 + qtf; in solveOneStep()
326 wa1 = diag.cwiseProduct( diag.cwiseProduct(wa1)/pnorm ); in solveOneStep()
333 internal::r1updt<Scalar>(R, wa1, v_givens, w_givens, wa2, wa3, &sing); in solveOneStep()
387 wa1.resize(n); wa2.resize(n); wa3.resize(n); wa4.resize(n); in solveNumericalDiffInit()
[all …]
Dfdjac1.h31 Matrix< Scalar, Dynamic, 1 > wa1(n); in fdjac1()
44 iflag = Functor(x, wa1); in fdjac1()
48 fjac.col(j) = (wa1-fvec)/h; in fdjac1()
60 iflag = Functor(x, wa1); in fdjac1()
70 … fjac.col(j).segment(start, length) = ( wa1.segment(start, length)-fvec.segment(start, length))/h; in fdjac1()
DLevenbergMarquardt.h115 FVectorType wa1, wa2, wa3, wa4; variable
169 wa1.resize(n); wa2.resize(n); wa3.resize(n); in minimizeInit()
268 internal::lmpar2<Scalar>(qrfac, diag, qtf, delta, par, wa1); in minimizeOneStep()
271 wa1 = -wa1; in minimizeOneStep()
272 wa2 = x + wa1; in minimizeOneStep()
273 pnorm = diag.cwiseProduct(wa1).stableNorm(); in minimizeOneStep()
292 wa3 = fjac.template triangularView<Upper>() * (qrfac.colsPermutation().inverse() *wa1); in minimizeOneStep()
383 wa1.resize(n); wa2.resize(n); wa3.resize(n); in minimizeOptimumStorageInit()
466 wa1 = fjac.diagonal(); in minimizeOptimumStorageOneStep()
481 fjac(j,j) = wa1[j]; in minimizeOptimumStorageOneStep()
[all …]
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLMpar.h55 VectorType wa1, wa2; in lmpar2() local
62 wa1 = qtb; in lmpar2()
63 wa1.tail(n-rank).setZero(); in lmpar2()
65wa1.head(rank) = s.topLeftCorner(rank,rank).template triangularView<Upper>().solve(qtb.head(rank)); in lmpar2()
67 x = qr.colsPermutation()*wa1; in lmpar2()
86 wa1 = qr.colsPermutation().inverse() * diag.cwiseProduct(wa2)/dxnorm; in lmpar2()
87 s.topLeftCorner(n,n).transpose().template triangularView<Lower>().solveInPlace(wa1); in lmpar2()
88 temp = wa1.blueNorm(); in lmpar2()
94 wa1[j] = s.col(j).head(j+1).dot(qtb.head(j+1)) / diag[qr.colsPermutation().indices()(j)]; in lmpar2()
96 gnorm = wa1.stableNorm(); in lmpar2()
[all …]
/external/libvorbis/lib/
Dsmallft.c114 static void dradf2(int ido,int l1,float *cc,float *ch,float *wa1){ in dradf2() argument
144 tr2=wa1[i-2]*cc[t3-1]+wa1[i-1]*cc[t3]; in dradf2()
145 ti2=wa1[i-2]*cc[t3]-wa1[i-1]*cc[t3-1]; in dradf2()
169 static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1, in dradf4() argument
211 cr2=wa1[i-2]*cc[t3-1]+wa1[i-1]*cc[t3]; in dradf4()
212 ci2=wa1[i-2]*cc[t3]-wa1[i-1]*cc[t3-1]; in dradf4()
634 static void dradb2(int ido,int l1,float *cc,float *ch,float *wa1){ in dradb2() argument
667 ch[t6-1]=wa1[i-2]*tr2-wa1[i-1]*ti2; in dradb2()
668 ch[t6]=wa1[i-2]*ti2+wa1[i-1]*tr2; in dradb2()
686 static void dradb3(int ido,int l1,float *cc,float *ch,float *wa1, in dradb3() argument
[all …]
/external/speex/libspeex/
Dsmallft.c116 static void dradf2(int ido,int l1,float *cc,float *ch,float *wa1){ in dradf2() argument
146 tr2=wa1[i-2]*cc[t3-1]+wa1[i-1]*cc[t3]; in dradf2()
147 ti2=wa1[i-2]*cc[t3]-wa1[i-1]*cc[t3-1]; in dradf2()
171 static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1, in dradf4() argument
213 cr2=wa1[i-2]*cc[t3-1]+wa1[i-1]*cc[t3]; in dradf4()
214 ci2=wa1[i-2]*cc[t3]-wa1[i-1]*cc[t3-1]; in dradf4()
636 static void dradb2(int ido,int l1,float *cc,float *ch,float *wa1){ in dradb2() argument
669 ch[t6-1]=wa1[i-2]*tr2-wa1[i-1]*ti2; in dradb2()
670 ch[t6]=wa1[i-2]*ti2+wa1[i-1]*tr2; in dradb2()
688 static void dradb3(int ido,int l1,float *cc,float *ch,float *wa1, in dradb3() argument
[all …]
/external/icu/icu4c/source/data/translit/
DLatin_Bopomofo.txt1302 wa1 ← ㄨㄚ;