Home
last modified time | relevance | path

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

12345678910>>...24

/external/eigen/unsupported/test/
Dlevenberg_marquardt.cpp76 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder1() local
77 info = lm.lmder1(x); in testLmder1()
81 VERIFY_IS_EQUAL(lm.nfev(), 6); in testLmder1()
82 VERIFY_IS_EQUAL(lm.njev(), 5); in testLmder1()
85 VERIFY_IS_APPROX(lm.fvec().blueNorm(), 0.09063596); in testLmder1()
105 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder() local
106 info = lm.minimize(x); in testLmder()
110 VERIFY_IS_EQUAL(lm.nfev(), 6); in testLmder()
111 VERIFY_IS_EQUAL(lm.njev(), 5); in testLmder()
114 fnorm = lm.fvec().blueNorm(); in testLmder()
[all …]
DNonLinearOptimization.cpp178 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder1() local
179 info = lm.lmder1(x); in testLmder1()
183 VERIFY_IS_EQUAL(lm.nfev, 6); in testLmder1()
184 VERIFY_IS_EQUAL(lm.njev, 5); in testLmder1()
187 VERIFY_IS_APPROX(lm.fvec.blueNorm(), 0.09063596); in testLmder1()
207 LevenbergMarquardt<lmder_functor> lm(functor); in testLmder() local
208 info = lm.minimize(x); in testLmder()
212 VERIFY_IS_EQUAL(lm.nfev, 6); in testLmder()
213 VERIFY_IS_EQUAL(lm.njev, 5); in testLmder()
216 fnorm = lm.fvec.blueNorm(); in testLmder()
[all …]
/external/skia/src/shaders/
DSkLocalMatrixShader.cpp24 SkMatrix lm; in CreateProc() local
25 buffer.readMatrix(&lm); in CreateProc()
30 return baseShader->makeWithLocalMatrix(lm); in CreateProc()
42 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onMakeContext() local
44 lm.writable()->preConcat(*rec.fLocalMatrix); in onMakeContext()
48 newRec.fLocalMatrix = lm; in onMakeContext()
66 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onAppendStages() local
68 lm.writable()->preConcat(*rec.fLocalM); in onAppendStages()
72 newRec.fLocalM = lm; in onAppendStages()
81 const SkMatrix* lm = &localMatrix; in makeWithLocalMatrix() local
[all …]
DSkPictureShader.cpp137 SkMatrix lm; in CreateProc() local
138 buffer.readMatrix(&lm); in CreateProc()
150 return SkPictureShader::Make(picture, mx, my, &lm, &tile); in CreateProc()
258 auto lm = this->totalLocalMatrix(rec.fLocalM); in onAppendStages() local
262 bitmapShader = this->refBitmapShader(rec.fCTM, &lm, rec.fDstColorType, rec.fDstCS); in onAppendStages()
269 localRec.fLocalM = lm->isIdentity() ? nullptr : lm.get(); in onAppendStages()
279 auto lm = this->totalLocalMatrix(rec.fLocalMatrix); in onMakeContext() local
280 sk_sp<SkShader> bitmapShader = this->refBitmapShader(*rec.fMatrix, &lm, rec.fDstColorType, in onMakeContext()
287 localRec.fLocalMatrix = lm->isIdentity() ? nullptr : lm.get(); in onMakeContext()
341 auto lm = this->totalLocalMatrix(args.fPreLocalMatrix, args.fPostLocalMatrix); in asFragmentProcessor() local
[all …]
/external/skqp/src/shaders/
DSkLocalMatrixShader.cpp24 SkMatrix lm; in CreateProc() local
25 buffer.readMatrix(&lm); in CreateProc()
30 return baseShader->makeWithLocalMatrix(lm); in CreateProc()
42 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onMakeContext() local
44 lm.writable()->preConcat(*rec.fLocalMatrix); in onMakeContext()
48 newRec.fLocalMatrix = lm; in onMakeContext()
66 SkTCopyOnFirstWrite<SkMatrix> lm(this->getLocalMatrix()); in onAppendStages() local
68 lm.writable()->preConcat(*rec.fLocalM); in onAppendStages()
72 newRec.fLocalM = lm; in onAppendStages()
81 const SkMatrix* lm = &localMatrix; in makeWithLocalMatrix() local
[all …]
DSkPictureShader.cpp137 SkMatrix lm; in CreateProc() local
138 buffer.readMatrix(&lm); in CreateProc()
150 return SkPictureShader::Make(picture, mx, my, &lm, &tile); in CreateProc()
258 auto lm = this->totalLocalMatrix(rec.fLocalM); in onAppendStages() local
262 bitmapShader = this->refBitmapShader(rec.fCTM, &lm, rec.fDstColorType, rec.fDstCS); in onAppendStages()
269 localRec.fLocalM = lm->isIdentity() ? nullptr : lm.get(); in onAppendStages()
279 auto lm = this->totalLocalMatrix(rec.fLocalMatrix); in onMakeContext() local
280 sk_sp<SkShader> bitmapShader = this->refBitmapShader(*rec.fMatrix, &lm, rec.fDstColorType, in onMakeContext()
287 localRec.fLocalMatrix = lm->isIdentity() ? nullptr : lm.get(); in onMakeContext()
338 auto lm = this->totalLocalMatrix(args.fPreLocalMatrix, args.fPostLocalMatrix); in asFragmentProcessor() local
[all …]
/external/skia/src/gpu/
DGrFPArgs.h54 WithPreLocalMatrix(const GrFPArgs& args, const SkMatrix& lm) : INHERITED(args) { in WithPreLocalMatrix() argument
55 if (!lm.isIdentity()) { in WithPreLocalMatrix()
57 fStorage.setConcat(lm, *fPreLocalMatrix); in WithPreLocalMatrix()
60 fPreLocalMatrix = &lm; in WithPreLocalMatrix()
76 WithPostLocalMatrix(const GrFPArgs& args, const SkMatrix& lm) : INHERITED(args) { in WithPostLocalMatrix() argument
77 if (!lm.isIdentity()) { in WithPostLocalMatrix()
79 fStorage.setConcat(*fPostLocalMatrix, lm); in WithPostLocalMatrix()
82 fPostLocalMatrix = &lm; in WithPostLocalMatrix()
/external/skqp/src/gpu/
DGrFPArgs.h51 WithPreLocalMatrix(const GrFPArgs& args, const SkMatrix& lm) : INHERITED(args) { in WithPreLocalMatrix() argument
52 if (!lm.isIdentity()) { in WithPreLocalMatrix()
54 fStorage.setConcat(lm, *fPreLocalMatrix); in WithPreLocalMatrix()
57 fPreLocalMatrix = &lm; in WithPreLocalMatrix()
73 WithPostLocalMatrix(const GrFPArgs& args, const SkMatrix& lm) : INHERITED(args) { in WithPostLocalMatrix() argument
74 if (!lm.isIdentity()) { in WithPostLocalMatrix()
76 fStorage.setConcat(*fPostLocalMatrix, lm); in WithPostLocalMatrix()
79 fPostLocalMatrix = &lm; in WithPostLocalMatrix()
/external/ltp/testcases/misc/math/float/trigo/
DREADME12 gcc -lm -lpthread gensin.c -o gensin
13 gcc -lm -lpthread gencos.c -o gencos
14 gcc -lm -lpthread gentan.c -o gentan
15 gcc -lm -lpthread genatan.c -o genatan
16 gcc -lm -lpthread genatan2.c -o genatan2
17 gcc -lm -lpthread genasin.c -o genasin
18 gcc -lm -lpthread genacos.c -o genacos
19 gcc -lm -lpthread gentrigo.c -o gentrigo
/external/eigen/test/
Dpermutationmatrices.cpp46 Matrix<Scalar,Rows,Rows> lm(lp); in permutationmatrices() local
49 VERIFY_IS_APPROX(m_permuted, lm*m_original*rm); in permutationmatrices()
53 VERIFY_IS_APPROX(m_permuted, lm*m_original*rm); in permutationmatrices()
67 VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices()
68 …S_APPROX((lv.asPermutation()*lv2.asPermutation()).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices()
69 …(),lv.size())*MapLeftPerm(lv2.data(),lv2.size())).toDenseMatrix().template cast<Scalar>(), lm*lm2); in permutationmatrices()
99 lm = lp; in permutationmatrices()
100 lm.row(i).swap(lm.row(j)); in permutationmatrices()
101 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/tensorflow/tensorflow/core/kernels/
Deigen_spatial_convolutions.h79 SubMapper lm = rhs.getLinearMapper(0, col);
81 *block = lm(i);
108 SubMapper lm = rhs.getLinearMapper(0, col);
116 const bool pad_col = lm.padCol(c);
119 if (!pad_col && !lm.padAnyRow(start_row, max_row - 1)) {
127 const StorageIndex base_idx = lm.baseIndex(start_row, c);
174 const bool pad = pad_col || lm.padRow(r);
175 const StorageIndex base_idx = lm.baseIndex(r, c);
218 *block = lm.loadCoeffStandard(k);
/external/skia/gm/
Dbmpfilterqualityrepeat.cpp61 SkMatrix lm = SkMatrix::I(); in drawAll() local
62 lm.setScaleX(scaleX); in drawAll()
63 lm.setTranslateX(423); in drawAll()
64 lm.setTranslateY(330); in drawAll()
77 bmpPaint.setShader(SkShader::MakeBitmapShader(fBmp, kTM, kTM, &lm)); in drawAll()
/external/skqp/gm/
Dbmpfilterqualityrepeat.cpp61 SkMatrix lm = SkMatrix::I(); in drawAll() local
62 lm.setScaleX(scaleX); in drawAll()
63 lm.setTranslateX(423); in drawAll()
64 lm.setTranslateY(330); in drawAll()
77 bmpPaint.setShader(SkShader::MakeBitmapShader(fBmp, kTM, kTM, &lm)); in drawAll()
/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/
DMakefile8 LDLIBS += -lm
13 $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
22 $(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/brotli/
DMakefile.am19 brotli_LDADD = libbrotlidec.la libbrotlienc.la libbrotlicommon.la -lm
26 libbrotlidec_la_LIBADD = libbrotlicommon.la -lm
29 libbrotlienc_la_LIBADD = libbrotlicommon.la -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/tensorflow/tensorflow/lite/tools/benchmark/
DBUILD29 "-lm", # some builtin ops, e.g., tanh, need -lm
48 "-lm", # some builtin ops, e.g., tanh, need -lm
/external/iproute2/misc/
DMakefile18 $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o nstat nstat.c $(LDLIBS) -lm
21 $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o ifstat ifstat.c $(LDLIBS) -lm
24 $(QUIET_CC)$(CC) $(CFLAGS) $(LDFLAGS) -o rtacct rtacct.c $(LDLIBS) -lm
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLevenbergMarquardt.h383 LevenbergMarquardt<NumericalDiff<FunctorType> > lm(numDiff); in lmdif1()
384 lm.setFtol(tol); in lmdif1()
385 lm.setXtol(tol); in lmdif1()
386 lm.setMaxfev(200*(n+1)); in lmdif1()
388 LevenbergMarquardtSpace::Status info = LevenbergMarquardtSpace::Status(lm.minimize(x)); in lmdif1()
390 * nfev = lm.nfev(); in lmdif1()
/external/skqp/src/core/
DSkLocalMatrixImageFilter.cpp37 SkMatrix lm; in CreateProc() local
38 buffer.readMatrix(&lm); in CreateProc()
39 return SkLocalMatrixImageFilter::Make(lm, common.getInput(0)); in CreateProc()
/external/skia/src/core/
DSkLocalMatrixImageFilter.cpp37 SkMatrix lm; in CreateProc() local
38 buffer.readMatrix(&lm); in CreateProc()
39 return SkLocalMatrixImageFilter::Make(lm, common.getInput(0)); in CreateProc()

12345678910>>...24