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

Function Documentation#

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

Compute the square root of each element in the array.

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

Template Parameters

VAL – Type of the input

Parameters

val – The input array or function

Returns

Square root function object