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

#include <Metric.hh>

Inheritance diagram for cadabra::Metric:
cadabra::Symmetric cadabra::property cadabra::TableauBase cadabra::property cadabra::property

Public Member Functions

 Metric ()
 
virtual std::string name () 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::Symmetric
virtual unsigned int size (const Properties &, Ex &, Ex::iterator) const override
 
virtual tab_t get_tab (const Properties &, Ex &, Ex::iterator, unsigned int) const override
 
- 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 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 std::string unnamed_argument () const
 
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 Attributes

int signature
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Metric()

Metric::Metric ( )

Member Function Documentation

◆ latex()

void Metric::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 Metric::name ( ) const
overridevirtual

Implements cadabra::property.

◆ parse()

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

Reimplemented from cadabra::property.

◆ validate()

void Metric::validate ( const Kernel ,
const Ex tr 
) const
overridevirtual

Reimplemented from cadabra::property.

Member Data Documentation

◆ signature

int cadabra::Metric::signature

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