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

1 2 3 4 5 6 7 8 91011>>

  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/
callback.hpp 41 template<typename Functor>
42 R invoke( Functor& f ) { return f(); }
43 template<typename Functor, typename T1>
44 R invoke( Functor& f, T1 t1 ) { return f( t1 ); }
45 template<typename Functor, typename T1, typename T2>
46 R invoke( Functor& f, T1 t1, T2 t2 ) { return f( t1, t2 ); }
47 template<typename Functor, typename T1, typename T2, typename T3>
48 R invoke( Functor& f, T1 t1, T2 t2, T3 t3 ) { return f( t1, t2, t3 ); }
55 template<typename Functor>
56 unused invoke( Functor& f ) { f(); return unused();
    [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,
144 functor, parameters, residuals.data(), functor)) {
160 functor, parameters, residuals.data(), functor)) {
    [all...]
  /external/eigen/unsupported/Eigen/src/NumericalDiff/
NumericalDiff.h 25 * This class allows you to add a method df() to your functor, which will
27 * derivative for the functor. Of course, if you have an analytical form
39 typedef _Functor Functor;
40 typedef typename Functor::Scalar Scalar;
41 typedef typename Functor::InputType InputType;
42 typedef typename Functor::ValueType ValueType;
43 typedef typename Functor::JacobianType JacobianType;
45 NumericalDiff(Scalar _epsfcn=0.) : Functor(), epsfcn(_epsfcn) {}
46 NumericalDiff(const Functor& f, Scalar _epsfcn=0.) : Functor(f), epsfcn(_epsfcn) {
    [all...]
  /external/eigen/unsupported/Eigen/src/AutoDiff/
AutoDiffJacobian.h 16 template<typename Functor> class AutoDiffJacobian : public Functor
19 AutoDiffJacobian() : Functor() {}
20 AutoDiffJacobian(const Functor& f) : Functor(f) {}
24 AutoDiffJacobian(const T0& a0) : Functor(a0) {}
26 AutoDiffJacobian(const T0& a0, const T1& a1) : Functor(a0, a1) {}
28 AutoDiffJacobian(const T0& a0, const T1& a1, const T2& a2) : Functor(a0, a1, a2) {}
31 InputsAtCompileTime = Functor::InputsAtCompileTime,
32 ValuesAtCompileTime = Functor::ValuesAtCompileTim
    [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...]
  /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
196 EasyFunctor functor; local
    [all...]
  /system/core/include/utils/
Functor.h 24 class Functor {
26 Functor() {}
27 virtual ~Functor() {}
  /external/eigen/unsupported/Eigen/
AdolcForward 98 template<typename Functor> class AdolcForwardJacobian : public Functor
103 AdolcForwardJacobian() : Functor() {}
104 AdolcForwardJacobian(const Functor& f) : Functor(f) {}
108 AdolcForwardJacobian(const T0& a0) : Functor(a0) {}
110 AdolcForwardJacobian(const T0& a0, const T1& a1) : Functor(a0, a1) {}
112 AdolcForwardJacobian(const T0& a0, const T1& a1, const T1& a2) : Functor(a0, a1, a2) {}
114 typedef typename Functor::InputType InputType;
115 typedef typename Functor::ValueType ValueType
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/
formatter.hpp 28 // const format functor ----------------------------------------------------//
30 // constant format functor
63 // identity format functor ----------------------------------------------------//
65 // identity format functor
77 // empty format functor ( used by erase ) ------------------------------------//
79 // empty format functor
90 // dissect format functor ----------------------------------------------------//
92 // dissect format functor
  /external/eigen/doc/examples/
class_CwiseBinaryOp.cpp 6 // define a custom template binary functor
class_CwiseUnaryOp.cpp 6 // define a custom template unary functor
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/parallel/
for_each_selectors.h 54 /** @brief Functor execution.
70 /** @brief Functor execution.
86 /** @brief Functor execution.
102 /** @brief Functor execution.
118 /** @brief Functor execution.
142 /** @brief Functor execution.
166 /** @brief Functor execution.
182 /** @brief Functor execution.
196 /** @brief Functor execution.
210 /** @brief Functor execution
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/parallel/
for_each_selectors.h 54 /** @brief Functor execution.
70 /** @brief Functor execution.
86 /** @brief Functor execution.
102 /** @brief Functor execution.
118 /** @brief Functor execution.
142 /** @brief Functor execution.
166 /** @brief Functor execution.
182 /** @brief Functor execution.
196 /** @brief Functor execution.
210 /** @brief Functor execution
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/parallel/
for_each_selectors.h 54 /** @brief Functor execution.
70 /** @brief Functor execution.
86 /** @brief Functor execution.
102 /** @brief Functor execution.
118 /** @brief Functor execution.
142 /** @brief Functor execution.
166 /** @brief Functor execution.
182 /** @brief Functor execution.
196 /** @brief Functor execution.
210 /** @brief Functor execution
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/parallel/
for_each_selectors.h 54 /** @brief Functor execution.
70 /** @brief Functor execution.
86 /** @brief Functor execution.
102 /** @brief Functor execution.
118 /** @brief Functor execution.
142 /** @brief Functor execution.
166 /** @brief Functor execution.
182 /** @brief Functor execution.
196 /** @brief Functor execution.
210 /** @brief Functor execution
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/parallel/
for_each_selectors.h 54 /** @brief Functor execution.
70 /** @brief Functor execution.
86 /** @brief Functor execution.
102 /** @brief Functor execution.
118 /** @brief Functor execution.
142 /** @brief Functor execution.
166 /** @brief Functor execution.
182 /** @brief Functor execution.
196 /** @brief Functor execution.
210 /** @brief Functor execution
    [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...]
  /frameworks/base/core/java/android/webkit/
WebViewDelegate.java 71 * Returns true if the draw GL functor can be invoked (see {@link #invokeDrawGlFunctor})
81 * Invokes the draw GL functor. If waitForCompletion is false the functor
84 * @param nativeDrawGLFunctor the pointer to the native functor that implements
85 * system/core/include/utils/Functor.h
94 * Calls the function specified with the nativeDrawGLFunctor functor pointer. This
99 * @param nativeDrawGLFunctor the pointer to the native functor that implements
100 * system/core/include/utils/Functor.h
113 * Detaches the draw GL functor.
115 * @param nativeDrawGLFunctor the pointer to the native functor that implement
    [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(rowId, colId));
109 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(rowId, colId));
114 return derived().functor()(derived().nestedExpression().coeff(index));
120 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(index));
  /external/ceres-solver/include/ceres/
autodiff_local_parameterization.h 47 // a class with a templated operator() (a functor) that computes
102 // WARNING: Since the functor will get instantiated with different types for
107 template <typename Functor, int kGlobalSize, int kLocalSize>
111 functor_(new Functor()) {}
113 // Takes ownership of functor.
114 explicit AutoDiffLocalParameterization(Functor* functor) :
115 functor_(functor) {}
137 return internal::AutoDiff<Functor, double, kGlobalSize, kLocalSize>
149 internal::scoped_ptr<Functor> functor_
    [all...]
numeric_diff_functor.h 31 // A wrapper class that takes a variadic functor evaluating a
33 // templated functor so that it can be easily used as part of Ceres'
47 // is a functor that implements the projection of a point in its local
51 // Now we would like to compose the action of this functor with the
62 // CameraProjection functor as follows.
111 template<typename Functor,
122 new NumericDiffCostFunction<Functor,
126 N5, N6, N7, N8, N9>(new Functor,
132 NumericDiffFunctor(Functor* functor, double relative_step_size = 1e-6
    [all...]
  /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
126 void DestroyGLFunctor(JNIEnv*, jclass, jlong functor) {
127 delete reinterpret_cast<DrawGLFunctor*>(functor);
  /frameworks/base/include/private/hwui/
DrawGlInfo.h 51 * Values used as the "what" parameter of the functor.
54 // Indicates that the functor is called to perform a draw
56 // Indicates the the functor is called only to perform
74 // The functor is done

Completed in 3052 milliseconds

1 2 3 4 5 6 7 8 91011>>