Stan Math Library
4.9.0
Automatic Differentiation
|
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 | |
var | stan::math::if_else (bool c, const var &y_true, const var &y_false) |
If the specified condition is true, return the first variable, otherwise return the second variable. | |
var | stan::math::if_else (bool c, double y_true, const var &y_false) |
If the specified condition is true, return a new variable constructed from the first scalar, otherwise return the second variable. | |
var | stan::math::if_else (bool c, const var &y_true, double y_false) |
If the specified condition is true, return the first variable, otherwise return a new variable constructed from the second scalar. | |