HepLib
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
HepLib::Eps Class Reference

class for Levi-Civita object https://onlinelibrary.wiley.com/doi/pdf/10.1002/9783527630097.app3 to make Tr(g5, g1, g2, g3, g4) is the same in both HepLib & FORM, require that Eps(a,b,c,d) = i_ * e_(a,b,c,d) (we use the convention as in FeynCalc, Tr[5,a,b,c,d]=(- i) 4 Eps(a,b,c,d)=4 eps_(a,b,c,d)), and Eps^{0123}=+1, and g5=i g^{0123}=(-i) Eps(a,b,c,d) gamma(a,b,c,d)/4! Eps is real in HepLib, while e_ is imaginary in FORM. More...

#include <HEP.h>

Inheritance diagram for HepLib::Eps:
Inheritance graph
[legend]
Collaboration diagram for HepLib::Eps:
Collaboration graph
[legend]

Classes

class  visitor
 

Public Types

typedef basic inherited
 

Public Member Functions

 Eps ()
 
Epsduplicate () const override
 
void accept (GiNaC::visitor &v) const override
 
const GiNaC::registered_class_info & get_class_info () const override
 
GiNaC::registered_class_info & get_class_info () override
 
const char * class_name () const override
 
 Eps (const Vector &p1, const Vector &p2, const Vector &p3, const Vector &p4)
 
 Eps (const Vector &p1, const Vector &p2, const Vector &p3, const Index &i1)
 
 Eps (const Vector &p1, const Vector &p2, const Index &i1, const Index &i2)
 
 Eps (const Vector &p1, const Index &i1, const Index &i2, const Index &i3)
 
 Eps (const Index &i1, const Index &i2, const Index &i3, const Index &i4)
 
 Eps (vector< Vector > vs, vector< Index > is)
 
 Eps (const exvector &pis0)
 
size_t nops () const override
 
ex op (size_t i) const override
 
ex & let_op (size_t i) override
 
ex eval () const override
 
void print (const print_dflt &c, unsigned level=0) const
 
void form_print (const FormFormat &c, unsigned level=0) const
 Eps in FORM format https://onlinelibrary.wiley.com/doi/pdf/10.1002/9783527630097.app3 to make Tr(g5, g1, g2, g3, g4) is the same in both HepLib & FORM, require that Eps(a,b,c,d) = i_ * e_(a,b,c,d) (we use the convention as in FeynCalc, Tr[5,a,b,c,d]=(- i) 4 Eps(a,b,c,d)=4 eps_(a,b,c,d)), and Eps^{0123}=+1, and g5=i g^{0123}=(-i) Eps(a,b,c,d) gamma(a,b,c,d)/4! Eps is real in HepLib, while e_ is imaginary in FORM. More...
 
void fc_print (const FCFormat &c, unsigned level=0) const
 
void archive (archive_node &n) const override
 
void read_archive (const archive_node &n) override
 
ex derivative (const symbol &s) const override
 
bool is_equal_same_type (const basic &other) const override
 

Static Public Member Functions

static GiNaC::registered_class_info & get_class_info_static ()
 
static bool has (const ex &e)
 
static lst all (const ex &e)
 

Public Attributes

exvector pis
 

Protected Member Functions

int compare_same_type (const GiNaC::basic &other) const override
 

Friends

template<class B , typename... Args>
B & dynallocate (Args &&... args)
 

Detailed Description

class for Levi-Civita object https://onlinelibrary.wiley.com/doi/pdf/10.1002/9783527630097.app3 to make Tr(g5, g1, g2, g3, g4) is the same in both HepLib & FORM, require that Eps(a,b,c,d) = i_ * e_(a,b,c,d) (we use the convention as in FeynCalc, Tr[5,a,b,c,d]=(- i) 4 Eps(a,b,c,d)=4 eps_(a,b,c,d)), and Eps^{0123}=+1, and g5=i g^{0123}=(-i) Eps(a,b,c,d) gamma(a,b,c,d)/4! Eps is real in HepLib, while e_ is imaginary in FORM.

Definition at line 386 of file HEP.h.

Member Typedef Documentation

◆ inherited

typedef basic HepLib::Eps::inherited

Definition at line 398 of file HEP.h.

Constructor & Destructor Documentation

◆ Eps() [1/8]

HepLib::Eps::Eps ( )

◆ Eps() [2/8]

HepLib::Eps::Eps ( const Vector p1,
const Vector p2,
const Vector p3,
const Vector p4 
)

Definition at line 27 of file Eps.cpp.

◆ Eps() [3/8]

HepLib::Eps::Eps ( const Vector p1,
const Vector p2,
const Vector p3,
const Index i1 
)

Definition at line 28 of file Eps.cpp.

