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

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.
 

Typedefs

template<typename T >
using stan::is_stan_scalar_or_eigen = bool_constant< is_stan_scalar< std::decay_t< T > >::value||is_eigen< std::decay_t< T > >::value >
 Extends std::true_type if all the provided types are either a Stan Scalar type or a type inheriting from EigenBase.
 
template<typename T >
using stan::require_stan_scalar_or_eigen_t = require_t< is_stan_scalar_or_eigen< std::decay_t< T > > >
 Require type satisfies is_stan_scalar_or_eigen.