Automatic Differentiation
 
Loading...
Searching...
No Matches
ref_type.hpp File Reference

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