Home
last modified time | relevance | path

Searched refs:lm (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/external/eigen/unsupported/test/
Dlevenberg_marquardt.cpp70 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder1() local
71 info = lm.lmder1(x); in testLmder1()
75 VERIFY_IS_EQUAL(lm.nfev(), 6); in testLmder1()
76 VERIFY_IS_EQUAL(lm.njev(), 5); in testLmder1()
79 VERIFY_IS_APPROX(lm.fvec().blueNorm(), 0.09063596); in testLmder1()
99 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder() local
100 info = lm.minimize(x); in testLmder()
104 VERIFY_IS_EQUAL(lm.nfev(), 6); in testLmder()
105 VERIFY_IS_EQUAL(lm.njev(), 5); in testLmder()
108 fnorm = lm.fvec().blueNorm(); in testLmder()
[all …]
DNonLinearOptimization.cpp177 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder1() local
178 info = lm.lmder1(x); in testLmder1()
182 VERIFY_IS_EQUAL(lm.nfev, 6); in testLmder1()
183 VERIFY_IS_EQUAL(lm.njev, 5); in testLmder1()
186 VERIFY_IS_APPROX(lm.fvec.blueNorm(), 0.09063596); in testLmder1()
206 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder() local
207 info = lm.minimize(x); in testLmder()
211 VERIFY_IS_EQUAL(lm.nfev, 6); in testLmder()
212 VERIFY_IS_EQUAL(lm.njev, 5); in testLmder()
215 fnorm = lm.fvec.blueNorm(); in testLmder()
[all …]
/external/opencv3/modules/photo/src/
Dinpaint.cpp338 int lm=l-1+(l==1),lp=l-1-(l==t->cols-2); in icvTeleaInpaintFMM() local
354 …((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f; in icvTeleaInpaintFMM()
356 …(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); in icvTeleaInpaintFMM()
360 …(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color))); in icvTeleaInpaintFMM()
367 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,l… in icvTeleaInpaintFMM()
369 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
373 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,… in icvTeleaInpaintFMM()
378 Ia += (float)w * (float)(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)); in icvTeleaInpaintFMM()
450 int lm=l-1+(l==1),lp=l-1-(l==t->cols-2); in icvTeleaInpaintFMM() local
466 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f; in icvTeleaInpaintFMM()
[all …]
/external/opencv/cv/src/
Dcvinpaint.cpp336 int lm=l-1+(l==1),lp=l-1-(l==t->cols-2); in icvTeleaInpaintFMM() local
352 …((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f; in icvTeleaInpaintFMM()
354 …(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))); in icvTeleaInpaintFMM()
358 …(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color))); in icvTeleaInpaintFMM()
365 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,l… in icvTeleaInpaintFMM()
367 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp+1,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,… in icvTeleaInpaintFMM()
371 …gradI.y=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,kp,lm,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km-1,lm,… in icvTeleaInpaintFMM()
376 Ia += (float)w * (float)(CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)); in icvTeleaInpaintFMM()
449 int lm=l-1+(l==1),lp=l-1-(l==t->cols-2); in icvTeleaInpaintFMM() local
465 … gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f; in icvTeleaInpaintFMM()
[all …]
/external/skia/src/core/
DSkLocalMatrixShader.cpp11 SkMatrix lm; in CreateProc() local
12 buffer.readMatrix(&lm); in CreateProc()
17 return baseShader->newWithLocalMatrix(lm); in CreateProc()
55 const SkMatrix* lm = &localMatrix; in newWithLocalMatrix() local
62 lm = &otherLocalMatrix; in newWithLocalMatrix()
66 return new SkLocalMatrixShader(baseShader, *lm); in newWithLocalMatrix()
DSkLocalMatrixImageFilter.cpp31 SkMatrix lm; in CreateProc() local
32 buffer.readMatrix(&lm); in CreateProc()
33 return SkLocalMatrixImageFilter::Create(lm, common.getInput(0)); in CreateProc()
/external/skia/gm/
Dshadertext2.cpp115 for (int lm = 0; lm < localMatrices.count(); ++lm) { variable
116 canvas->drawText(matrices[lm].fLabel, strlen(matrices[lm].fLabel),
118 SkScalar labelW = labelPaint.measureText(matrices[lm].fLabel,
119 strlen(matrices[lm].fLabel));
138 for (int lm = 0; lm < localMatrices.count(); ++lm) { variable
143 &localMatrices[lm].fMatrix))->unref();
Dbmpfilterqualityrepeat.cpp57 SkMatrix lm = SkMatrix::I(); in onDraw() local
58 lm.setScaleX(2.5); in onDraw()
59 lm.setTranslateX(423); in onDraw()
60 lm.setTranslateY(330); in onDraw()
63 bmpPaint.setShader(SkShader::CreateBitmapShader(fBmp, kTM, kTM, &lm))->unref(); in onDraw()
/external/eigen/test/
Dpermutationmatrices.cpp42 Matrix<Scalar,Rows,Rows> lm(lp); in permutationmatrices() local
45 VERIFY_IS_APPROX(m_permuted, lm*m_original*rm); in permutationmatrices()
59 VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices()
60 …S_APPROX((lv.asPermutation()*lv2.asPermutation()).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices()
61 …(),lv.size())*MapLeftPerm(lv2.data(),lv2.size())).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices()
91 lm = lp; in permutationmatrices()
92 lm.row(i).swap(lm.row(j)); in permutationmatrices()
93 VERIFY_IS_APPROX(lm, lp2.toDenseMatrix().template cast<Scalar>()); in permutationmatrices()
DdenseLM.cpp104 LevenbergMarquardt<FunctorType> lm(functor); in test_minimizeLM() local
107 info = lm.minimize(uv); in test_minimizeLM()
119 LevenbergMarquardt<FunctorType> lm(functor); in test_lmder() local
120 info = lm.lmder1(uv); in test_lmder()
131 LevenbergMarquardt<FunctorType> lm(functor); in test_minimizeSteps() local
132 info = lm.minimizeInit(uv); in test_minimizeSteps()
137 info = lm.minimizeOneStep(uv); in test_minimizeSteps()
/external/valgrind/none/tests/ppc64/
DMakefile.am126 test_isa_2_06_part3_LDADD = -lm
127 test_dfp1_LDADD = -lm
128 test_dfp2_LDADD = -lm
129 test_dfp3_LDADD = -lm
130 test_dfp4_LDADD = -lm
131 test_dfp5_LDADD = -lm
132 test_isa_2_07_part1_LDADD = -lm
133 test_isa_2_07_part2_LDADD = -lm
134 test_tm_LDADD = -lm
135 test_touch_tm_LDADD = -lm
/external/valgrind/none/tests/ppc32/
DMakefile.am144 test_isa_2_06_part3_LDADD = -lm
145 test_dfp1_LDADD = -lm
146 test_dfp2_LDADD = -lm
147 test_dfp3_LDADD = -lm
148 test_dfp4_LDADD = -lm
149 test_dfp5_LDADD = -lm
150 test_isa_2_07_part1_LDADD = -lm
151 test_isa_2_07_part2_LDADD = -lm
152 test_tm_LDADD = -lm
153 test_touch_tm_LDADD = -lm
/external/valgrind/none/tests/x86/
DMakefile.am160 fxtract_LDADD = -lm
162 insn_basic_LDADD = -lm
164 insn_fpu_LDADD = -lm
166 insn_cmov_LDADD = -lm
168 insn_mmx_LDADD = -lm
170 insn_mmxext_LDADD = -lm
172 insn_sse_LDADD = -lm
174 insn_sse2_LDADD = -lm
176 insn_sse3_LDADD = -lm
178 insn_ssse3_LDADD = -lm
/external/valgrind/none/tests/amd64/
DMakefile.am170 bug132918_LDADD = -lm
173 insn_basic_LDADD = -lm
175 insn_mmx_LDADD = -lm
177 insn_sse_LDADD = -lm
179 insn_sse2_LDADD = -lm
181 insn_sse3_LDADD = -lm
183 insn_ssse3_LDADD = -lm
185 insn_fpu_LDADD = -lm
187 fxtract_LDADD = -lm
/external/libpng/contrib/pngminus/
Dmakefile.std44 $(LD) $(LDFLAGS) -o png2pnm$(E) png2pnm$(O) $(LDLIBS) -lm
47 $(LD) $(LDFLAGS) -o png2pnm-static$(E) png2pnm$(O) $(LDLIBSS) -lm
53 $(LD) $(LDFLAGS) -o pnm2png$(E) pnm2png$(O) $(LDLIBS) -lm
56 $(LD) $(LDFLAGS) -o pnm2png-static$(E) pnm2png$(O) $(LDLIBSS) -lm
/external/iproute2/netem/
DMakefile6 LDLIBS += -lm
11 $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
20 $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
/external/libpng/contrib/gregbook/
DMakefile.unx59 RLIBSd = $(PNGLIBd) $(ZLIBd) $(XLIB) -lm
60 RLIBSs = $(PNGLIBs) $(ZLIBs) $(XLIB) -lm
61 WLIBSd = $(PNGLIBd) $(ZLIBd) -lm
62 WLIBSs = $(PNGLIBs) $(ZLIBs) -lm
/external/autotest/client/site_tests/graphics_SanAngeles/src/
DMakefile16 LDFLAGS = -lm -lGL
22 LDFLAGS = -lm -lGLESv2 -lEGL
26 LDFLAGS = -lm -ldl
/external/eigen/bench/btl/data/
Dmean.cxx44 …Lib_Mean(const Lib_Mean & lm):_lib_name(lm._lib_name),_mean_in_cache(lm._mean_in_cache),_mean_out_… in Lib_Mean() argument
/external/iproute2/misc/
DMakefile26 $(CC) $(CFLAGS) $(LDFLAGS) -o nstat nstat.c $(LIBNETLINK) -lm
29 $(CC) $(CFLAGS) $(LDFLAGS) -o ifstat ifstat.c $(LIBNETLINK) -lm
32 $(CC) $(CFLAGS) $(LDFLAGS) -o rtacct rtacct.c $(LIBNETLINK) -lm
/external/ltrace/sysdeps/linux-gnu/
Dproc.c380 struct lt_link_map_32 lm; in fetch_lm32() local
381 if (umovebytes(proc, addr, &lm, sizeof(lm)) != sizeof(lm)) in fetch_lm32()
384 ret->l_addr = lm.l_addr; in fetch_lm32()
385 ret->l_name = lm.l_name; in fetch_lm32()
386 ret->l_ld = lm.l_ld; in fetch_lm32()
387 ret->l_next = lm.l_next; in fetch_lm32()
388 ret->l_prev = lm.l_prev; in fetch_lm32()
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLevenbergMarquardt.h364 LevenbergMarquardt<NumericalDiff<FunctorType> > lm(numDiff); in lmdif1()
365 lm.setFtol(tol); in lmdif1()
366 lm.setXtol(tol); in lmdif1()
367 lm.setMaxfev(200*(n+1)); in lmdif1()
369 LevenbergMarquardtSpace::Status info = LevenbergMarquardtSpace::Status(lm.minimize(x)); in lmdif1()
371 * nfev = lm.nfev(); in lmdif1()
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
Dresolver.py430 lm = _winreg.ConnectRegistry(None, _winreg.HKEY_LOCAL_MACHINE)
435 tcp_params = _winreg.OpenKey(lm,
441 tcp_params = _winreg.OpenKey(lm,
449 interfaces = _winreg.OpenKey(lm,
460 if not self._win32_is_nic_enabled(lm, guid, key):
471 lm.Close()
473 def _win32_is_nic_enabled(self, lm, guid, interface_key): argument
483 lm,
497 lm, r'SYSTEM\CurrentControlSet\Enum\%s' % pnp_id)
/external/libpng/scripts/
Dmakefile.sgi51 LDFLAGS_A=$(ABI) -L. -L$(ZLIBLIB) -lpng16 -lz -lm
52 LDFLAGS=$(ABI) -L. -L$(ZLIBLIB) -lpng -lz -lm
103 -e s!-lpng16!-lpng16\ -lz\ -lm! > libpng.pc
/external/autotest/client/site_tests/graphics_GLAPICheck/src/
DMakefile9 LDFLAGS = -lX11 -lm -ldl
13 LDFLAGS = -lX11 -lm -lGL

12345678910>>...13