Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
sym_indices.h File Reference
#include <assert.h>
Include dependency graph for sym_indices.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename RAIterator >
int relativeSign (RAIterator s1b, RAIterator s1e, RAIterator s2b, RAIterator s2e)
 
template<typename T >
int relativeSign (const T &s1, const T &s2)
 
template<typename T >
int align_symmetric_indices (int order_A, T &idx_A, const int *sym_A, int order_B, T &idx_B, const int *sym_B)
 
template<typename T >
int align_symmetric_indices (int order_A, T &idx_A, const int *sym_A, int order_B, T &idx_B, const int *sym_B, int order_C, T &idx_C, const int *sym_C)
 
template<typename T >
int overcounting_factor (int order_A, const T &idx_A, const int *sym_A, int order_B, const T &idx_B, const int *sym_B, int order_C, const T &idx_C, const int *sym_C)
 
template<typename T >
int overcounting_factor (int order_A, const T &idx_A, const int *sym_A, int order_B, const T &idx_B, const int *sym_B)
 

Function Documentation

template<typename T >
int align_symmetric_indices ( int  order_A,
T &  idx_A,
const int *  sym_A,
int  order_B,
T &  idx_B,
const int *  sym_B 
)
template<typename T >
int align_symmetric_indices ( int  order_A,
T &  idx_A,
const int *  sym_A,
int  order_B,
T &  idx_B,
const int *  sym_B,
int  order_C,
T &  idx_C,
const int *  sym_C 
)
template<typename T >
int overcounting_factor ( int  order_A,
const T &  idx_A,
const int *  sym_A,
int  order_B,
const T &  idx_B,
const int *  sym_B,
int  order_C,
const T &  idx_C,
const int *  sym_C 
)

Definition at line 361 of file sym_indices.cxx.

References CTF_int::fact(), and NS.

Referenced by CTF_int::summation::estimate_time(), CTF_int::get_len_ordering(), and relativeSign().

template<typename T >
int overcounting_factor ( int  order_A,
const T &  idx_A,
const int *  sym_A,
int  order_B,
const T &  idx_B,
const int *  sym_B 
)
template<typename RAIterator >
int relativeSign ( RAIterator  s1b,
RAIterator  s1e,
RAIterator  s2b,
RAIterator  s2e 
)

Written by Devin Matthews

Definition at line 9 of file sym_indices.h.

References sign().

Referenced by align_symmetric_indices(), and relativeSign().

template<typename T >
int relativeSign ( const T &  s1,
const T &  s2 
)

Definition at line 38 of file sym_indices.h.

References align_symmetric_indices(), overcounting_factor(), and relativeSign().