HomeSort by relevance Sort by last modified time
    Searched refs:functor (Results 1 - 25 of 60) sorted by null

1 2 3

  /external/ceres-solver/internal/ceres/
numeric_diff_functor_test.cc 53 EasyFunctor functor; local
59 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
64 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
72 EasyFunctor functor; local
78 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD);
83 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD);
91 TranscendentalFunctor functor; local
97 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
102 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
110 TranscendentalFunctor functor; local
    [all...]
numeric_diff_cost_function_test.cc 57 EasyFunctor functor; local
58 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
70 EasyFunctor functor; local
71 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD);
83 EasyFunctor functor; local
84 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL);
96 EasyFunctor functor; local
97 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, FORWARD);
109 TranscendentalFunctor functor; local
110 functor.ExpectCostFunctionEvaluationIsNearlyCorrect(*cost_function, CENTRAL)
122 TranscendentalFunctor functor; local
135 TranscendentalFunctor functor; local
148 TranscendentalFunctor functor; local
    [all...]
autodiff_test.cc 360 // Use a single functor, but tweak it to produce different numbers of
362 VaryingResidualFunctor functor; local
366 functor.num_residuals = num_residuals;
370 functor, parameters, num_residuals, residuals, jacobians)));
529 Residual1Param functor; local
532 functor, parameters, 1, &residual, jacobians)));
540 Residual2Param functor; local
543 functor, parameters, 1, &residual, jacobians)));
551 Residual3Param functor; local
554 functor, parameters, 1, &residual, jacobians)))
562 Residual4Param functor; local
573 Residual5Param functor; local
584 Residual6Param functor; local
597 Residual7Param functor; local
610 Residual8Param functor; local
623 Residual9Param functor; local
637 Residual10Param functor; local
    [all...]
  /external/ceres-solver/include/ceres/internal/
