-
Notifications
You must be signed in to change notification settings - Fork 5
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
LinearStretching enhancements #28
Merged
Merged
Commits on Mar 21, 2020
-
* expose src_minval and src_maxval of LinearStretching ( issue #27) * performance tweak by * avoiding recomputation in inner loop * early return for trivial case * clamp values to (minval, maxval)
Configuration menu - View commit details
-
Copy full SHA for 2c24cb6 - Browse repository at this point
Copy the full SHA 2c24cb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35f1d5a - Browse repository at this point
Copy the full SHA 35f1d5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01120d0 - Browse repository at this point
Copy the full SHA 01120d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20fcaf8 - Browse repository at this point
Copy the full SHA 20fcaf8View commit details -
add convinient constructors for LinearStretching
* LinearStretching((0.1, 0.8)=>(0.2, 0.9)) * LinearStretching(nothing=>(0.2, 0.9)) * LinearStretching((0.1, 0.8))
Configuration menu - View commit details
-
Copy full SHA for 5674568 - Browse repository at this point
Copy the full SHA 5674568View commit details -
deprecate (minval, maxval) in favor of (dest_minval, dest_maxval)
Although two new fields are introduced to LinearStretching, it doesn't hurt the general performance; the construction time is about 3ns
Configuration menu - View commit details
-
Copy full SHA for a198016 - Browse repository at this point
Copy the full SHA a198016View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47b127b - Browse repository at this point
Copy the full SHA 47b127bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65c7c22 - Browse repository at this point
Copy the full SHA 65c7c22View commit details
Commits on Mar 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a703029 - Browse repository at this point
Copy the full SHA a703029View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3dc554 - Browse repository at this point
Copy the full SHA b3dc554View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd233aa - Browse repository at this point
Copy the full SHA bd233aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c1de26 - Browse repository at this point
Copy the full SHA 6c1de26View commit details -
do clamp after linear stretching instead of before
although clamp before linear stretching is slightly faster, it has boundary rounding issues, which causes test failures and isn't reliable to use
Configuration menu - View commit details
-
Copy full SHA for 6197f25 - Browse repository at this point
Copy the full SHA 6197f25View commit details
Commits on Mar 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a254af4 - Browse repository at this point
Copy the full SHA a254af4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.