Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
#include <assert.h>
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) |
int align_symmetric_indices | ( | int | order_A, |
T & | idx_A, | ||
const int * | sym_A, | ||
int | order_B, | ||
T & | idx_B, | ||
const int * | sym_B | ||
) |
Definition at line 40 of file sym_indices.cxx.
References AS, CTF_int::fact(), ctf.core::it, NS, relativeSign(), and index_locator_::sortB().
Referenced by CTF_int::add_sym_perm(), CTF_int::summation::estimate_time(), CTF_int::get_len_ordering(), relativeSign(), and CTF_int::summation::sum_tensors().
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 | ||
) |
Definition at line 157 of file sym_indices.cxx.
References AS, CTF_int::fact(), ctf.core::it, NS, relativeSign(), index_locator_::sortB(), and index_locator_::sortC().
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().
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 | ||
) |
Definition at line 402 of file sym_indices.cxx.
References align_symmetric_indices< int * >(), AS, CTF_int::fact(), NS, overcounting_factor< int * >(), ctf.core::string, and SY.
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().
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().