![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta/bool_constant.hpp>#include <stan/math/prim/meta/is_stan_scalar.hpp>#include <stan/math/prim/meta/is_eigen.hpp>#include <stan/math/prim/meta/scalar_type.hpp>#include <stan/math/prim/meta/conjunction.hpp>#include <stan/math/prim/meta/require_helpers.hpp>#include <type_traits>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. | |