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

#include <Spinor.hh>

Inheritance diagram for cadabra::Spinor:
cadabra::ImplicitIndex cadabra::property cadabra::property

Public Types

enum  Chirality { positive , negative }
 
- Public Types inherited from cadabra::property
enum  match_t { no_match , id_match , exact_match }
 

Public Member Functions

 Spinor ()
 
virtual ~Spinor ()
 
virtual std::string name () const override
 
virtual bool parse (Kernel &, keyval_t &keyvals) override
 
- Public Member Functions inherited from cadabra::ImplicitIndex
virtual std::string unnamed_argument () const override
 
virtual void latex (std::ostream &str) const override
 Display the property on the stream. More...
 
- 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 void validate (const Kernel &, const Ex &) 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 dimension
 
bool weyl
 
enum cadabra::Spinor::Chirality chirality
 
bool majorana
 
- Public Attributes inherited from cadabra::ImplicitIndex
Ex explicit_form
 

Member Enumeration Documentation

◆ Chirality

Enumerator
positive 
negative 

Constructor & Destructor Documentation

◆ Spinor()

Spinor::Spinor ( )

◆ ~Spinor()

virtual cadabra::Spinor::~Spinor ( )
inlinevirtual

Member Function Documentation

◆ name()

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

Implements cadabra::property.

◆ parse()

bool Spinor::parse ( Kernel kernel,
keyval_t keyvals 
)
overridevirtual

Reimplemented from cadabra::property.

Member Data Documentation

◆ chirality

enum cadabra::Spinor::Chirality cadabra::Spinor::chirality

◆ dimension

int cadabra::Spinor::dimension

◆ majorana

bool cadabra::Spinor::majorana

◆ weyl

bool cadabra::Spinor::weyl

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