Automatic Differentiation
 
Loading...
Searching...
No Matches
std_normal_lccdf.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_OPENCL_PRIM_STD_NORMAL_LCCDF_HPP
2#define STAN_MATH_OPENCL_PRIM_STD_NORMAL_LCCDF_HPP
3#ifdef STAN_OPENCL
4
6
7namespace stan {
8namespace math {
9namespace internal {
10constexpr char std_normal_lccdf_opencl_func[] = "std_normal_lccdf(OpenCL)";
11} // namespace internal
12
21template <typename T_y_cl,
24inline return_type_t<T_y_cl> std_normal_lccdf(const T_y_cl& y) {
25 return std_normal_lcdf<internal::std_normal_lccdf_opencl_func>(-y);
26}
27
28} // namespace math
29} // namespace stan
30#endif
31#endif
return_type_t< T_y_cl > std_normal_lccdf(const T_y_cl &y)
Returns the log standard normal complementary cumulative distribution function.
require_all_t< is_prim_or_rev_kernel_expression< std::decay_t< Types > >... > require_all_prim_or_rev_kernel_expression_t
Require type satisfies is_prim_or_rev_kernel_expression.
require_any_not_t< is_stan_scalar< std::decay_t< Types > >... > require_any_not_stan_scalar_t
Require at least one of the types do not satisfy is_stan_scalar.
typename return_type< Ts... >::type return_type_t
Convenience type for the return type of the specified template parameters.
constexpr char std_normal_lccdf_opencl_func[]
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...