Stan Math Library  2.9.0
reverse mode automatic differentiation
Namespaces | Functions
log2.hpp File Reference
#include <stan/math/prim/scal/fun/constants.hpp>
#include <boost/math/tools/promotion.hpp>
#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 ()
 Return natural logarithm of two. More...
 

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