Cadabra
Computer algebra system for field theory problems
Public Member Functions | Public Attributes | List of all members
cadabra::Trace Class Reference

#include <Trace.hh>

Inheritance diagram for cadabra::Trace:
cadabra::Distributable cadabra::IndexInherit cadabra::TableauInherit cadabra::NumericalFlat cadabra::property cadabra::property cadabra::property cadabra::TableauBase cadabra::property cadabra::property cadabra::property

Public Member Functions

 Trace ()
 
virtual ~Trace ()
 
virtual std::string name () const override
 
virtual std::string unnamed_argument () const override
 
virtual bool parse (Kernel &, keyval_t &) override
 
virtual void validate (const Kernel &, const Ex &) const override
 
virtual void latex (std::ostream &) const override
 Display the property on the stream. More...
 
- Public Member Functions inherited from cadabra::Distributable
virtual ~Distributable ()
 
- Public Member Functions inherited from cadabra::property
 property (bool hidden=false)
 
virtual ~property ()
 
bool parse_to_keyvals (const Ex &, keyval_t &)
 
virtual bool parse (Kernel &, std::shared_ptr< Ex >, keyval_t &keyvals)
 
virtual match_t equals (const property *) const
 
void hidden (bool h)
 Properties can be hidden because they only make sense to the system; they will not be printed when the user asks for a list of properties. More...
 
bool hidden (void) const
 
- Public Member Functions inherited from cadabra::TableauInherit
virtual ~TableauInherit ()
 
virtual unsigned int size (const Properties &, Ex &, Ex::iterator) const
 
virtual tab_t get_tab (const Properties &, Ex &, Ex::iterator, unsigned int) const
 
- Public Member Functions inherited from cadabra::TableauBase
virtual ~TableauBase ()
 
virtual bool only_column_exchange () const
 
int get_indexgroup (const Properties &, Ex &, Ex::iterator, int) const
 
bool is_simple_symmetry (const Properties &, Ex &, Ex::iterator) const
 

Public Attributes

Ex obj
 
std::string index_set_name
 

Additional Inherited Members

- Public Types inherited from cadabra::property
enum  match_t { no_match , id_match , exact_match }
 
- Public Types inherited from cadabra::TableauBase
typedef yngtab::filled_tableau< unsigned int > tab_t
 

Constructor & Destructor Documentation

◆ Trace()

Trace::Trace ( )

◆ ~Trace()

Trace::~Trace ( )
virtual

Member Function Documentation

◆ latex()

void Trace::latex ( std::ostream &  str) const
overridevirtual

Display the property on the stream.

Generate a LaTeX representation of the property, assuming LaTeX is in text mode (so it needs dollar symbols to switch to maths).

Reimplemented from cadabra::property.

◆ name()

std::string Trace::name ( ) const
overridevirtual

Implements cadabra::property.

◆ parse()

bool Trace::parse ( Kernel ,
keyval_t keyvals 
)
overridevirtual

Reimplemented from cadabra::property.

◆ unnamed_argument()

std::string Trace::unnamed_argument ( ) const
overridevirtual

Reimplemented from cadabra::property.

◆ validate()

void Trace::validate ( const Kernel ,
const Ex  
) const
overridevirtual

Reimplemented from cadabra::property.

Member Data Documentation

◆ index_set_name

std::string cadabra::Trace::index_set_name

◆ obj

Ex cadabra::Trace::obj

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