Automatic Differentiation
 
Loading...
Searching...
No Matches
is_constant.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_OPENCL_IS_CONSTANT_HPP
2#define STAN_MATH_OPENCL_IS_CONSTANT_HPP
3#ifdef STAN_OPENCL
4
7
8namespace stan {
9
17template <typename T>
19 : std::true_type {};
20
21} // namespace stan
22
23#endif
24#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 ...
Metaprogramming struct to detect whether a given type is constant in the mathematical sense (not the ...