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

Function Documentation#

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

Compute the cube root of each element in the array.

\(R = \{ R_0, R_1, R_2, ... \} \) \text{ where } \(R_i = \sqrt[3]{A_i}\)

Template Parameters

VAL – Type of the input

Parameters

val – The input array or function

Returns

Cube root function object