Template Function TRAP::Math::Sqrt(T)#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::Sqrt(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.