[sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-23 Thread Nathann Cohen
Say, you have 1, 2, (1,2), (2,(1,2)), and perhaps other stuff in the domain. How many different meanings does the orbit of ((2,(1,2)),((2,(1,2))) have? How can you guess the right action for it? Dima it's getting boring. Let's say that I do not try to guess anything if that's a problem, do we

[sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-22 Thread Nathann Cohen
Helloo !!! I think its unambiguous to define the orbit of x recursively as 1. use the action on domain elements if x is a domain element 2. otherwise, assume that the x is a list/set/... of domain elements Well. It is when you know what you are doing and work on a spcific group.

[sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-22 Thread Nathann Cohen
And PLEASE if you answer this thread please also send your answer to sage-devel, not only sage-combinat. Nathann -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To unsubscribe from this group and stop receiving emails from it, send an

[sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-22 Thread Volker Braun
On Friday, March 22, 2013 2:51:05 PM UTC+1, Nathann Cohen wrote: I think its unambiguous to define the orbit of x recursively as 1. use the action on domain elements if x is a domain element 2. otherwise, assume that the x is a list/set/... of domain elements Well. It is when you know

Re: [sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-22 Thread Nathann Cohen
For non-interactive you either perform argument validation yourself or use the optional parameter G.orbit(foo, action='OnTuples'). Oh. Ok, this is fine ! So Dima, do we guess the value of action when it is set to None, then translate the output according to the value of action ? That's a good

[sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-22 Thread Dima Pasechnik
On 2013-03-22, Nathann Cohen nathann.co...@gmail.com wrote: --bcaec5430e1288051e04d883f5b8 Content-Type: text/plain; charset=ISO-8859-1 For non-interactive you either perform argument validation yourself or use the optional parameter G.orbit(foo, action='OnTuples'). Oh. Ok, this is fine !

Re: [sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-22 Thread Nathann Cohen
Would Evariste Galois raise from his grave and chase the designer of this? I answered on the ticket, and said that I would help him if he did. But Dima you know that this thing will take ime if somebody actually ends up doing it and it's not related to this ticket. Why do you want to block it

[sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-22 Thread Dima Pasechnik
On 2013-03-22, Nathann Cohen nathann.co...@gmail.com wrote: --f46d040f9ba4da0f5504d8848510 Content-Type: text/plain; charset=ISO-8859-1 Would Evariste Galois raise from his grave and chase the designer of this? I answered on the ticket, and said that I would help him if he did. But Dima

Re: [sage-combinat-devel] Re: [sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-22 Thread Nathann Cohen
as I explained, the code you don't like there (cause it does not work on insane inputs) would work fine on sane inputs. And the uglier code you prefer would break things on insane inputs, too, although at some other point, e.g. at the one I outlined above in this thread. It does not break