GiNaC 1.8.7
Namespaces | Functions | Variables
idx.cpp File Reference

Implementation of GiNaC's indices. More...

#include "idx.h"
#include "symbol.h"
#include "lst.h"
#include "relational.h"
#include "operators.h"
#include "archive.h"
#include "utils.h"
#include "hash_seed.h"
#include <iostream>
#include <sstream>
#include <stdexcept>

Go to the source code of this file.


namespace  GiNaC


 GiNaC::GINAC_IMPLEMENT_REGISTERED_CLASS_OPT (idx, basic, print_func< print_context >(&idx::do_print). print_func< print_latex >(&idx::do_print_latex). print_func< print_csrc >(&idx::do_print_csrc). print_func< print_tree >(&idx::do_print_tree)) GINAC_IMPLEMENT_REGISTERED_CLASS_OPT(varidx
 GiNaC::print_func< print_context > (&varidx::do_print). print_func< print_latex >(&varidx
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...
ex GiNaC::minimal_dim (const ex &dim1, const ex &dim2)
 Return the minimum of two index dimensions. More...



Detailed Description

Implementation of GiNaC's indices.

Definition in file idx.cpp.

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