function_math.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_GEOMETRY_FUNCTION_MATH_HPP_
13 #define ECL_GEOMETRY_FUNCTION_MATH_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #include <ecl/config/macros.hpp>
20 
21 /*****************************************************************************
22 ** Namespaces
23 *****************************************************************************/
24 
25 namespace ecl {
26 
27 /*****************************************************************************
28 ** Factory
29 *****************************************************************************/
36 template <typename Function>
37 class ECL_PUBLIC FunctionMath {
38 public:
42  FunctionMath() {};
43  virtual ~FunctionMath() {};
44 };
45 
46 /*****************************************************************************
47 ** Maximum/Minimum
48 *****************************************************************************/
49 
59 template <typename Function>
60 class ECL_LOCAL Maximum {
61 private:
65  Maximum() {};
66  virtual ~Maximum() {};
67 };
68 
69 
79 template <typename Function>
80 class ECL_LOCAL Minimum {
81 private:
85  Minimum() {};
86  virtual ~Minimum() {};
87 };
88 
89 
93 template <typename Function>
94 class ECL_LOCAL Intersection {
95 private:
99  Intersection() {};
100  virtual ~Intersection() {};
101 };
102 
106 template <typename Function>
107 class ECL_LOCAL Division {
108 private:
112  Division() {};
113  virtual ~Division() {};
114 };
115 
119 template <typename Function>
120 class ECL_LOCAL Roots {
121 private:
125  Roots() {};
126  virtual ~Roots() {};
127 };
128 
129 }; // namespace ecl
130 
131 
132 #endif /* ECL_GEOMETRY_FUNCTION_MATH_HPP_ */
ecl::Intersection
Primary template functor for the intersection of like functions.
Definition: function_math.hpp:100
ECL_LOCAL
#define ECL_LOCAL
ecl::Roots
Primary template functor for the roots of a function (x-axis intercepts).
Definition: function_math.hpp:126
ecl::Minimum
Primary template functor for the minimum of a continuous function.
Definition: function_math.hpp:86
ecl::Maximum
Primary template functor for the maximum of a continuous function.
Definition: function_math.hpp:66
ecl::Division
Primary template functor for polynomial division.
Definition: function_math.hpp:113
ecl::FunctionMath
Used as a parent to load function math into function classes.
Definition: function_math.hpp:43
macros.hpp
ecl
Embedded control libraries.
ECL_PUBLIC
#define ECL_PUBLIC


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:39