Yo ! > This is good argument to support (only) []-style argument for several > elements. Be consistent within same program. Or in Sage terms, "Build a car, > don't let it look like bicycle combined to tractor." :=) > > Btw, why gcd([]) returns zero? At least there is inconsistency with lcm([]) > returning one. I guess they should both return one or raise an exception.
I would say that it is because for guys doing number theory Z/2Z is associated with 2 and Z is associated with 0. Think of 0 like the infinity, or the product of all integers. Nathann -- 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.