Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
index_locator_ Struct Reference

Public Member Functions

 index_locator_ (int sort, int idx, int pos_A, int pos_B, int pos_C)
 
bool operator== (int idx)
 

Static Public Member Functions

static bool sortA (const index_locator_ &a, const index_locator_ &b)
 
static bool sortB (const index_locator_ &a, const index_locator_ &b)
 
static bool sortC (const index_locator_ &a, const index_locator_ &b)
 

Data Fields

int sort
 
int idx
 
int pos_A
 
int pos_B
 
int pos_C
 

Detailed Description

Definition at line 8 of file sym_indices.cxx.

Constructor & Destructor Documentation

index_locator_::index_locator_ ( int  sort,
int  idx,
int  pos_A,
int  pos_B,
int  pos_C 
)
inline

Definition at line 16 of file sym_indices.cxx.

Member Function Documentation

bool index_locator_::operator== ( int  idx)
inline

Definition at line 34 of file sym_indices.cxx.

static bool index_locator_::sortA ( const index_locator_ a,
const index_locator_ b 
)
inlinestatic

Definition at line 19 of file sym_indices.cxx.

References pos_A.

static bool index_locator_::sortB ( const index_locator_ a,
const index_locator_ b 
)
inlinestatic

Definition at line 24 of file sym_indices.cxx.

References pos_B.

Referenced by align_symmetric_indices().

static bool index_locator_::sortC ( const index_locator_ a,
const index_locator_ b 
)
inlinestatic

Definition at line 29 of file sym_indices.cxx.

References pos_C.

Referenced by align_symmetric_indices().

Field Documentation

int index_locator_::idx

Definition at line 11 of file sym_indices.cxx.

int index_locator_::pos_A

Definition at line 12 of file sym_indices.cxx.

Referenced by sortA().

int index_locator_::pos_B

Definition at line 13 of file sym_indices.cxx.

Referenced by sortB().

int index_locator_::pos_C

Definition at line 14 of file sym_indices.cxx.

Referenced by sortC().

int index_locator_::sort

Definition at line 10 of file sym_indices.cxx.


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