C++ main module for emicrom Package  1.0
MATH_IntegrandFunction.h
Go to the documentation of this file.
1 #ifndef MATH_IntegrandFunction_H
2 #define MATH_IntegrandFunction_H
3 
4 #include "CORE_Object.h"
5 
6 #include "CORE_ListPointers.h"
7 
16 class MATH_IntegrandFunction: public virtual CORE_Object {
18 
19  // ATTRIBUTES
20 
21 private:
22 
23 
24  // ASSOCIATIONS
25 
26 
27  // CONSTRUCTORS
28 protected:
29 
32 
33 
34 
35  // DESTRUCTORS
36 
37 
40  virtual ~MATH_IntegrandFunction(void);
41 
42 
43  // NEW METHODS
44  //============
45 public:
46 
47  // ------------
48  // COPY Methods
49  // ------------
52  virtual void copy(const MATH_IntegrandFunction& f);
53 
54 
55 public:
56 
57  // ----------------
58  // FUNCTION METHOD
59  // ----------------
60 
61 
67  virtual tReal computeFunction(const tUSInt& n,const tReal x[])=0;
68 
69 public:
70 
71 
72 
73 };
74 #endif
DEFINE_SPTR(MATH_IntegrandFunction)
#define tUSInt
Definition: types.h:28
SP_OBJECT(MATH_IntegrandFunction)
virtual tReal computeFunction(const tUSInt &n, const tReal x[])=0
compute the function at the point x od size dim
virtual void copy(const MATH_IntegrandFunction &f)
copy the instance
Definition: MATH_IntegrandFunction.cpp:11
abstract base class for most classes.
Definition: CORE_Object.h:53
virtual ~MATH_IntegrandFunction(void)
destroy a function.
Definition: MATH_IntegrandFunction.cpp:7
This class describes a function to integrate. the method computeFunction() has to be defined...
Definition: MATH_IntegrandFunction.h:16
MATH_IntegrandFunction(void)
create a function
Definition: MATH_IntegrandFunction.cpp:4
#define tReal
Definition: types.h:118