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

Cleanup modules for mathematical functions #389

Open
fredrik-johansson opened this issue Nov 3, 2021 · 0 comments
Open

Cleanup modules for mathematical functions #389

fredrik-johansson opened this issue Nov 3, 2021 · 0 comments

Comments

@fredrik-johansson
Copy link
Collaborator

The following modules are too narrow in scope to exist as standalone modules:

  • partitions
  • bernoulli

At the same time, there are too many special-purpose functions in the arb module.

Idea: maybe create a dedicated module for combinatorial/number-theoretic functions. This could host partitions, bernoulli and functions like bell, fib currently located in the arb module. What would be a good name for such a module?

  • arb_combinat? (...but the functions are not strictly combinatorial)
  • arb_arith / arb_arithfun? (...but the functions are not strictly arithmetical)
  • arb_sequences? (...but some functions don't naturally correspond to linear sequences)
  • arb_integers? (...but some functions return rational numbers)

It's a bit annoying to give all functions prefixes based on the module, but maybe this convention could be relaxed. We might want to do this elsewhere, e.g. provide arb_erf as an alias for arb_hypgeom_erf.

Related:

  • hypgeom could just be merged with arb_hypgeom.
  • There have also been complaints about about dirichlet.h being a too generic name.
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

No branches or pull requests

1 participant