Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
log2.hpp File Reference

Go to the source code of this file.

Classes

struct  stan::math::log2_fun
 Structure to wrap log2() so it can be vectorized. More...
 

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

constexpr double stan::math::log2 ()
 Return natural logarithm of two.
 
template<typename T , require_not_var_matrix_t< T > * = nullptr, require_not_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr>
auto stan::math::log2 (const T &x)
 Return the elementwise application of log2() to specified argument container.