Skip to content

Standardize MatrixGroup_gap: by adding .cardinality, and deprecating __len__ #6250

@nthiery

Description

@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

CC: @sagetrac-sage-combinat @wdjoyner

Component: algebra

Keywords: cardinality, len, order

Author: Nicolas M. Thiéry

Reviewer: David Joyner

Merged: 4.0.2.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/6250

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions