Automatic Differentiation
 
Loading...
Searching...
No Matches
scalar_type.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_OPENCL_SCALAR_TYPE_HPP
2#define STAN_MATH_OPENCL_SCALAR_TYPE_HPP
3#ifdef STAN_OPENCL
4
6#include <type_traits>
7
8namespace stan {
9
13template <typename T>
16};
17} // namespace stan
18#endif
19#endif
require_all_t< is_kernel_expression_and_not_scalar< Types >... > require_all_kernel_expressions_and_none_scalar_t
Enables a template if all given types are non-scalar types that are a valid kernel generator expressi...
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...
typename scalar_type< typename std::decay_t< T >::Scalar >::type type
std::decay_t< T > type
Metaprogram structure to determine the base scalar type of a template argument.