// Author: Andreas F. Borchert // Contributors: {} // Description: abstract class for monadic functions #ifndef FUNCTION_H #define FUNCTION_H #include class Function { public: virtual ~Function() {}; virtual const std::string& get_name() const = 0; virtual double execute(double x) const = 0; }; // class Function #endif