Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ ceil() [4/6]

template<typename Container , require_not_container_st< std::is_arithmetic, Container > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< Container > * = nullptr>
auto stan::math::ceil ( const Container &  x)
inline

Returns the elementwise ceil() of the input, which may be a scalar or any Stan container of numeric scalars.

Version of ceil() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.

Template Parameters
Containertype of container
Parameters
xcontainer
Returns
Least integer >= each value in x.
Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Least integer >= each value in x.

Definition at line 40 of file ceil.hpp.