|
GiNaC
1.6.2
|
This class represents an antisymmetric spinor metric tensor which can be used to raise/lower indices of 2-component Weyl spinors. More...
#include <tensor.h>
Public Member Functions | |
| bool | info (unsigned inf) const |
| Information about the object. | |
| ex | eval_indexed (const basic &i) const |
| Automatic symbolic evaluation of an indexed metric tensor. | |
| bool | contract_with (exvector::iterator self, exvector::iterator other, exvector &v) const |
| Contraction of an indexed spinor metric with something else. | |
Protected Member Functions | |
| void | do_print (const print_context &c, unsigned level) const |
| Default output to stream. | |
| void | do_print_latex (const print_latex &c, unsigned level) const |
This class represents an antisymmetric spinor metric tensor which can be used to raise/lower indices of 2-component Weyl spinors.
If indexed, it must have exactly two indices of the same type which must be of class spinidx or a subclass and have dimension 2.
| bool GiNaC::spinmetric::info | ( | unsigned | inf | ) | const [virtual] |
Information about the object.
Reimplemented from GiNaC::tensmetric.
Definition at line 196 of file tensor.cpp.
References GiNaC::info_flags::real.
Automatic symbolic evaluation of an indexed metric tensor.
Reimplemented from GiNaC::tensmetric.
Definition at line 311 of file tensor.cpp.
References GiNaC::_ex0, GiNaC::_ex1, GiNaC::_ex_1, GiNaC::idx::get_value(), GINAC_ASSERT, GiNaC::basic::hold(), GiNaC::info_flags::nonnegint, GiNaC::basic::nops(), GiNaC::basic::op(), and GiNaC::to_int().
| bool GiNaC::spinmetric::contract_with | ( | exvector::iterator | self, |
| exvector::iterator | other, | ||
| exvector & | v | ||
| ) | const [virtual] |
Contraction of an indexed spinor metric with something else.
Reimplemented from GiNaC::tensmetric.
Definition at line 462 of file tensor.cpp.
References GiNaC::_ex1, GiNaC::_ex2, GiNaC::_ex_2, GiNaC::delta_tensor(), GINAC_ASSERT, GiNaC::is_dummy_pair(), GiNaC::idx::is_symbolic(), and GiNaC::idx::subs().
| void GiNaC::spinmetric::do_print | ( | const print_context & | c, |
| unsigned | level | ||
| ) | const [protected] |
Default output to stream.
Reimplemented from GiNaC::tensmetric.
| void GiNaC::spinmetric::do_print_latex | ( | const print_latex & | c, |
| unsigned | level | ||
| ) | const [protected] |