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

Go to the source code of this file.

Classes

struct  stan::math::promote_scalar_type< T, S, Enable >
 Template metaprogram to calculate a type for converting a convertible type. More...
 
struct  stan::math::promote_scalar_type< T, std::vector< S > >
 Template metaprogram to calculate a type for a container whose underlying scalar is converted from the second template parameter type to the first. More...
 
struct  stan::math::promote_scalar_type< T, S, require_all_t< is_var< T >, is_var< S >, is_eigen< value_type_t< S > > > >
 Specialization for var_value when the type to convert to is a var_value. More...
 
struct  stan::math::promote_scalar_type< T, S, require_all_t< std::is_arithmetic< T >, is_var< S >, is_eigen< value_type_t< S > > > >
 Specialization for var_value when the type to convert to is arithmetic. More...
 
struct  stan::math::promote_scalar_type< T, S, require_eigen_dense_base_t< S > >
 Template metaprogram to calculate a type for a matrix, vector, row vector or Eigen::Array whose underlying scalar is converted from the second template parameter type to the first. More...
 
struct  stan::math::promote_scalar_type< T, S, require_eigen_sparse_base_t< S > >
 
struct  stan::math::promote_scalar_type< std::tuple< PromotionScalars... >, std::tuple< UnPromotedTypes... > >
 

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.
 

Typedefs

template<typename T , typename S >
using stan::math::promote_scalar_t = typename promote_scalar_type< std::decay_t< T >, std::decay_t< S > >::type