Automatic Differentiation
 
Loading...
Searching...
No Matches
is_var_matrix.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_IS_VAR_MATRIX
2#define STAN_MATH_PRIM_META_IS_VAR_MATRIX
3
9
10namespace stan {
17template <typename T>
20 math::conjunction<is_var<T>, is_eigen<value_type_t<T>>>::value> {};
21
29template <typename T>
31
34template <typename T>
36
39template <typename... Types>
42
45template <typename... Types>
48
51template <typename... Types>
63template <typename T>
65 : bool_constant<math::conjunction<
66 is_var<T>, is_eigen_col_vector<value_type_t<T>>>::value> {};
67
75template <typename T>
77
80template <typename T>
92template <typename T>
94 : bool_constant<math::conjunction<
95 is_var<T>, is_eigen_row_vector<value_type_t<T>>>::value> {};
96
104template <typename T>
115template <typename T>
117 : bool_constant<math::disjunction<is_var_col_vector<T>,
118 is_var_row_vector<T>>::value> {};
119
127template <typename T>
129
132template <typename... Types>
135
138template <typename... Types>
149template <typename... Types>
151 : bool_constant<math::disjunction<is_var_matrix<Types>...>::value> {};
152
153} // namespace stan
154
155#endif
require_t< is_var_col_vector< std::decay_t< T > > > require_var_col_vector_t
Require type satisfies is_var_col_vector.
require_not_t< is_var_col_vector< std::decay_t< T > > > require_not_var_col_vector_t
Require type does not satisfy is_var_col_vector.
require_t< is_var_matrix< std::decay_t< T > > > require_var_matrix_t
Require type satisfies is_var_matrix.
require_not_t< is_var_matrix< std::decay_t< T > > > require_not_var_matrix_t
Require type does not satisfy is_var_matrix.
require_all_t< is_var_matrix< std::decay_t< Types > >... > require_all_var_matrix_t
Require all of the types satisfy is_var_matrix.
require_all_not_t< is_var_matrix< std::decay_t< Types > >... > require_all_not_var_matrix_t
Require none of the types satisfy is_var_matrix.
require_any_t< is_var_matrix< std::decay_t< Types > >... > require_any_var_matrix_t
Require any of the types satisfy is_var_matrix.
require_t< is_var_row_vector< std::decay_t< T > > > require_var_row_vector_t
Require type satisfies is_var_row_vector.
require_any_t< is_var_vector< std::decay_t< Types > >... > require_any_var_vector_t
Require any of the types satisfy is_var_vector.
require_t< is_var_vector< std::decay_t< T > > > require_var_vector_t
Require type satisfies is_var_vector.
require_all_t< is_var_vector< std::decay_t< Types > >... > require_all_var_vector_t
Require all of the types satisfy is_var_vector.
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.
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 any types in a parameter pack are a var_value whose value_type is derived from Eigen::EigenB...
Check if a type is a var_value whose value_type is derived from Eigen::EigenBase.
Check if a type is a var_value whose value_type is derived from Eigen::EigenBase
Check if a type is a var_value whose value_type is derived from Eigen::EigenBase.
Check if a type is a var_value whose value_type is derived from Eigen::EigenBase.