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

puruspe and statrs integration #18

Closed
saona-raimundo opened this issue Apr 19, 2020 · 1 comment
Closed

puruspe and statrs integration #18

saona-raimundo opened this issue Apr 19, 2020 · 1 comment

Comments

@saona-raimundo
Copy link

Hi there!!

Thank you very much for your great work!!

I am using Rust for numerical computations and was wondering about the best place to take special functions from.

I came across the module statrs::function and saw that you use the puruspe (by the way, in the README.md there is an extra "r", it says "pururspe").

So, my question is: Would it not be better to join efforts and have and have the "best" source for special functions in one place?

Of course, there is always a trade-off between accuracy and velocity, but joining efforts hopefully leads to the best solution or documented solutions.

@Axect
Copy link
Owner

Axect commented Apr 20, 2020

@rasa200 Thank you for suggestion.
But I'm not interested in building the best special function crate. That's not my main purpose. Of course, I also want to integrate the well-made special function crate in peroxide.

But there are some problems or disadvantages.
First, it should be written by pure rust. If not, it can't be applied at WASM. (So, we can't use special crate.)
Second, we want to integrate only special function crate. statrs is great crate, but there are many overlapped functions. (We use rand-distr for probability distributions instead.) So, I don't use statrs now.

Thus, for these reasons, I used custom simple crate - puruspe.
Surely, if there will be good crate which satisfies above conditions, then I'll integrate it.

@Axect Axect closed this as completed Apr 22, 2020
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