Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/value_of.hpp>
#include <type_traits>
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 > | |
std::enable_if< std::is_arithmetic< T >::value, T >::type | stan::math::primitive_value (T x) |
Return the value of the specified arithmetic argument unmodified with its own declared type. | |
template<typename T > | |
std::enable_if<!std::is_arithmetic< T >::value, double >::type | stan::math::primitive_value (const T &x) |
Return the primitive value of the specified argument. | |