#ifndef POLYNOMIAL_HPP #define POLYNOMIAL_HPP #include "KernelBasicParameter.hpp" #include "KernelBasicVector.hpp" class Polynomial : virtual public KernelBasicParameter, virtual public KernelBasicVector { private: unsigned int orde; void init(); unsigned int calculateNumberOfParameters(); void recur(unsigned int curr_dimension, unsigned int prev_i, unsigned int n, unsigned int& m, double prev_product=1.0); public: Polynomial(); Polynomial(const unsigned int dimensions, const unsigned int orde); virtual void operator()(); }; #endif // POLYNOMIAL_HPP