ContRap-Libraries
|
#include <cmath>
#include <vector>
#include "math/mathexports.h"
Data Structures | |
class | crp::Function< Domain > |
Class Function is the most general function interface in ContRap. More... | |
class | crp::RealFunction |
Class RealFunction represents an interface for functions from reals to reals. More... | |
class | crp::RealPolynomial |
Class RealPolynomial represents a polynomial function over the reals. More... | |
class | crp::RealStepFunction |
Class RealStepFunction represents a step function over the reals. More... | |
Namespaces | |
namespace | crp |
Defines | |
#define | CONTRAP_FUNCTOR(name, value, arity) |
#define CONTRAP_FUNCTOR | ( | name, | |
value, | |||
arity | |||
) |
class name : public Function<double> {\ public:\ virtual double operator()(const std::vector<double>& x) {\ return value;\ }\ virtual int get_arity() const { return arity; } \ };