-
Notifications
You must be signed in to change notification settings - Fork 57
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
Integration with Jafama #176
Comments
Is it better than commons-math FastMath? |
I don't know, but I think there are no blockers for this integration. We have to compare, of course. |
Because we already have integration with CM. And FastMath is not that fast anymore when compared to JRE own methods. |
OK, then I should benchmark CM vs Jafama vs j.u.Math first. |
|
Jafama is significantly faster both than JDK math and CM FastMath (and has worse accuracy, probably), so it may be useful |
I think it's a simple, harmless change to add a module with something like JafamaRealField |
OK. Marking it as awaiting its hero. It is simple enough, so I would like to leave it for new contributors to try. |
Hey @CommanderTvis @altavir , its an interesting project to work on can i try this one? and also i am new here so i might have to ask alot of questions? |
@therealansh of course. Feel free to try. The discussion is mostly in the |
Thanks @altavir i would be needing the "extensive explaination" for first few issues and to get along with the codebase so where are we trying to integrate Jafama? and why do we need it? |
@therealansh
This one is responsible for the main concept of KMath—separation of algebraic elements and operations. This one provides some extensions related to number-based structures. And this one implements the
|
As stated by benchmarks above Jafama is a bit faster both than Java Math and Apache Commons FastMath. |
Thanks @CommanderTvis will try to get back with a PR soon and will ask for guidance if needed |
Hey Commander, So i have a couple of questions?
Does these files need to be refactored into using
And which two objects in particular are you talking about here? And also should i implement |
Create a separate module called |
Basically, you need to re-implement |
Hey @altavir @CommanderTvis do we need to implement with StrictFastMath as well in a different file? |
It doesn't matter |
@CommanderTvis the benchmarks in the merged module seem to show that there is no difference between Jafama and kotlin core math. I am closing this issue now, but feel free to check benchmarks. |
To external contributors:
Notify us if you are going to try to implement this feature to receive our contacts (and maybe guest access to our Space) and extensive explanations of what does this problem means.
The text was updated successfully, but these errors were encountered: