numeric_monoid.pxd 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. from monoid cimport *
  2. from sage.structure.sage_object cimport SageObject
  3. cdef class MonoidList(object)
  4. cdef class NumericMonoid(SageObject):
  5. cdef monoid _m
  6. cpdef int genus(self)
  7. cpdef int min(self)
  8. cpdef int conductor(self)
  9. cpdef _print(self)
  10. cpdef NumericMonoid remove_generator(self, unsigned int gen)
  11. cpdef int count_children(self)
  12. cpdef list children(self)
  13. cpdef list children_generators(self)
  14. cpdef list successors(self)
  15. cpdef list successor_generators(self)
  16. cpdef list nth_generation(self, unsigned int n)
  17. cpdef list generators(self)
  18. cpdef list elements(self)
  19. cpdef list gaps(self)
  20. cpdef unsigned char[:] _decomposition_numbers(self)
  21. cpdef list multiplicities(self)
  22. cpdef list walk_children_stack(self, int bound)
  23. cpdef list walk_children(self, int bound)
  24. cpdef MonoidList nth_generation_cilk(self, unsigned int genus)
  25. cpdef NumericMonoid _from_pickle(type typ, int sz, int cond, int mn, int genus, tuple decs)
  26. from libcpp.list cimport list as stl_list
  27. cdef class MonoidList(object):
  28. cdef stl_list[monoid] _l
  29. cdef class MonoidListIterator(object):
  30. cdef MonoidList _ml
  31. cdef stl_list[monoid].iterator _it, _end