Template Function TRAP::Math::NotEqual(const Mat<L, L, T>&, const Mat<L, L, T>&, T)#

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, bool> TRAP::Math::NotEqual(const Mat<L, L, T> &x, const Mat<L, L, T> &y, T epsilon)#

Perform a component-wise-not-equal-to comparison of two matrices taking epsilon into account.

Parameters:
  • x – Specifies the first matrix to be used in the comparison operation.

  • y – Specifies the second matrix to be used in the comparison operation.

  • epsilon – Specifies the epsilon to be used in the comparison operation.

Returns:

Component-wise comparison of |x - y| >= epsilon. True if this expression is not satisfied.