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

Go to the source code of this file.

Classes

class  stan::math::internal::lmultiply_vv_vari
 
class  stan::math::internal::lmultiply_vd_vari
 
class  stan::math::internal::lmultiply_dv_vari
 

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.
 
namespace  stan::math::internal
 A comparator that works for any container type that has the brackets operator.
 

Functions

var stan::math::lmultiply (const var &a, const var &b)
 Return the value of a*log(b).
 
var stan::math::lmultiply (const var &a, double b)
 Return the value of a*log(b).
 
var stan::math::lmultiply (double a, const var &b)
 Return the value of a*log(b).
 
template<typename T1 , typename T2 , require_any_container_t< T1, T2 > * = nullptr, require_all_not_var_matrix_t< T1, T2 > * = nullptr>
auto stan::math::lmultiply (const T1 &a, const T2 &b)
 Return the result of applying lmultiply to the arguments elementwise, with broadcasting if one of the arguments is a scalar.