Re: [sage-devel] Re: Bundle different objects

2011-02-11 Thread Nicolas M. Thiery
On Thu, Feb 10, 2011 at 07:53:24AM -0800, Dox wrote: > Nicalas... Your suggestion almost work, and in fact it is exactly what > I'm talking about! Cool :-) > Specifically, my idea is to work with connections with values in a non- > Abelian Lie algebra, SU(2), so there are 3 generators. > > There

Re: [sage-devel] Re: Bundle different objects

2011-02-10 Thread Nicolas M. Thiery
On Thu, Feb 10, 2011 at 05:33:15AM -0800, Dox wrote: > I already define my class, and starts Ok, I have changed the operation > to __mul__. But now I'd like to define an __add__ operation which > surpass my knowledge... > > Something like this, > sage: A = MyClass( 3, "Hello") > sage: B = MyClass(