Automatic Differentiation
 
Loading...
Searching...
No Matches
partials_type.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_REV_META_PARTIALS_TYPE_HPP
2#define STAN_MATH_REV_META_PARTIALS_TYPE_HPP
3
6#include <type_traits>
7
8namespace stan {
9
13template <typename T>
15 using type = typename std::decay_t<T>::value_type;
16};
17
18} // namespace stan
19#endif
require_t< is_var< std::decay_t< T > > > require_var_t
Require type satisfies is_var.
Definition is_var.hpp:24
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
Definition fvar.hpp:9
typename std::decay_t< T >::value_type type
This base implementation will contain a static member function named type equal to the type passed in...