Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
Tensor expression compiler
Collaboration diagram for Tensor expression compiler:

Data Structures

class  CTF::Idx_Tensor
 a tensor with an index map associated with it (necessary for overloaded operators) More...
 
class  CTF::Typ_Idx_Tensor< dtype >
 
class  CTF::Univar_Transform< dtype_A, dtype_B >
 custom function f : (X * Y) -> X applied on two tensors as summation: e.g. B["ij"] = f(A["ij"],B["ij"]) More...
 
class  CTF::Typ_Contract_Term< dtype_A, dtype_B, dtype_C >
 
class  CTF::Typ_Sum_Term< dtype_A, dtype_B >
 
class  CTF::Typ_AIdx_Tensor< dtype >
 
struct  CTF_int::tensor_name_less
 comparison function for sets of tensor pointers This ensures the set iteration order is consistent across nodes More...
 
class  CTF_int::Term
 a term is an abstract object representing some expression of tensors More...
 
class  CTF_int::Sum_Term
 
class  CTF_int::Contract_Term
 An experession representing a contraction of a set of tensors contained in operands. More...
 

Functions

CTF_int::Contract_Term CTF_int::operator* (double const &d, CTF_int::Term const &tsr)
 
CTF_int::Contract_Term CTF_int::operator* (int64_t const &i, CTF_int::Term const &tsr)
 
void CTF_int::operator-= (double &d, CTF_int::Term const &tsr)
 
void CTF_int::operator+= (double &d, CTF_int::Term const &tsr)
 
void CTF_int::operator-= (int64_t &d, CTF_int::Term const &tsr)
 
void CTF_int::operator+= (int64_t &d, CTF_int::Term const &tsr)
 

Detailed Description

Function Documentation

CTF_int::Contract_Term CTF_int::operator* ( double const &  d,
CTF_int::Term const &  tsr 
)
inline

Definition at line 358 of file term.h.

CTF_int::Contract_Term CTF_int::operator* ( int64_t const &  i,
CTF_int::Term const &  tsr 
)
inline

Definition at line 363 of file term.h.

References CTF_int::operator+=(), CTF_int::operator-=(), and ctf.core::tsr.

void CTF_int::operator+= ( double &  d,
CTF_int::Term const &  tsr 
)

Definition at line 744 of file term.cxx.

Referenced by CTF_int::operator*().

void CTF_int::operator+= ( int64_t &  d,
CTF_int::Term const &  tsr 
)

Definition at line 751 of file term.cxx.

void CTF_int::operator-= ( double &  d,
CTF_int::Term const &  tsr 
)

Definition at line 733 of file term.cxx.

Referenced by CTF_int::operator*().

void CTF_int::operator-= ( int64_t &  d,
CTF_int::Term const &  tsr 
)

Definition at line 747 of file term.cxx.