Namespaces

| Home | Libraries | People | FAQ | More

### Namespaces

All math functions and distributions are in `namespace boost::math`

So, for example, the Students-t distribution template in `namespace boost::math` is

    template <class RealType> class students_t_distribution

and can be instantiated with the help of the reserved name `students_t`(for `RealType double`)

    typedef students_t_distribution<double> students_t;

    student_t mydist(10);

Functions not intended for use by applications are in `boost::math::detail`.

Functions that may have more general use, like `digits` (significand), `max_value`, `min_value` and `epsilon` are in `boost::math::tools`.

Policy and configuration information is in namespace `boost::math::policies`.