Does Sage know how to compute pth roots in any finite field of characteristic p? That is, if I have a prime number p, a finite field F of characteristic p, and an element b of F, will
sage: b.nth_root(p) always return a value, or will it sometimes return a ValueError? Does it depend on the field, and if so, is there a way to test whether any given field has an algorithm for computing pth roots? (If I want to implement something which depends on such an algorithm, I want to be able to ignore the bad fields from the start.) I don't know what infinite fields of characteristic p Sage knows about, but one could ask similar questions for those: is there something like an 'is_perfect' method, and for which perfect fields does Sage know how to compute pth roots? John --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---