Re: [sage-devel] Re: quiver algebra

2014-07-12 Thread Nicolas M. Thiery
On Fri, Jul 11, 2014 at 09:42:15PM +, Simon King wrote: > +1 > > There is a method .homogeneous_component(d). Maybe there should be a > method .homogeneous_component_iter(), iterating over them. But the > default iterator should iterate over elements. Ok! > Shouldn't it be the job of Combina

[sage-devel] Re: quiver algebra

2014-07-11 Thread Simon King
Hi Nicolas, On 2014-07-11, Nicolas M. Thiery wrote: > Right, though the difference is that containment for a matrix does not > have a strong mathematical meaning. On the other hand, when we speak > of a parent - that models some mathematical set like an algebra, the > notion of containment is una

[sage-devel] Re: quiver algebra

2014-07-11 Thread Nicolas M. Thiery
On Fri, Jul 11, 2014 at 09:42:11AM -0700, Travis Scrimshaw wrote: > I would say this is like matrices: do you want the iterator for >matrices to iterate by default over all elements or rows? Currently the >iterator goes over all rows and you can call M.list() to get a flat >list o

[sage-devel] Re: quiver algebra

2014-07-11 Thread Travis Scrimshaw
Hey Nicolas, I would say this is like matrices: do you want the iterator for matrices to iterate by default over all elements or rows? Currently the iterator goes over all rows and you can call M.list() to get a flat list of entries. Actually, this is a question for graded objects in gener