Automatic Differentiation
 
Loading...
Searching...
No Matches
multiply_log.hpp File Reference

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 T_a , typename T_b , require_all_arithmetic_t< T_a, T_b > * = nullptr>
return_type_t< T_a, T_b > stan::math::multiply_log (const T_a a, const T_b b)
 Calculate the value of the first argument times log of the second argument while behaving properly with 0 inputs.
 
template<typename T1 , typename T2 , require_any_container_t< T1, T2 > * = nullptr, require_all_not_var_matrix_t< T1, T2 > * = nullptr>
auto stan::math::multiply_log (const T1 &a, const T2 &b)
 Enables the vectorized application of the multiply_log function, when the first and/or second arguments are containers.