Template Function TRAP::Math::IsEven(const Vec<L, T>&)#

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, bool> TRAP::Math::IsEven(const Vec<L, T> &x) noexcept#

Returns whether the given integers are even or not.

Parameters:

x – Integers to check.

Returns:

Vector containing True if a given integer is even, false otherwise.