Skip to content

Add nthcombo functions#206

Open
depial wants to merge 11 commits intoJuliaMath:masterfrom
depial:combinations-update
Open

Add nthcombo functions#206
depial wants to merge 11 commits intoJuliaMath:masterfrom
depial:combinations-update

Conversation

@depial
Copy link

@depial depial commented Dec 23, 2025

This adds two methods nthcombo(a, k, n) and nthcombo(a, combo) which produce the nth lexicographic k-combination and the number n of the provided combination in lexicographic order, respectively. They are intended to complement the implementations already present in permutations.jl.

@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.30%. Comparing base (b808ce2) to head (f6c8eb2).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #206      +/-   ##
==========================================
+ Coverage   97.17%   97.30%   +0.13%     
==========================================
  Files           8        8              
  Lines         813      854      +41     
==========================================
+ Hits          790      831      +41     
  Misses         23       23              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant