GiNaC  1.6.2
Public Member Functions | Private Member Functions | Private Attributes
GiNaC::make_flat_inserter Class Reference

Class to handle the renaming of dummy indices. More...

#include <expairseq.h>

List of all members.

Public Member Functions

 make_flat_inserter (const epvector &epv, bool b)
 make_flat_inserter (const exvector &v, bool b)
ex handle_factor (const ex &x, const ex &coeff)

Private Member Functions

void combine_indices (const exvector &dummies_of_factor)

Private Attributes

bool do_renaming
exvector used_indices

Detailed Description

Class to handle the renaming of dummy indices.

It holds a vector of indices that are being used in the expression so-far. If the same index occurs again as a dummy index in a factor, it is to be renamed. Unless dummy index renaming was swichted of, of course ;-) .

Definition at line 181 of file expairseq.h.


Constructor & Destructor Documentation

GiNaC::make_flat_inserter::make_flat_inserter ( const epvector epv,
bool  b 
) [inline]

Definition at line 184 of file expairseq.h.

References GiNaC::are_ex_trivially_equal(), combine_indices(), and do_renaming.

GiNaC::make_flat_inserter::make_flat_inserter ( const exvector v,
bool  b 
) [inline]

Definition at line 192 of file expairseq.h.

References combine_indices(), and do_renaming.


Member Function Documentation

ex GiNaC::make_flat_inserter::handle_factor ( const ex x,
const ex coeff 
) [inline]
void GiNaC::make_flat_inserter::combine_indices ( const exvector dummies_of_factor) [inline, private]

Definition at line 219 of file expairseq.h.

References used_indices.

Referenced by handle_factor(), and make_flat_inserter().


Member Data Documentation

Definition at line 227 of file expairseq.h.

Referenced by handle_factor(), and make_flat_inserter().

Definition at line 228 of file expairseq.h.

Referenced by combine_indices(), and handle_factor().


The documentation for this class was generated from the following file:

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