Home
last modified time | relevance | path

Searched refs:Functor (Results 1 – 25 of 28) 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/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/
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 …]
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()
/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/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/clang/test/SemaTemplate/
Dmember-function-template.cpp53 struct Functor { struct
60 void test_Functor(Functor f) { in test_Functor() argument
Dinstantiate-local-class.cpp81 struct Functor { in doIt() struct
86 forEach(Functor()); in doIt()
/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/llvm/utils/unittest/googletest/src/
Dgtest-internal-inl.h284 template <class Container, typename Functor>
285 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()
/external/eigen/Eigen/src/Core/
DVectorwiseOp.h177 template<template<typename _Scalar> class Functor,
181 Functor<Scalar>,
DFunctors.h648 template<typename Functor> struct functor_has_linear_access { enum { ret = 1 }; };
655 template<typename Functor> struct functor_is_product_like { enum { ret = 0 }; };
/external/gtest/src/
Dgtest-internal-inl.h294 template <class Container, typename Functor>
295 void ForEach(const Container& c, Functor functor) { in ForEach()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h1837 template <typename Functor>
1839 typedef typename Functor::result_type ResultType;
1840 typedef Functor StorageType;
1842 static void CheckIsValid(Functor /* functor */) {} in CheckIsValid()
1844 static ResultType Invoke(Functor f, T arg) { return f(arg); } in Invoke()
/external/google-breakpad/src/testing/test/
Dgmock-more-actions_test.cc350 TEST(InvokeTest, Functor) { in TEST() argument
Dgmock-actions_test.cc1114 TEST(InvokeWithoutArgsTest, Functor) { in TEST() argument
/external/mesa3d/include/CL/
Dcl.hpp688 template <typename Functor, typename T>
692 get(Functor f, cl_uint name, T* param) in get()

12