GiNaC 1.8.7
Classes | Namespaces | Functions
idx.h File Reference

Interface to GiNaC's indices. More...

#include "ex.h"
#include "numeric.h"

Go to the source code of this file.

Classes

class  GiNaC::idx
 This class holds one index of an indexed object. More...
 
class  GiNaC::varidx
 This class holds an index with a variance (co- or contravariant). More...
 
class  GiNaC::spinidx
 This class holds a spinor index that can be dotted or undotted and that also has a variance. More...
 

Namespaces

namespace  GiNaC
 

Functions

 GiNaC::GINAC_DECLARE_UNARCHIVER (idx)
 
 GiNaC::GINAC_DECLARE_UNARCHIVER (varidx)
 
 GiNaC::GINAC_DECLARE_UNARCHIVER (spinidx)
 
bool GiNaC::is_dummy_pair (const idx &i1, const idx &i2)
 Check whether two indices form a dummy pair. More...
 
bool GiNaC::is_dummy_pair (const ex &e1, const ex &e2)
 Check whether two expressions form a dummy index pair. More...
 
void GiNaC::find_free_and_dummy (exvector::const_iterator it, exvector::const_iterator itend, exvector &out_free, exvector &out_dummy)
 Given a vector of indices, split them into two vectors, one containing the free indices, the other containing the dummy indices (numeric indices are neither free nor dummy ones). More...
 
void GiNaC::find_free_and_dummy (const exvector &v, exvector &out_free, exvector &out_dummy)
 Given a vector of indices, split them into two vectors, one containing the free indices, the other containing the dummy indices (numeric indices are neither free nor dummy ones). More...
 
void GiNaC::find_dummy_indices (const exvector &v, exvector &out_dummy)
 Given a vector of indices, find the dummy indices. More...
 
size_t GiNaC::count_dummy_indices (const exvector &v)
 Count the number of dummy index pairs in an index vector. More...
 
size_t GiNaC::count_free_indices (const exvector &v)
 Count the number of dummy index pairs in an index vector. More...
 
ex GiNaC::minimal_dim (const ex &dim1, const ex &dim2)
 Return the minimum of two index dimensions. More...
 

Detailed Description

Interface to GiNaC's indices.

Definition in file idx.h.


This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.