|
GiNaC
1.6.2
|
This class represents the delta tensor. 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 delta tensor. | |
| bool | contract_with (exvector::iterator self, exvector::iterator other, exvector &v) const |
| Contraction of an indexed delta tensor with something else. | |
Protected Member Functions | |
| unsigned | return_type () const |
| 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 the delta tensor.
If indexed, it must have exactly two indices of the same type.
| bool GiNaC::tensdelta::info | ( | unsigned | inf | ) | const [virtual] |
Information about the object.
Reimplemented from GiNaC::basic.
Definition at line 140 of file tensor.cpp.
References GiNaC::info_flags::real.
Automatic symbolic evaluation of an indexed delta tensor.
Reimplemented from GiNaC::basic.
Definition at line 211 of file tensor.cpp.
References GiNaC::_ex0, GiNaC::_ex1, GiNaC::idx::get_dim(), GiNaC::idx::get_value(), GINAC_ASSERT, GiNaC::info_flags::integer, GiNaC::is_dummy_pair(), GiNaC::ex::is_equal(), m, GiNaC::idx::minimal_dim(), GiNaC::subs_options::no_pattern, GiNaC::idx::replace_dim(), GiNaC::ex::subs(), and GiNaC::to_int().
| bool GiNaC::tensdelta::contract_with | ( | exvector::iterator | self, |
| exvector::iterator | other, | ||
| exvector & | v | ||
| ) | const [virtual] |
Contraction of an indexed delta tensor with something else.
Reimplemented from GiNaC::basic.
Definition at line 431 of file tensor.cpp.
References GINAC_ASSERT, and GiNaC::tensor::replace_contr_index().
| unsigned GiNaC::tensdelta::return_type | ( | ) | const [inline, protected, virtual] |
Reimplemented from GiNaC::tensor.
Definition at line 65 of file tensor.h.
References GiNaC::return_types::commutative.
| void GiNaC::tensdelta::do_print | ( | const print_context & | c, |
| unsigned | level | ||
| ) | const [protected] |
Default output to stream.
Reimplemented from GiNaC::basic.
| void GiNaC::tensdelta::do_print_latex | ( | const print_latex & | c, |
| unsigned | level | ||
| ) | const [protected] |