Automatic Differentiation
 
Loading...
Searching...
No Matches
normal_lccdf.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_OPENCL_PRIM_NORMAL_LCCDF_HPP
2#define STAN_MATH_OPENCL_PRIM_NORMAL_LCCDF_HPP
3#ifdef STAN_OPENCL
4
6
7namespace stan {
8namespace math {
9namespace internal {
10constexpr char normal_lccdf_opencl_func[] = "normal_lccdf(OpenCL)";
11} // namespace internal
12
26template <
27 typename T_y_cl, typename T_loc_cl, typename T_scale_cl,
29 T_scale_cl>* = nullptr,
32 const T_y_cl& y, const T_loc_cl& mu, const T_scale_cl& sigma) {
33 return normal_lcdf<internal::normal_lccdf_opencl_func>(-y, -mu, sigma);
34}
35
36} // namespace math
37} // namespace stan
38#endif
39#endif
return_type_t< T_y_cl, T_loc_cl, T_scale_cl > normal_lccdf(const T_y_cl &y, const T_loc_cl &mu, const T_scale_cl &sigma)
Returns the normal log complementary cumulative distribution function for the given location,...
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 normal_lccdf_opencl_func[]
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...