|
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 158 of file Shards_SimpleArrayOps.hpp.
| anonymous enum |
Definition at line 159 of file Shards_SimpleArrayOps.hpp.
|
inline |
Definition at line 199 of file Shards_SimpleArrayOps.hpp.
|
inlinestatic |
All members are equal.
Definition at line 163 of file Shards_SimpleArrayOps.hpp.
|
inlinestatic |
All members are not equal.
Definition at line 168 of file Shards_SimpleArrayOps.hpp.
|
inlinestatic |
First non-equal members satisfy x[k] < y[k].
Definition at line 173 of file Shards_SimpleArrayOps.hpp.
|
inlinestatic |
First non-equal members satisfies x[k] <= y[k].
Definition at line 180 of file Shards_SimpleArrayOps.hpp.
|
inlinestatic |
First non-equal members satisfies x[k] > y[k].
Definition at line 187 of file Shards_SimpleArrayOps.hpp.
|
inlinestatic |
First non-equal members satisfies x[k] >= y[k].
Definition at line 194 of file Shards_SimpleArrayOps.hpp.