00001 #include "fpclinear.h" 00002 #include "numericmethods.h" 00003 00004 00005 double FPcLinear::operator()(double x,unsigned cmp) const 00006 { 00007 NumericMethods::adjustBounds(x,0,1); 00008 assert(cmp ==0); 00009 return m_a*x+m_d; 00010 } 00011 00012 00013 00014