Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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>
36 T,
39 math::disjunction<
40 math::conjunction<is_var<T>, is_eigen_col_vector<value_type_t<T>>>,
41 is_eigen_col_vector<T>>>> : std::true_type {};
42
50template <typename T>
52 T,
55 math::disjunction<
56 math::conjunction<is_var<T>, is_eigen_row_vector<value_type_t<T>>>,
57 is_eigen_row_vector<T>>>> : std::true_type {};
58
66template <typename T>
69 : std::true_type {};
70
71} // namespace stan
72#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