Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ lmultiply() [10/10]

var stan::math::lmultiply ( double  a,
const var b 
)
inline

Return the value of a*log(b).

When both a and b are 0, the value returned is 0. The partial derivative with respect to b is a/b.

Parameters
aFirst scalar.
bSecond variable.
Returns
Value of a*log(b)

Definition at line 83 of file lmultiply.hpp.