Skip to content

Add to check for fixed total/length in IntegerVector #34510

@trevorkarn

Description

@trevorkarn

The current IntegerVector.check() method only checks for the positivity of each element. This adds a check for specified totals (n) and lengths (k).

This ticket also allows for any collections.abc.Sequence object to be checked as an integer vector.

CC: @tscrim @trevorkarn @darijgr

Component: combinatorics

Keywords: gsoc2022 integer-vector check

Author: Trevor K. Karn

Branch/Commit: 43e6813

Reviewer: Travis Scrimshaw

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions