madlib/madlib — pull request #156 by fschopp (2012-05-22 00:01:15+00:00)
Title: Probabilities Module: User-defined policy for Boost Math instead of manual domain checks

*Please feel free to discuss and share your comments. However, please do not pull yet. I will consolidate Kevin's earlier pull request 131 and this one.*

C++ AL:
- Boost global functions (so far, only error handlers) are now in dbal/BoostIntegration directory

Probability functions:
- Instead of isnan/isfinite/etc. checks, we now have a user-defined policy that propagates NaNs but errors out on all other boost domain errors (using the error message provided by boost).
- Boost probability functions are defined in modules/prob/boost.{hpp|cpp} using macros. New functions can now be added by adding only one line in both files.
- Student t-distribution now provides the standard boost interface.

Other modules:
- Adapted to the above changes