variadic_evaluate.h 45 // This block of quasi-repeated code calls the user-supplied functor, which may
49 template<typename Functor, typename T, int N0, int N1, int N2, int N3, int N4,
52 static bool Call(const Functor& functor, T const *const *input, T* output) {
53 return functor(input[0],
67 template<typename Functor, typename T, int N0, int N1, int N2, int N3, int N4,
69 struct VariadicEvaluate<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, N8, 0> {
70 static bool Call(const Functor& functor, T const *const *input, T* output) {
71 return functor(input[0]
    [all...]
numeric_diff.h 50 // Helper templates that allow evaluation of a variadic functor or a
55 bool EvaluateImpl(const CostFunctor* functor,
62 *functor,
70 bool EvaluateImpl(const CostFunctor* functor,
74 return functor->Evaluate(parameters, residuals, NULL);
90 const CostFunctor* functor,
137 functor, parameters, residuals, functor)) {
154 functor, parameters, residuals, functor)) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSSelectorList.cpp 120 template <typename Functor>
121 static bool forEachTagSelector(Functor& functor, const CSSSelector* selector)
126 if (functor(selector))
130 if (forEachTagSelector(functor, subSelector))
139 template <typename Functor>
140 static bool forEachSelector(Functor& functor, const CSSSelectorList* selectorList)
143 if (forEachTagSelector(functor, selector))
164 SelectorNeedsNamespaceResolutionFunctor functor; local
178 SelectorHasInvalidSelectorFunctor functor; local
192 SelectorHasShadowDistributed functor; local
    [all...]
  /external/ceres-solver/include/ceres/
autodiff_cost_function.h 37 // templated operator() (a functor) that computes the cost function in terms of
96 // "MyScalarCostFunctor", "1, 2, 2", describe the functor as computing a
116 // WARNING #1: Since the functor will get instantiated with different types for
141 // The first template argument is the functor object, described in the header
146 // The constructors take ownership of the cost functor.
169 // Takes ownership of functor. Uses the template-provided value for the
171 explicit AutoDiffCostFunction(CostFunctor* functor)
172 : functor_(functor) {
177 // Takes ownership of functor. Ignores the template-provided number of
182 AutoDiffCostFunction(CostFunctor* functor, int num_residuals
    [all...]
numeric_diff_cost_function.h 37 // a class with a operator() (a functor) that computes the residuals.
95 // "MyScalarCostFunctor", "1, 2, 2", describe the functor as computing
179 NumericDiffCostFunction(CostFunctor* functor,
181 :functor_(functor),
185 NumericDiffCostFunction(CostFunctor* functor,
188 : functor_(functor),
dynamic_autodiff_cost_function.h 39 // The functor API differs slightly from the API for fixed size autodiff; the
80 explicit DynamicAutoDiffCostFunction(CostFunctor* functor)
81 : functor_(functor) {}
106 // is a large body of code that assumes inside a cost functor it is
125 // Make the parameter pack that is sent to the functor (reused).
  /external/chromium_org/third_party/skia/include/core/
SkTSearch.h 34 // The most general form of SkTSearch takes an array of T and a key of type K. A functor, less, is
71 // Adapts a less-than function to a functor.
76 // Specialization for case when T==K and the caller wants to use a function rather than functor.
79 static SkTLessFunctionToFunctorAdaptor<T, LESS> functor; local
80 return SkTSearch(base, count, target, elemSize, functor);
83 // Adapts operator < to a functor.
91 static SkTLessFunctor<T> functor; local
92 return SkTSearch(base, count, target, elemSize, functor);
95 // Similar to SkLessFunctionToFunctorAdaptor but makes the functor interface take T* rather than T.
104 static SkTLessFunctionToPtrFunctorAdaptor<T, LESS> functor; local
    [all...]
  /external/eigen/unsupported/test/
NumericalDiff.cpp 11 // Generic functor
13 struct Functor
26 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {}
27 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {}
34 struct my_functor : Functor<double>
36 my_functor(void): Functor<double>(3,15) {}
75 my_functor functor; local
80 functor.actual_df(x, actual_jac);
84 NumericalDiff<my_functor> numDiff(functor);
96 my_functor functor; local
    [all...]
NonLinearOptimization.cpp 103 // Generic functor
105 struct Functor
118 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {}
119 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {}
128 struct lmder_functor : Functor<double>
130 lmder_functor(void): Functor<double>(3,15) {}
174 lmder_functor functor; local
175 LevenbergMarquardt<lmder_functor> lm(functor);
203 lmder_functor functor; local
204 LevenbergMarquardt<lmder_functor> lm(functor);
288 hybrj_functor functor; local
321 hybrj_functor functor; local
377 hybrd_functor functor; local
404 hybrd_functor functor; local
479 lmstr_functor functor; local
508 lmstr_functor functor; local
564 lmdif_functor functor; local
594 lmdif_functor functor; local
680 chwirut2_functor functor; local
760 misra1a_functor functor; local
846 hahn1_functor functor; local
932 misra1d_functor functor; local
1010 lanczos1_functor functor; local
1096 rat42_functor functor; local
1174 MGH10_functor functor; local
1250 BoxBOD_functor functor; local
1332 MGH17_functor functor; local
1421 MGH09_functor functor; local
1504 Bennett5_functor functor; local
1591 thurber_functor functor; local
1683 rat43_functor functor; local
1770 eckerle4_functor functor; local
    [all...]
  /external/skia/include/core/
SkTSearch.h 34 // The most general form of SkTSearch takes an array of T and a key of type K. A functor, less, is
71 // Adapts a less-than function to a functor.
76 // Specialization for case when T==K and the caller wants to use a function rather than functor.
79 static SkTLessFunctionToFunctorAdaptor<T, LESS> functor; local
80 return SkTSearch(base, count, target, elemSize, functor);
83 // Adapts operator < to a functor.
91 static SkTLessFunctor<T> functor; local
92 return SkTSearch(base, count, target, elemSize, functor);
95 // Similar to SkLessFunctionToFunctorAdaptor but makes the functor interface take T* rather than T.
104 static SkTLessFunctionToPtrFunctorAdaptor<T, LESS> functor; local
    [all...]
  /external/eigen/Eigen/src/Core/
CwiseUnaryOp.h 21 * \param UnaryOp template functor implementing the operator
73 /** \returns the functor representing the unary operation */
74 const UnaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseUnaryOp
103 return derived().functor()(derived().nestedExpression().coeff(row, col));
109 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(row, col));
114 return derived().functor()(derived().nestedExpression().coeff(index));
120 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(index));
CwiseUnaryView.h 20 * \param ViewOp template functor implementing the view
74 /** \returns the functor representing unary operation */
75 const ViewOp& functor() const { return m_functor; } function in class:Eigen::CwiseUnaryView
114 return derived().functor()(derived().nestedExpression().coeff(row, col));
119 return derived().functor()(derived().nestedExpression().coeff(index));
124 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(row, col));
129 return derived().functor()(const_cast_derived().nestedExpression().coeffRef(index));
CwiseBinaryOp.h 21 * \param BinaryOp template functor implementing the operator
89 // we require Lhs and Rhs to have the same scalar type. Currently there is no example of a binary functor
153 /** \returns the functor representing the binary operation */
154 const BinaryOp& functor() const { return m_functor; } function in class:Eigen::CwiseBinaryOp
174 return derived().functor()(derived().lhs().coeff(row, col),
181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(row, col),
187 return derived().functor()(derived().lhs().coeff(index),
194 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(index),
  /external/chromium_org/third_party/libjingle/source/talk/base/
thread.h 163 // Convenience method to invoke a functor on another thread. Caller must
169 ReturnT Invoke(const FunctorT& functor) {
170 FunctorMessageHandler<ReturnT, FunctorT> handler(functor);
220 // Helper class to facilitate executing a functor on a thread.
224 explicit FunctorMessageHandler(const FunctorT& functor)
225 : functor_(functor) {}
239 explicit FunctorMessageHandler(const FunctorT& functor)
240 : functor_(functor) {}
  /frameworks/base/core/java/android/view/
HardwareCanvas.java 168 * Detaches the specified functor from the current functor execution queue.
170 * @param functor The native functor to remove from the execution queue.
178 abstract void detachFunctor(int functor);
181 * Attaches the specified functor to the current functor execution queue.
183 * @param functor The native functor to add to the execution queue.
191 abstract void attachFunctor(int functor);
    [all...]
  /external/chromium_org/base/
bind.h 56 template <typename Functor>
59 typename internal::FunctorTraits<Functor>::RunnableType,
60 typename internal::FunctorTraits<Functor>::RunType,
63 Bind(Functor functor) {
64 // Typedefs for how to store and run the functor.
65 typedef typename internal::FunctorTraits<Functor>::RunnableType RunnableType;
66 typedef typename internal::FunctorTraits<Functor>::RunType RunType;
70 // functor is going to interpret the argument as.
78 new BindState(internal::MakeRunnable(functor)));
    [all...]
bind_helpers.h 316 explicit IgnoreResultHelper(T functor) : functor_(functor) {}
323 explicit IgnoreResultHelper(const Callback<T>& functor) : functor_(functor) {}
  /external/eigen/Eigen/src/SparseCore/
SparseCwiseUnaryOp.h 42 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor())
65 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor())
106 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor())
128 : Base(unaryOp.derived().nestedExpression(),outer), m_functor(unaryOp.derived().functor())
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
LevenbergMarquardt.h 50 : functor(_functor) { nfev = njev = iter = 0; fnorm = gnorm = 0.; useExternalScaling=false; }
83 FunctorType &functor,
112 FunctorType &functor; member in class:Eigen::LevenbergMarquardt
134 m = functor.values();
167 m = functor.values();
194 if ( functor(x, fvec) < 0)
212 Index df_ret = functor.df(x, fjac);
277 if ( functor(wa2, wa4) < 0)
359 m = functor.values();
378 m = functor.values()
    [all...]
HybridNonLinearSolver.h 49 : functor(_functor) { nfev=njev=iter = 0; fnorm= 0.; useExternalScaling=false;}
100 FunctorType &functor; member in class:Eigen::HybridNonLinearSolver
170 if ( functor(x, fvec) < 0)
196 if ( functor.df(x, fjac) < 0)
247 if ( functor(wa2, wa4) < 0)
408 if ( functor(x, fvec) < 0)
436 if (internal::fdjac1(functor, x, fvec, fjac, parameters.nb_of_subdiagonals, parameters.nb_of_superdiagonals, parameters.epsfcn) <0)
487 if ( functor(wa2, wa4) < 0)
  /frameworks/webview/chromium/java/com/android/webview/chromium/
DrawGLFunctor.java 104 private static native void nativeDestroyGLFunctor(int functor);
  /frameworks/webview/chromium/plat_support/
draw_gl_functor.cpp 18 // GL Functor data types into the types the chromium stack expects, and back.
30 #include <utils/Functor.h>
41 class DrawGLFunctor : public Functor {
46 // Functor
130 void DestroyGLFunctor(JNIEnv*, jclass, jint functor) {
131 delete reinterpret_cast<DrawGLFunctor*>(functor);

Completed in 419 milliseconds

1 2 3