/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/util/include/RAT/Evaluateable.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/util/include/RAT/Evaluateable.hh Source File
Ratpac-two
Evaluateable.hh
1 
16 #ifndef __Evaluateable__
17 #define __Evaluateable__
18 
19 class Evaluateable {
20  public:
21  Evaluateable();
22  double operator()(double x);
23  long GetCallCount();
24  void ResetCallCount();
25  virtual double Evaluate(double x) = 0;
26 
27  private:
28  long count;
29 };
30 
31 #endif
Interface for functions of a single variable.
Definition: Evaluateable.hh:19