Automatic Differentiation
 
Loading...
Searching...
No Matches
partials_type.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_FWD_META_PARTIALS_TYPE_HPP
2#define STAN_MATH_FWD_META_PARTIALS_TYPE_HPP
3
7#include <type_traits>
8
9namespace stan {
10
11template <typename T>
13 using type = typename std::decay_t<T>::Scalar;
14};
15
16} // namespace stan
17#endif
require_t< is_fvar< std::decay_t< T > > > require_fvar_t
Require type satisfies is_fvar.
Definition is_fvar.hpp:25
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 >::Scalar type
This base implementation will contain a static member function named type equal to the type passed in...