00001 // This is rpl/rrel/rrel_cauchy_obj.cxx 00002 #include "rrel_cauchy_obj.h" 00003 00004 namespace { 00005 inline double sqr( double x ) { return x*x; } 00006 } 00007 00008 00009 rrel_cauchy_obj::rrel_cauchy_obj( double C ) 00010 : C_( C ) 00011 { 00012 } 00013 00014 00015 rrel_cauchy_obj::~rrel_cauchy_obj() 00016 { 00017 } 00018 00019 00020 double 00021 rrel_cauchy_obj::rho( double u ) const 00022 { 00023 return rho_fast(u); 00024 } 00025 00026 double 00027 rrel_cauchy_obj::wgt( double u ) const 00028 { 00029 return wgt_fast(u); 00030 }