
12 Jun
2008
12 Jun
'08
3:48 p.m.
Gary.Stevens@deq.idaho.gov wrote:
I did add the include statement. Please find attached the sample code. Thank you.
The Boost versions of all the special functions are declared in namespace boost::math::, so either call boost::math::erfc(val) or add a "using boost::math::erfc;" statement to bring the function into the current scope. The latter is probably not recomended in this case as you may get ambiguities between ::erfc declared in *some* but not all math.h versions, and boost::math::erfc. HTH, John.