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

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, T> TRAP::Math::InverseSqrt(Vec<L, T> 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.