Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate Base combinatorics features #8

Merged
merged 5 commits into from
Nov 6, 2015
Merged

Consolidate Base combinatorics features #8

merged 5 commits into from
Nov 6, 2015

Conversation

jiahao
Copy link
Collaborator

@jiahao jiahao commented Nov 6, 2015

This PR extracts all combinatorics functions from Julia's Base library, except for binomial, factorial, and gamma.

There is also a major reorg of functions and their tests.

Cross-reference: JuliaLang/julia#5155 JuliaLang/julia#13897

- DROP 0.4 SUPPORT
- Import most of base/combinatorics.jl (Ref: JuliaLang/julia#13897)
- Move most of the special numbers to numbers.jl
- Put combinations, permutations and partitions in their own files
- Rename special numbers with ~num suffix. This renaming is particularly
  important for catalannum to avoid clashing with the Base.catalan
  irrational constant.
Functions from src/foo.jl are now tested in test/foo.jl
Also:
- clean up readme
- expose docs that were buried in comments
- get rid of @compat usage
@jiahao jiahao merged commit f28bd62 into master Nov 6, 2015
#end

"""
Previous integer not greater than `n` that can be written as $\prod k_i^{p_i}$ for integers $p_1$, $p_2$, etc.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to use doc"..." to be able to write latex like this. That's the current travis failure.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks; forgot to fix that

jiahao added a commit that referenced this pull request Nov 7, 2015
@jiahao jiahao deleted the cjh/0.5 branch November 7, 2015 18:43
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.

2 participants