Template Function librapid::ceil(VAL&&)#

Function Documentation#

template<class VAL>
auto librapid::ceil(VAL &&val) -> detail::Function<typetraits::DescriptorType_t<VAL>, detail::Ceil, VAL>#

Compute the ceiling of each element in the array.

\(R = \{ R_0, R_1, R_2, ... \} \) \text{ where } \(R_i = \lceil A_i \rceil\)

Template Parameters

VAL – Type of the input

Parameters

val – The input array or function

Returns

Ceiling function object