Cadabra
Computer algebra system for field theory problems
|
To ensure consistency when creating adjforms out of two different Ex objects an IndexMap object is required which keeps track of which numeric index represents which index name.
#include <Adjform.hh>
Public Member Functions | |
IndexMap (const Kernel &kernel) | |
~IndexMap () | |
Adjform::value_type | get_free_index (Ex::iterator index) |
Static Public Member Functions | |
static bool | is_coordinate (const Kernel &kernel, Ex::iterator index) |
Private Attributes | |
std::unique_ptr< Ex_comparator > | comp |
std::unique_ptr< Ex > | data |
cadabra::IndexMap::IndexMap | ( | const Kernel & | kernel | ) |
cadabra::IndexMap::~IndexMap | ( | ) |
Adjform::value_type cadabra::IndexMap::get_free_index | ( | Ex::iterator | index | ) |
|
static |
|
private |
|
private |