Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/meta/is_constant.hpp>
#include <stan/math/prim/meta/is_eigen.hpp>
#include <stan/math/prim/meta/is_arena_matrix.hpp>
#include <stan/math/prim/meta/is_vector.hpp>
#include <stan/math/prim/meta/plain_type.hpp>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | stan::ref_type_if< Condition, T, typename > |
If the condition is true determines appropriate type for assigning expression of given type to, to evaluate expensive expressions, but not make a copy if T involves no calculations. More... | |
struct | stan::ref_type_if< Condition, T, require_all_t< is_eigen< T >, bool_constant<!is_arena_matrix< T >::value > > > |
struct | stan::ref_type_if< Condition, T, require_arena_matrix_t< T > > |
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. | |
Typedefs | |
template<typename T > | |
using | stan::ref_type_t = typename ref_type_if< true, T >::type |
template<bool Condition, typename T > | |
using | stan::ref_type_if_t = typename ref_type_if< Condition, T >::type |
template<typename T > | |
using | stan::ref_type_if_not_constant_t = typename ref_type_if<!is_constant< T >::value, T >::type |