Automatic Differentiation
 
Loading...
Searching...
No Matches
is_eigen_dense_base.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_IS_EIGEN_DENSE_BASE_HPP
2#define STAN_MATH_PRIM_META_IS_EIGEN_DENSE_BASE_HPP
3
8#include <type_traits>
9
10namespace stan {
11
20template <typename T>
22 : bool_constant<is_base_pointer_convertible<Eigen::DenseBase, T>::value> {};
23
31template <typename T>
46template <template <class...> class TypeCheck, class... Check>
49 TypeCheck, Check...>>;
52} // namespace stan
53
54#endif
require_t< container_type_check_base< is_eigen_dense_base, value_type_t, TypeCheck, Check... > > require_eigen_dense_base_vt
Require type satisfies is_eigen_dense_base.
require_t< is_eigen_dense_base< std::decay_t< T > > > require_eigen_dense_base_t
Require type satisfies is_eigen_dense_base.
typename value_type< T >::type value_type_t
Helper function for accessing underlying type.
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.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Checks whether type T is derived from Eigen::DenseBase.