Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/functor/apply_scalar_binary.hpp>
#include <cmath>
Go to the source code of this file.
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 | |
template<typename T1 , require_arithmetic_t< T1 > * = nullptr> | |
double | stan::math::ldexp (T1 a, int b) |
Returns the product of a (the significand) and 2 to power b (the exponent). | |
template<typename T1 , typename T2 , require_any_container_t< T1, T2 > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T1, T2 > * = nullptr> | |
auto | stan::math::ldexp (const T1 &a, const T2 &b) |
Enables the vectorized application of the ldexp function, when the first and/or second arguments are containers. | |