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

A module to put miscellaneous math procedures #997

Open
shirok opened this issue Mar 12, 2024 · 5 comments
Open

A module to put miscellaneous math procedures #997

shirok opened this issue Mar 12, 2024 · 5 comments

Comments

@shirok
Copy link
Owner

shirok commented Mar 12, 2024

There are several generally useful math procedures but I'm not sure where to put them.

  • gaussian distribution function
  • cumulative gaussian distribution function
  • erf
  • Erlang distribution function
  • binomial coefficient

Add more as they come up, and we'll eventually get some ideas.

@lassik
Copy link
Contributor

lassik commented Mar 12, 2024

(gauche math) library?

@lassik
Copy link
Contributor

lassik commented Mar 12, 2024

Statistical Shortcomings in Standard Math Libraries (And How To Fix Them) by Evan Miller recommends 8 functions.

It would be nice to have this as a SRFI eventually (vetted by one of the mathematician schemers).

@lassik
Copy link
Contributor

lassik commented Mar 12, 2024

As a curiosity, Mathematical special functions (since C++17)

@shirok
Copy link
Owner Author

shirok commented Mar 12, 2024

Thanks for the very useful links. We already have a few math.* modules so I was thinking under that umbrella.

@lassik
Copy link
Contributor

lassik commented Mar 16, 2024

Preliminary impementation at https://github.com/pre-srfi/statistics8

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

2 participants