Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  { 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 (const 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 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
 
bool majorana
 
- Public Attributes inherited from cadabra::ImplicitIndex
std::vector< std::string > set_names
 

Member Enumeration Documentation

anonymous enum
Enumerator
positive 
negative 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements cadabra::property.

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

Reimplemented from cadabra::property.

Member Data Documentation

enum { ... } cadabra::Spinor::chirality
int cadabra::Spinor::dimension
bool cadabra::Spinor::majorana
bool cadabra::Spinor::weyl

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