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

Function Documentation#

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

Compute the floor of each element in the array.

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

Template Parameters

VAL – Type of the input

Parameters

val – The input array or function

Returns

Floor function object