X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f3cbd5740fd2c6e770459ed6e10826b7a317c2d2..b78d5563826957045678f4c3bcfdcef6c9bfc48d:/cost_func.h?ds=inline diff --git a/cost_func.h b/cost_func.h index ed97dcf..d7310d2 100644 --- a/cost_func.h +++ b/cost_func.h @@ -4,6 +4,9 @@ #include #include +// Define a polynomial function +// The factors are given at construction time, in a C-style string, +// separated by commas (eg. "1, 2, 3" for x^2 + 2x +3). class cost_func { public: cost_func(const char* param);