Home
last modified time | relevance | path

Searched refs:Functor (Results 1 – 25 of 43) sorted by relevance

12

/external/ceres-solver/include/ceres/internal/
Dvariadic_evaluate.h49 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) { in Call()
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) {
84 template<typename Functor, typename T, int N0, int N1, int N2, int N3, int N4,
86 struct VariadicEvaluate<Functor, T, N0, N1, N2, N3, N4, N5, N6, N7, 0, 0> {
87 static bool Call(const Functor& functor, T const *const *input, T* output) {
100 template<typename Functor, typename T, int N0, int N1, int N2, int N3, int N4,
102 struct VariadicEvaluate<Functor, T, N0, N1, N2, N3, N4, N5, N6, 0, 0, 0> {
[all …]
Dautodiff.h205 template <typename Functor, typename T,
209 static bool Differentiate(const Functor& functor, in Differentiate()
281 if (!VariadicEvaluate<Functor, JetT, in Differentiate()
/external/eigen/unsupported/Eigen/src/NumericalDiff/
DNumericalDiff.h39 typedef _Functor Functor; typedef
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) {} in Functor() function
46 NumericalDiff(const Functor& f, Scalar _epsfcn=0.) : Functor(f), epsfcn(_epsfcn) {} in Functor() function
50 NumericalDiff(const T0& a0) : Functor(a0), epsfcn(0) {} in NumericalDiff()
52 NumericalDiff(const T0& a0, const T1& a1) : Functor(a0, a1), epsfcn(0) {} in NumericalDiff()
54 NumericalDiff(const T0& a0, const T1& a1, const T2& a2) : Functor(a0, a1, a2), epsfcn(0) {} in NumericalDiff()
[all …]
/external/eigen/unsupported/Eigen/src/AutoDiff/
DAutoDiffJacobian.h16 template<typename Functor> class AutoDiffJacobian : public Functor
19 AutoDiffJacobian() : Functor() {} in AutoDiffJacobian()
20 AutoDiffJacobian(const Functor& f) : Functor(f) {} in AutoDiffJacobian()
24 AutoDiffJacobian(const T0& a0) : Functor(a0) {} in AutoDiffJacobian()
26 AutoDiffJacobian(const T0& a0, const T1& a1) : Functor(a0, a1) {} in AutoDiffJacobian()
28 AutoDiffJacobian(const T0& a0, const T1& a1, const T2& a2) : Functor(a0, a1, a2) {} in AutoDiffJacobian()
31 InputsAtCompileTime = Functor::InputsAtCompileTime,
32 ValuesAtCompileTime = Functor::ValuesAtCompileTime
35 typedef typename Functor::InputType InputType;
36 typedef typename Functor::ValueType ValueType;
[all …]
/external/libcxx/test/std/utilities/function.objects/func.invoke/
Dinvoke.pass.cpp80 template <class Signature, class Expect, class Functor>
81 void test_b12(Functor&& f) { in test_b12()
91 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)) in test_b12()
96 typedef typename std::result_of<ClassFunc&&(Functor&&, NonCopyable&&)>::type in test_b12()
102 std::invoke(func_ptr, std::forward<Functor>(f), std::move(arg)); in test_b12()
106 template <class Expect, class Functor>
107 void test_b34(Functor&& f) { in test_b34()
114 std::invoke(func_ptr, std::forward<Functor>(f)) in test_b34()
119 typedef typename std::result_of<ClassFunc&&(Functor&&)>::type in test_b34()
125 std::invoke(func_ptr, std::forward<Functor>(f)); in test_b34()
[all …]
/external/libweave/third_party/chromium/base/
Dbind.h50 template <typename Functor, typename... Args>
53 typename internal::FunctorTraits<Functor>::RunnableType,
54 typename internal::FunctorTraits<Functor>::RunType,
57 Bind(Functor functor, const Args&... args) { in Bind()
59 using RunnableType = typename internal::FunctorTraits<Functor>::RunnableType; in Bind()
60 using RunType = typename internal::FunctorTraits<Functor>::RunType; in Bind()
/external/libchrome/base/
Dbind.h50 template <typename Functor, typename... Args>
53 typename internal::FunctorTraits<Functor>::RunnableType,
54 typename internal::FunctorTraits<Functor>::RunType,
57 Bind(Functor functor, const Args&... args) { in Bind()
59 using RunnableType = typename internal::FunctorTraits<Functor>::RunnableType; in Bind()
60 using RunType = typename internal::FunctorTraits<Functor>::RunType; in Bind()
Dbind_internal_win.h21 template <typename Functor>
/external/eigen/unsupported/Eigen/
DAdolcForward98 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;
116 typedef typename Functor::JacobianType JacobianType;
126 Functor::operator()(x, v);
[all …]
/external/ceres-solver/include/ceres/
Dautodiff_local_parameterization.h107 template <typename Functor, int kGlobalSize, int kLocalSize>
111 functor_(new Functor()) {} in AutoDiffLocalParameterization()
114 explicit AutoDiffLocalParameterization(Functor* functor) : in AutoDiffLocalParameterization()
137 return internal::AutoDiff<Functor, double, kGlobalSize, kLocalSize> in ComputeJacobian()
149 internal::scoped_ptr<Functor> functor_;
Dnumeric_diff_functor.h111 template<typename Functor,
122 new NumericDiffCostFunction<Functor, in functor_() argument
126 N5, N6, N7, N8, N9>(new Functor, in functor_() argument
132 NumericDiffFunctor(Functor* functor, double relative_step_size = 1e-6)
133 : functor_(new NumericDiffCostFunction<Functor, in functor_() argument
/external/eigen/unsupported/test/
DNumericalDiff.cpp13 struct Functor struct
26 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {} in Functor() argument
27 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {} in Functor() function
34 struct my_functor : Functor<double> argument
36 my_functor(void): Functor<double>(3,15) {} in my_functor()
DNonLinearOptimization.cpp107 struct Functor struct
120 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {} in Functor() argument
121 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {} in Functor() function
130 struct lmder_functor : Functor<double> argument
132 lmder_functor(void): Functor<double>(3,15) {} in lmder_functor()
242 struct hybrj_functor : Functor<double>
244 hybrj_functor(void) : Functor<double>(9,9) {} in hybrj_functor()
348 struct hybrd_functor : Functor<double>
350 hybrd_functor(void) : Functor<double>(9,9) {} in hybrd_functor()
430 struct lmstr_functor : Functor<double>
[all …]
/external/clang/test/SemaCXX/
Dtypo-correction-cxx11.cpp30 auto Functor = [x]() {}; in f() local
31 long Alignment = __alignof__(Functor); in f()
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
Dfdjac1.h7 const FunctorType &Functor, in fdjac1() argument
44 iflag = Functor(x, wa1); in fdjac1()
60 iflag = Functor(x, wa1); in fdjac1()
/external/clang/test/SemaTemplate/
Dmember-function-template.cpp53 struct Functor { struct
60 void test_Functor(Functor f) { in test_Functor() argument
Dinstantiate-local-class.cpp83 struct Functor { in doIt() struct
88 forEach(Functor()); in doIt()
/external/ceres-solver/internal/ceres/
Dcost_function_to_functor_test.cc252 NAME##Functor, 2, PARAMETER_BLOCK_SIZES >( \
253 new NAME##Functor)))); \
256 new AutoDiffCostFunction<NAME##Functor, 2, PARAMETER_BLOCK_SIZES >( \
257 new NAME##Functor)); \
/external/eigen/Eigen/src/Core/products/
DParallelizer.h85 template<bool Condition, typename Functor, typename Index>
86 void parallelize_gemm(const Functor& func, Index rows, Index cols, bool transpose) in parallelize_gemm()
/external/libchrome/base/containers/
Dsmall_map.h637 typename Functor>
639 Functor>::iterator::operator==(
644 typename Functor>
646 Functor>::iterator::operator!=(
/external/webrtc/webrtc/base/
Dbind.h.pump155 class Functor$i {
158 Functor$i(const FunctorT& functor$for j [[, P$j p$j]])
211 Functor$i<FP_T(NONAME), R$for j [[, P$j]]>
214 return Functor$i<FP_T(NONAME), R$for j [[, P$j]]>(
/external/llvm/utils/unittest/googletest/src/
Dgtest-internal-inl.h288 template <class Container, typename Functor>
289 void ForEach(const Container& c, Functor functor) { in ForEach()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-internal-inl.h292 template <class Container, typename Functor>
293 void ForEach(const Container& c, Functor functor) { in ForEach()
/external/mesa3d/src/gtest/src/
Dgtest-internal-inl.h285 template <class Container, typename Functor>
286 void ForEach(const Container& c, Functor functor) { in ForEach()
/external/protobuf/gtest/src/
Dgtest-internal-inl.h274 template <class Container, typename Functor>
275 void ForEach(const Container& c, Functor functor) { in ForEach()

12