| Stan Math Library 2.12.0 reverse mode automatic differentiation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Namespaces | Functions
log2.hpp File Reference
`#include <stan/math/prim/scal/fun/constants.hpp>`
`#include <boost/math/tools/promotion.hpp>`
`#include <math.h>`
`#include <stdexcept>`

Go to the source code of this file.

## Namespaces
| stan
| stan::math
| Matrices and templated mathematical functions.

## Functions
template<typename T >
boost::math::tools::promote_args< T >::type | stan::math::log2 (const T &a)
| Returns the base 2 logarithm of the argument (C99). More...
double | stan::math::log2 (int x)
| Return the base two logarithm of the specified argument. More...
double | stan::math::log2 ()
| Return natural logarithm of two. More...

[ Stan Home Page ] © 2011–2016, Stan Development Team.