Opened 10 years ago

Last modified 3 years ago

#6250 closed defect

[with patch, needs review] Standardize MatrixGroup_gap: by adding .cardinality, and deprecating __len__ — at Initial Version

Reported by: nthiery Owned by: nthiery
Priority: major Milestone: sage-4.0.2
Component: algebra Keywords: cardinality, __len__, order, groups
Cc: sage-combinat, wdjoyner@… Merged in:
Authors: nthiery Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Followup on #5308:

  • cardinality now returns the size of the group (was order)
  • order is a backward compatibility alias for cardinality
  • len raises a deprecation error

Change History (1)

Note: See TracTickets for help on using tickets.