Ask Your Question

Revision history [back]

As @dan_fulea says, it depends on the class of the group:

sage: search_def('is_cyclic')
groups/abelian_gps/    def is_cyclic(self):
groups/additive_abelian/    def is_cyclic(self):
groups/perm_gps/    def is_cyclic(self):
plot/            def is_cyclic_ordered(x1, x2, x3):
rings/finite_rings/    def multiplicative_group_is_cyclic(self):

The command search_def searches for the given string as part of the definition of a function or method, so you can see that is_cyclic is defined for abelian groups, additive abelian groups, and permutation groups.