Automatic Differentiation
 
Loading...
Searching...
No Matches
is_rev_matrix.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_REV_META_IS_REV_MATRIX_HPP
2#define STAN_MATH_REV_META_IS_REV_MATRIX_HPP
3
10#include <type_traits>
11
12namespace stan {
19template <typename T>
21 T,
23 math::disjunction<
24 math::conjunction<is_var<T>, is_eigen<value_type_t<T>>>,
25 is_eigen<T>>>> : std::true_type {};
26
34template <typename T>
37 math::disjunction<is_eigen_col_vector<T>,
38 is_eigen_col_vector<value_type_t<T>>>>>
39 : std::true_type {};
40
48template <typename T>
51 math::disjunction<is_eigen_row_vector<T>,
52 is_eigen_row_vector<value_type_t<T>>>>>
53 : std::true_type {};
54
62template <typename T>
65 : std::true_type {};
66
67} // namespace stan
68#endif
std::enable_if_t< math::disjunction< Checks... >::value > require_any_t
If any condition is true, template is enabled.
typename scalar_type< T >::type scalar_type_t
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 ...
Defines a static member named value which is defined to be true if the type is either derived from Ei...
Defines a static member named value which is defined to be true if the type is either a type derived ...
Defines a static member named value which is defined to be true if the type is either a type derived ...
Defines a static member named value which is defined to be true if the type is either a type derived ...
Defines a static member named value which is defined to be false as the primitive scalar types cannot...
Definition is_var.hpp:14