Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
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 > | |
ref_type_t< T && > | stan::math::to_ref (T &&a) |
This evaluates expensive Eigen expressions. | |
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. | |