[PATCH 6/6] Make substitute_dummies() more flexible and controllable w.r.t. output

2010-02-20 Thread Øyvind Jensen
The keyword pretty_indices used to be boolean, but is now a dict of lists containing letters to label the new dummy indices. This allows the user much better control over the resulting expression. Docstring and doctests updated accordingly. --- sympy/physics/secondquant.py | 104 +++

[PATCH 6/6] Make substitute_dummies() more flexible and controllable w.r.t. output

2010-02-20 Thread Øyvind Jensen
The keyword pretty_indices used to be boolean, but is now a dict of lists containing letters to label the new dummy indices. This allows the user much better control over the resulting expression. Docstring and doctests updated accordingly. --- sympy/physics/secondquant.py | 104 +++

Re: [PATCH 6/6] Make substitute_dummies() more flexible and controllable w.r.t. output

2010-02-21 Thread Vinzent Steinberg
2010/2/21 Øyvind Jensen : > The keyword pretty_indices used to be boolean, but is now a dict of lists > containing letters to label the new dummy indices.  This allows the user much > better control over the resulting expression. > > Docstring and doctests updated accordingly. > --- >  sympy/physic

Re: [PATCH 6/6] Make substitute_dummies() more flexible and controllable w.r.t. output

2010-02-21 Thread Øyvind Jensen
sø., 21.02.2010 kl. 13.25 +0100, skrev Vinzent Steinberg: > 2010/2/21 Øyvind Jensen : > > The keyword pretty_indices used to be boolean, but is now a dict of lists > > containing letters to label the new dummy indices. This allows the user > > much > > better control over the resulting expressio

Re: [PATCH 6/6] Make substitute_dummies() more flexible and controllable w.r.t. output

2010-02-26 Thread Brian Granger
> > I would prefer if this would use the new assumptions system. Or should > > 'above_fermi' etc. be tied to symbols? The rest of the patches looks > > fine to me, assuming all tests pass. > > I agree with this. > I agree, that we should move to the new assumption system, but that does > require