git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2713 331e1502-861f-0410-8da2-ba01fb791d7f
26 lines
487 B
C++
26 lines
487 B
C++
#ifndef MULTIFUNCTION_H_
|
|
#define MULTIFUNCTION_H_
|
|
|
|
#include <vector>
|
|
|
|
class Sym;
|
|
class MultiFunctionImpl;
|
|
|
|
class MultiFunction {
|
|
MultiFunction& operator=(const MultiFunction&);
|
|
MultiFunction(const MultiFunction&);
|
|
|
|
MultiFunctionImpl* pimpl;
|
|
|
|
public:
|
|
|
|
MultiFunction(const std::vector<Sym>& pop);
|
|
~MultiFunction();
|
|
|
|
void operator()(const std::vector<double>& x, std::vector<double>& y);
|
|
void operator()(const double* x, double* y);
|
|
|
|
};
|
|
|
|
#endif
|
|
|