Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Summary
PrevUpHomeNext
  • Distributions are objects, which are constructed from whatever parameters the distribution may have.
  • Member functions allow you to retrieve the parameters of a distribution.
  • Generic non-member functions provide access to the properties that are common to all the distributions (PDF, CDF, quantile etc).
  • Complements of probabilities are calculated by wrapping the function's arguments in a call to complement(...).
  • Functions that accept a probability can accept a complement of the probability as well, by wrapping the function's arguments in a call to complement(...).
  • Static member functions allow the parameters of a distribution to be found from other information.

Now that you have the basics, the next section looks at some worked examples.


PrevUpHomeNext