Automatic Differentiation
 
Loading...
Searching...
No Matches
is_eigen_sparse_base.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_IS_EIGEN_SPARSE_BASE_HPP
2#define STAN_MATH_PRIM_META_IS_EIGEN_SPARSE_BASE_HPP
3
8#include <type_traits>
9
10namespace stan {
11
20template <typename T>
23 is_base_pointer_convertible<Eigen::SparseMatrixBase, T>::value> {};
24
32template <typename T>
37} // namespace stan
38
39#endif
require_t< is_eigen_sparse_base< std::decay_t< T > > > require_eigen_sparse_base_t
Require type satisfies is_eigen_sparse_base.
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::SparseMatrixBase.