Automatic Differentiation
 
Loading...
Searching...
No Matches
is_matrix.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_IS_MATRIX_HPP
2#define STAN_MATH_PRIM_META_IS_MATRIX_HPP
3
8
9namespace stan {
16template <typename T>
18 : bool_constant<math::disjunction<is_rev_matrix<T>, is_eigen<T>>::value> {};
19
27template <typename T>
29
32template <typename T>
34
37template <typename... Types>
39
42template <typename... Types>
44
47template <typename... Types>
62template <template <class...> class TypeCheck, class... Check>
65
71template <template <class...> class TypeCheck, class... Check>
74
80template <template <class...> class TypeCheck, class... Check>
85} // namespace stan
86
87#endif
require_any_t< is_matrix< std::decay_t< Types > >... > require_any_matrix_t
Require any of the types satisfy is_matrix.
Definition is_matrix.hpp:43
require_t< is_matrix< std::decay_t< T > > > require_matrix_t
Require type satisfies is_matrix.
Definition is_matrix.hpp:28
require_not_t< is_matrix< std::decay_t< T > > > require_not_matrix_t
Require type does not satisfy is_matrix.
Definition is_matrix.hpp:33
require_any_t< container_type_check_base< is_matrix, scalar_type_t, TypeCheck, Check >... > require_any_matrix_st
Require any of the types satisfy is_matrix.
Definition is_matrix.hpp:64
require_all_t< container_type_check_base< is_matrix, scalar_type_t, TypeCheck, Check >... > require_all_matrix_st
Require all of the types does not satisfy is_matrix.
Definition is_matrix.hpp:73
require_all_not_t< container_type_check_base< is_matrix, scalar_type_t, TypeCheck, Check >... > require_all_not_matrix_st
Require none of the types satisfy is_matrix.
Definition is_matrix.hpp:82
require_all_not_t< is_matrix< std::decay_t< Types > >... > require_all_not_matrix_t
Require none of the types satisfy is_matrix.
Definition is_matrix.hpp:49
require_all_t< is_matrix< std::decay_t< Types > >... > require_all_matrix_t
Require all of the types satisfy is_matrix.
Definition is_matrix.hpp:38
std::enable_if_t<!Check::value > require_not_t
If condition is false, template is disabled.
std::enable_if_t< math::disjunction< Checks... >::value > require_any_t
If any condition is true, template is enabled.
std::enable_if_t<!math::disjunction< Checks... >::value > require_all_not_t
If all conditions are false, template is enabled.
bool_constant< math::conjunction< ContainerCheck< std::decay_t< Check > >..., TypeCheck< ValueCheck< Check > >... >::value > container_type_check_base
Used as the base for checking whether a type is a container with an underlying scalar type.
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 ...
Check if a type is derived from Eigen::EigenBase or is a var_value whose value_type is derived from E...
Definition is_matrix.hpp:18