Template Function TRAP::Math::InverseSqrt(genType)#

Function Documentation#

template<typename genType>
constexpr genType TRAP::Math::InverseSqrt(genType x)#

Retrieve the inverse square root of the parameter.

InverseSqrt 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 inverse of the square root.

Returns:

Inverse of the square root of x.