Automatic Differentiation
 
Loading...
Searching...
No Matches
ceil.hpp
Go to the documentation of this file.
1#ifndef STAN_MATH_OPENCL_REV_CEIL_HPP
2#define STAN_MATH_OPENCL_REV_CEIL_HPP
3#ifdef STAN_OPENCL
4
8
9namespace stan {
10namespace math {
11
18template <typename T,
19 require_all_kernel_expressions_and_none_scalar_t<T>* = nullptr>
21 return var_value<matrix_cl<double>>(ceil(A.val()));
22}
23
24} // namespace math
25} // namespace stan
26
27#endif
28#endif
fvar< T > ceil(const fvar< T > &x)
Definition ceil.hpp:12
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...