Relational operators are defined to compare the elements of two vectors or matrices lexicographically, in column-major order. More...
Functions | |
template<class A , class B > | |
constexpr detail::any_compare< A, B >::type | compare (const A &a, const B &b) |
template<class A , class B > | |
constexpr auto | operator== (const A &a, const B &b) -> decltype(compare(a, b)==0) |
template<class A , class B > | |
constexpr auto | operator!= (const A &a, const B &b) -> decltype(compare(a, b) !=0) |
template<class A , class B > | |
constexpr auto | operator< (const A &a, const B &b) -> decltype(compare(a, b)< 0) |
template<class A , class B > | |
constexpr auto | operator> (const A &a, const B &b) -> decltype(compare(a, b) > 0) |
template<class A , class B > | |
constexpr auto | operator<= (const A &a, const B &b) -> decltype(compare(a, b)<=0) |
template<class A , class B > | |
constexpr auto | operator>= (const A &a, const B &b) -> decltype(compare(a, b) >=0) |
Relational operators are defined to compare the elements of two vectors or matrices lexicographically, in column-major order.