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

Function Documentation#

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

Perform a component-wise equal-to comparison of two matrices.

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.

Returns:

Boolean vector which components value is true if this expression is satisfied per column of the matrices.