Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Data Structures | Public Member Functions | Data Fields | Private Member Functions | Private Attributes | Friends
mty::TraceIdentity Class Reference

Data Structures

struct  Tensor
 

Public Member Functions

 TraceIdentity (std::vector< size_t > const &t_tensorSize)
 
TraceIdentityoperator*= (csl::Expr const &t_factor)
 
TraceIdentityoperator/= (csl::Expr const &t_factor)
 
bool isSame (TraceIdentity const &other) const
 
TraceIdentityoperator+= (TraceIdentity const &other)
 

Data Fields

csl::Expr factor = CSL_1
 

Private Member Functions

std::vector< std::vector< Tensor > > step (std::vector< Tensor > const &term) const
 
size_t totalIndices (std::vector< Tensor > const &term) const
 
bool isFull (Tensor const &tensor) const
 
bool isFull (std::vector< Tensor > const &tensors) const
 

Private Attributes

size_t n
 
std::vector< size_t > tensorSize
 
std::vector< std::vector< Tensor > > terms
 

Friends

std::ostream & operator<< (std::ostream &out, TraceIdentity const &identity)
 

The documentation for this class was generated from the following files: