41 #ifndef ___N_D_1_C_SPLINE_H__
42 #define ___N_D_1_C_SPLINE_H__
57 using namespace fib::algorithms::nLinearInequation;
66 template <
class tX,
class tY>
122 virtual tY evalue(
const tX & x )
const;
129 virtual void print( ostream & outputStream )
const;
144 virtual pair<unsigned long, tY> evalueError(
163 const tY maxYError )
const;
180 virtual pair<unsigned long, tY> evalueError(
201 const tY maxYError )
const;
228 #ifdef FEATURE_C_SPLINE_USE_GLP_LIB_LINAR_PROBLEM_SOLVING
285 virtual unsigned long evalueSpline(
287 unsigned int uiMaxNumberOfParameters = 4,
288 const tY maxValue = 1E+36,
289 const tY maxError = 0,
290 const tY maxErrorPerValue = 0,
291 const double dWeightParameter = 0.0000000001,
292 const unsigned long ulMaxPolynoms = 0 );
294 #else //FEATURE_C_SPLINE_USE_GLP_LIB_LINAR_PROBLEM_SOLVING
345 virtual unsigned long evalueSpline(
347 unsigned int uiMaxNumberOfParameters = 4,
348 const unsigned int uiMinBitsToStoreMantissa = 1,
349 const tY maxValue = 1E+36,
350 const tY maxError = 0,
351 const unsigned long ulMaxMemoryCost = 0 );
353 #endif //FEATURE_C_SPLINE_USE_GLP_LIB_LINAR_PROBLEM_SOLVING
374 const vector< cPolynom< tX, tY> > * getPolynoms()
const;
380 const vector< tY > * getBorders()
const;
410 const vector< tY > & vecInBorders,
420 #include "../src/cSpline.cpp"
423 #endif //___N_D_1_C_SPLINE_H__