Automatic Differentiation
 
Loading...
Searching...
No Matches
is_plain_type.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_IS_PLAIN_TYPE_HPP
2#define STAN_MATH_PRIM_META_IS_PLAIN_TYPE_HPP
3
6#include <type_traits>
7
8namespace stan {
13template <typename S>
14using is_plain_type = std::is_same<std::decay_t<S>, plain_type_t<S>>;
15
23template <typename T>
25
28template <typename T>
30
33template <typename... Types>
36
39template <typename... Types>
44} // namespace stan
45#endif
require_not_t< is_plain_type< std::decay_t< T > > > require_not_plain_type_t
Require type does not satisfy is_plain_type.
require_any_not_t< is_plain_type< std::decay_t< Types > >... > require_any_not_plain_type_t
Require any of the types satisfy is_plain_type.
require_all_t< is_plain_type< std::decay_t< Types > >... > require_all_plain_type_t
Require all of the types satisfy is_plain_type.
require_t< is_plain_type< std::decay_t< T > > > require_plain_type_t
Require type satisfies is_plain_type.
std::is_same< std::decay_t< S >, plain_type_t< S > > is_plain_type
Checks whether the template type T is an assignable type.
std::enable_if_t<!Check::value > require_not_t
If condition is false, template is disabled.
typename plain_type< T >::type plain_type_t
std::enable_if_t<!math::conjunction< Checks... >::value > require_any_not_t
If any condition is false, template is enabled.
std::enable_if_t< Check::value > require_t
If condition is true, template is enabled.
std::enable_if_t< math::conjunction< Checks... >::value > require_all_t
If all conditions are true, template is enabled Returns a type void if all conditions are true and ot...
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...