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

Go to the source code of this file.

Classes

struct  stan::is_var_or_arithmetic_type< T >
 Defines a static member value which is defined to be true (1) if the unqualified cv of type T or its underlying type (if a container) is either var or an arithmetic type, and false (0) otherwise. More...
 

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::is_var_or_arithmetic = math::conjunction< is_var_or_arithmetic_type< T >... >
 Extends std::true_type if all the provided types are either var or an arithmetic type, extends std::false_type otherwise.
 
template<typename T >
using stan::require_var_or_arithmetic_t = require_t< is_var_or_arithmetic< std::decay_t< T > > >
 Require type satisfies is_var_or_arithmetic.
 
template<typename T >
using stan::require_not_var_or_arithmetic_t = require_not_t< is_var_or_arithmetic< std::decay_t< T > > >
 Require type does not satisfy is_var_or_arithmetic.
 
template<typename... Types>
using stan::require_all_var_or_arithmetic_t = require_all_t< is_var_or_arithmetic< std::decay_t< Types > >... >
 Require all of the types satisfy is_var_or_arithmetic.
 
template<typename... Types>
using stan::require_any_var_or_arithmetic_t = require_any_t< is_var_or_arithmetic< std::decay_t< Types > >... >
 Require any of the types satisfy is_var_or_arithmetic.
 
template<typename... Types>
using stan::require_all_not_var_or_arithmetic_t = require_all_not_t< is_var_or_arithmetic< std::decay_t< Types > >... >
 Require none of the types satisfy is_var_or_arithmetic.
 
template<typename... Types>
using stan::require_any_not_var_or_arithmetic_t = require_any_not_t< is_var_or_arithmetic< std::decay_t< Types > >... >
 Require at least one of the types do not satisfy is_var_or_arithmetic.
 
template<typename... Types>
using stan::require_all_st_var_or_arithmetic = require_all_t< is_var_or_arithmetic< scalar_type_t< std::decay_t< Types > > >... >
 Require all of the scalar types satisfy is_var_or_arithmetic.