43 #ifndef ___N_D_1_C_POLYNOM_H__
44 #define ___N_D_1_C_POLYNOM_H__
60 using namespace fib::algorithms::nLinearInequation;
69 template <
class tX,
class tY>
96 virtual tY evalue(
const tX & x )
const;
103 virtual void print( ostream & outputStream )
const;
118 virtual pair<unsigned long, tY> evalueError(
137 const tY maxYError )
const;
154 virtual pair<unsigned long, tY> evalueError(
175 const tY maxYError )
const;
190 virtual vector< cLinearEquation<tY> > createLinearEquations(
192 unsigned int uiMaxPolynomOrder )
const;
212 createInequiationsForRangePoint(
214 unsigned int uiPolynomOrder )
const;
221 long getLastFactorIndexNotNull()
const;
264 unsigned long ulMaxIterations = 256 * 256 * 256 );
280 virtual tY evalueGoodPolynom(
282 unsigned long ulTimeNeed = 1024 );
324 virtual unsigned long evalueSpline(
326 unsigned int uiNumberOfParameters = 4,
327 const unsigned int uiMinBitsToStoreMantissa = 1,
328 const tY maxValue = 1E+36,
329 const unsigned long ulMaxMemoryCost = 0 );
332 #ifdef FEATURE_C_SPLINE_USE_GLP_LIB_LINAR_PROBLEM_SOLVING
383 virtual unsigned long evalueSplineIterativFast(
385 unsigned int uiMaxNumberOfParameters = 4,
386 const tY maxValue = 1E+36,
387 const tY maxError = 0,
388 const tY maxErrorPerValue = 0,
389 const double dWeightParameter = 0.0000000001 );
391 #else //FEATURE_C_SPLINE_USE_GLP_LIB_LINAR_PROBLEM_SOLVING
441 virtual unsigned long evalueSplineIterativFast(
443 unsigned int uiMaxNumberOfParameters = 4,
444 const unsigned int uiMinBitsToStoreMantissa = 1,
445 const tY maxValue = 1E+36,
446 const tY maxError = 0,
447 const unsigned long ulMaxMemoryCost = 0 );
449 #endif //FEATURE_C_SPLINE_USE_GLP_LIB_LINAR_PROBLEM_SOLVING
473 #include "../src/cPolynom.cpp"
476 #endif //___N_D_1_C_POLYNOM_H__