Implements functions and classes for a comparing composite numbers. More...
#include "../array/FixedArray.h"
#include <functional>
#include "composite_compare.ipp"
Go to the source code of this file.
Classes | |
class | less_composite< N, PointType > |
Compare the i coordinate of a N-dimensional composite number. More... | |
struct | xless_composite< PointType > |
Compare x coordinate using the composite number (x,y,z). More... | |
struct | yless_composite< PointType > |
Compare y coordinate using the composite number (y,z,x). More... | |
struct | zless_composite< PointType > |
Compare z coordinate using the composite number (z,x,y). More... | |
Functions | |
template<int N, typename PointType > | |
bool | less_composite_fcn (const int n, const PointType &a, const PointType &b) |
Compare the n coordinate of an N-dimensional composite number. | |
template<typename Pt3D > | |
bool | xless_composite_compare (const Pt3D &a, const Pt3D &b) |
Compare x coordinate using the composite number (x,y,z). | |
template<typename Pt3D > | |
bool | yless_composite_compare (const Pt3D &a, const Pt3D &b) |
Compare y coordinate using the composite number (y,z,x). | |
template<typename Pt3D > | |
bool | zless_composite_compare (const Pt3D &a, const Pt3D &b) |
Compare z coordinate using the composite number (z,x,y). | |
template<typename Pt3D > | |
bool | less_composite_compare (int i, const Pt3D &a, const Pt3D &b) |
Compare the i coordinate. |
Implements functions and classes for a comparing composite numbers.