shards
Version of the Day
|
Lexicographical comparison of two arrays. More...
#include <Shards_SimpleArrayOps.hpp>
Public Types | |
enum | { N = n, I = i } |
Static Public Member Functions | |
template<typename T > | |
static bool | equal (const T *const x, const T *const y) |
All members are equal. | |
template<typename T > | |
static bool | not_equal (const T *const x, const T *const y) |
All members are not equal. | |
template<typename T > | |
static bool | less (const T *const x, const T *const y) |
First non-equal members satisfy x[k] < y[k]. | |
template<typename T > | |
static bool | less_equal (const T *const x, const T *const y) |
First non-equal members satisfies x[k] <= y[k]. | |
template<typename T > | |
static bool | greater (const T *const x, const T *const y) |
First non-equal members satisfies x[k] > y[k]. | |
template<typename T > | |
static bool | greater_equal (const T *const x, const T *const y) |
First non-equal members satisfies x[k] >= y[k]. | |
Lexicographical comparison of two arrays.
n | Number of members to iterate. |
Definition at line 194 of file Shards_SimpleArrayOps.hpp.