![]() |
Stan Math Library
5.1.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 | |
| template<typename T , require_not_tuple_t< T > * = nullptr> | |
| ref_type_t< T && > | stan::math::to_ref (T &&a) |
| This evaluates expensive Eigen expressions. | |
| template<typename T , require_tuple_t< T > * = nullptr> | |
| auto | stan::math::to_ref (T &&a) |
| Overload that handles tuples. | |
| template<bool Cond, typename T , std::enable_if_t<!Cond > * = nullptr> | |
| T | stan::math::to_ref_if (T &&a) |
| No-op that should be optimized away. | |
| template<bool Cond, typename T , std::enable_if_t< Cond > * = nullptr> | |
| ref_type_t< T && > | stan::math::to_ref_if (T &&a) |
| If the condition is true, evaluates expensive Eigen expressions. | |