Template Function TRAP::Math::Sqrt(Vec<L, T>)#

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, T> TRAP::Math::Sqrt(Vec<L, T> x)#

Retrieve the square root of the parameter.

Sqrt function is defined for input values of x defined in the range [0, inf+) in the limit of the type qualifier.

Parameters:

x – Specify the value of which to take the square root.

Returns:

Positive square root of x.