Manifold 3.0
Robust geometry
 
Loading...
Searching...
No Matches
Comparison_ops

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)
 

Detailed Description

Relational operators are defined to compare the elements of two vectors or matrices lexicographically, in column-major order.