Boost logo

Boost :

From: John Maddock (jz.maddock_at_[hidden])
Date: 2008-06-12 11:48:31


Gary.Stevens_at_[hidden] 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk