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 Version 1

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 (last modified by nthiery)

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 (2)

comment:1 Changed 10 years ago by nthiery

  • Description modified (diff)

matrix_group_gap-cardinality_len-6250-nt.2.patch superceedes the previous one (should have replaced it)

#4326 depends on it

Note: See TracTickets for help on using tickets.