00001 #include "fsquaremob.h" 00002 00003 FSquareMob::FSquareMob(double v1, double v2, double Sr1) 00004 { 00005 _v1=v1; 00006 _v2=v2; 00007 _Sr1= Sr1; 00008 } 00009 00010 double FSquareMob::operator()(double x,unsigned cmp=0) const 00011 { 00012 return ((x-_Sr1)*(x-_Sr1))/(_v1*(1-_Sr1)*(1-_Sr1)); 00013 }