◆ Eps() [4/8]

HepLib::Eps::Eps ( const Vector p1,
const Vector p2,
const Index i1,
const Index i2 
)

Definition at line 29 of file Eps.cpp.

◆ Eps() [5/8]

HepLib::Eps::Eps ( const Vector p1,
const Index i1,
const Index i2,
const Index i3 
)

Definition at line 30 of file Eps.cpp.

◆ Eps() [6/8]

HepLib::Eps::Eps ( const Index i1,
const Index i2,
const Index i3,
const Index i4 
)

Definition at line 31 of file Eps.cpp.

◆ Eps() [7/8]

HepLib::Eps::Eps ( vector< Vector vs,
vector< Index is 
)

Definition at line 32 of file Eps.cpp.

◆ Eps() [8/8]

HepLib::Eps::Eps ( const exvector &  pis0)

Definition at line 38 of file Eps.cpp.

Member Function Documentation

◆ accept()

void HepLib::Eps::accept ( GiNaC::visitor &  v) const
override

Definition at line 17 of file Eps.cpp.

◆ all()

static lst HepLib::Eps::all ( const ex &  e)
static

◆ archive()

void HepLib::Eps::archive ( archive_node &  n) const
override

Definition at line 149 of file Eps.cpp.

◆ class_name()

const char * HepLib::Eps::class_name ( ) const
override

Definition at line 20 of file Eps.cpp.

◆ compare_same_type()

int HepLib::Eps::compare_same_type ( const GiNaC::basic &  other) const
overrideprotected

Definition at line 44 of file Eps.cpp.

◆ derivative()

ex HepLib::Eps::derivative ( const symbol &  s) const
override

Definition at line 167 of file Eps.cpp.

◆ duplicate()

Eps * HepLib::Eps::duplicate ( ) const
override

Definition at line 16 of file Eps.cpp.

◆ eval()

ex HepLib::Eps::eval ( ) const
override

Definition at line 69 of file Eps.cpp.

◆ fc_print()

void HepLib::Eps::fc_print ( const FCFormat c,
unsigned  level = 0 
) const

Definition at line 121 of file Eps.cpp.

◆ form_print()

void HepLib::Eps::form_print ( const FormFormat c,
unsigned  level = 0 
) const

Eps in FORM format https://onlinelibrary.wiley.com/doi/pdf/10.1002/9783527630097.app3 to make Tr(g5, g1, g2, g3, g4) is the same in both HepLib & FORM, require that Eps(a,b,c,d) = i_ * e_(a,b,c,d) (we use the convention as in FeynCalc, Tr[5,a,b,c,d]=(- i) 4 Eps(a,b,c,d)=4 eps_(a,b,c,d)), and Eps^{0123}=+1, and g5=i g^{0123}=(-i) Eps(a,b,c,d) gamma(a,b,c,d)/4! Eps is real in HepLib, while e_ is imaginary in FORM.

Parameters
cthe FormFormat
levelthe level

Definition at line 112 of file Eps.cpp.

◆ get_class_info() [1/2]

const GiNaC::registered_class_info & HepLib::Eps::get_class_info ( ) const
override

Definition at line 18 of file Eps.cpp.

◆ get_class_info() [2/2]

GiNaC::registered_class_info & HepLib::Eps::get_class_info ( )
override

Definition at line 19 of file Eps.cpp.

◆ get_class_info_static()

GiNaC::registered_class_info & HepLib::Eps::get_class_info_static ( )
static

Definition at line 14 of file Eps.cpp.

◆ has()

static bool HepLib::Eps::has ( const ex &  e)
static

◆ is_equal_same_type()

bool HepLib::Eps::is_equal_same_type ( const basic &  other) const
override

Definition at line 57 of file Eps.cpp.

◆ let_op()

ex & HepLib::Eps::let_op ( size_t  i)
override

Definition at line 144 of file Eps.cpp.

◆ nops()

size_t HepLib::Eps::nops ( ) const
override

Definition at line 140 of file Eps.cpp.

◆ op()

ex HepLib::Eps::op ( size_t  i) const
override

Definition at line 141 of file Eps.cpp.

◆ print()

void HepLib::Eps::print ( const print_dflt &  c,
unsigned  level = 0 
) const

Definition at line 96 of file Eps.cpp.

◆ read_archive()

void HepLib::Eps::read_archive ( const archive_node &  n)
override

Definition at line 156 of file Eps.cpp.

Friends And Related Function Documentation

◆ dynallocate

template<class B , typename... Args>
B& dynallocate ( Args &&...  args)
friend

Member Data Documentation

◆ pis

exvector HepLib::Eps::pis

Definition at line 410 of file HEP.h.


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