QMCPACK
Int4less Struct Reference
+ Collaboration diagram for Int4less:

Public Member Functions

bool operator() (const TinyVector< int, 4 > &a, const TinyVector< int, 4 > &b) const
 

Detailed Description

Definition at line 60 of file EinsplineSetBuilder.h.

Member Function Documentation

◆ operator()()

bool operator() ( const TinyVector< int, 4 > &  a,
const TinyVector< int, 4 > &  b 
) const
inline

Definition at line 62 of file EinsplineSetBuilder.h.

63  {
64  for (int i = 0; i < 4; i++)
65  {
66  if (a[i] > b[i])
67  return false;
68  if (a[i] < b[i])
69  return true;
70  }
71  return false;
72  }

The documentation for this struct was generated from the following file: