-
Notifications
You must be signed in to change notification settings - Fork 242
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
Integer Modulo n #436
Comments
Hi @muratcankilic96, Thank you for your interest in MathPHP. And thank you for your feature request. We can consider modular arithmetic for upcoming feature development. What kinds of things are you looking to do? And what specific functions do you consider "must haves" vs "nice to have?" And are there any reference libraries with similar functionality that you think have good interfaces/APIs (or bad interfaces/APIs)? Thanks, |
Hello @markrogoyski Thanks for replying. Must have features are:
Nice to have:
For reference, I have implemented several modular arithmetic features myself in C#. We need Euler totient function and MathPHP already supports that. |
If you have already implemented several of these in another language, please translate them into PHP, add some unit tests, and submit the work in a merge request. That would be the fastest way to see these features in this library. |
Are there any future plans to add integer modulo n?
I mean features such as multiplicative/additive inverses modulo n, order a modulo n, primitive roots modulo n, quadratic residues etc.
The text was updated successfully, but these errors were encountered: