-
Notifications
You must be signed in to change notification settings - Fork 18
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
perf wExp
#12
perf wExp
#12
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Way easier to understand and reason about. I'm in favor of this version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm in favor of this implementation. It's way more readable than #11 and I also think that this method is very smart.
Ok so I was doing 2 mistakes:
I fixed and tested both |
0d8bc22
to
42bb1a0
Compare
Fixes #5. second alternative for an optimized wExp (range reduction + low order Taylor), much simpler.
the reason why it is more efficient than the other one is probably because the Taylor order is low, meaning that it is not very precise but I think that it is enough for what we do.