[sage-support] Re: Notebook mode poset element selection question

2012-02-25 Thread Rob Beezer
Can you replace L.level_sets()[-3:-2][0] by L.level_sets()[-3] ? On Feb 25, 7:05 pm, Ryan Davis wrote: > L.level_sets()[-3:-2][0][i].element.property() is the only way I've -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sa

[sage-support] Re: Notebook mode poset element selection question

2012-02-25 Thread Ryan Davis
I was hoping to get at the individual elements listed by L.level_sets() [-3:-2], but these seem to be stored in a 1 element list which contains the actual list of elements in the specified level set, so L.level_sets()[-3:-2][0][i].element.property() is the only way I've been able to get at property

[sage-support] Re: Notebook mode poset element selection question

2012-02-24 Thread Rob Beezer
This may be the list you want (all one one line if it gets cut up here): indices = [f.element.ambient_ray_indices() for l in L.level_sets() [-3:-2] for f in l] And by "address individually" do you mean indices[0], indices[1], etc? Rob On Feb 24, 6:48 pm, Ryan Davis wrote: > Greetings, > > I'm