Re: [sage-devel] Indexed expressions again...

2011-11-25 Thread Florent Hivert
Hi Burcin, > Your example was trying to multiply two instances of the class bla. > Here is what I guess you meant to write: > > sage: m1 = bla() > sage: m2 = bla() > sage: a, b = x.ind[m1],2*x.ind[m2] > Traceback (most recent call last) > > in sage.symbolic.expression.Expression._add_ > (s

Re: [sage-devel] Indexed expressions again...

2011-11-24 Thread Burcin Erocal
Hi Florent, On Thu, 24 Nov 2011 22:20:26 +0100 Florent Hivert wrote: > I'm working on #11576 "make it possible to generate sequences of > variables easily". I actually need to achieve a larger goal: I need > to have symbolic variables indexed by any Sage objects (eg: integers, > group element, m

[sage-devel] Indexed expressions again...

2011-11-24 Thread Florent Hivert
Hi there, I'm working on #11576 "make it possible to generate sequences of variables easily". I actually need to achieve a larger goal: I need to have symbolic variables indexed by any Sage objects (eg: integers, group element, matrices...). As as said previously here, I started to work on B