Automatic Differentiation
 
Loading...
Searching...
No Matches
ad_promotable.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_PRIM_META_AD_PROMOTABLE_HPP
2#define STAN_MATH_PRIM_META_AD_PROMOTABLE_HPP
3
5#include <type_traits>
6
7namespace stan {
8namespace math {
9
18template <typename From, typename To, typename = void>
21 std::is_convertible<std::decay_t<From>, std::decay_t<To>>::value> {};
22
23} // namespace math
24} // namespace stan
25#endif
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9
If the type From can be converted to To using implicit conversions, or both From and To are possibly ...