On 6 May 2015 at 13:32, Jori Mäntysalo <jori.mantys...@uta.fi> wrote: > It is of course just about oneliner to check if a set is gcd closed or not. > > But would it be useful to have is_gcd_closed() as a Sage built-in function? >
I have not come across this function before (and I am a number theorist!). I am guessing on what it means: applied to a set of integers (?) or positive integers, it checks whether the gcd of any two is also in the set? One problem I see is that you would want it to be a global function, rather than a member function of some class (which class?), which is rather a negative for a specialised function. I hope you do not mind me calling it that since I have never needed such a function in around 40 years of number-theoretic computations! John > -- > Jori Mäntysalo -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.