Repository navigation
Speed up sol[UnaryExpr] via C-level math and refactor UnaryExpr
#1224
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0988f86
refactor: replace Python math with C-level math functions and refacto…
Zeroto521 3c7a981
feat(type stubs): add specific unary expression types
Zeroto521 166dc21
Update CHANGELOG.md
Zeroto521 647f8ac
style(scip): condense UnaryExpr subclass definitions to single lines
Zeroto521 fadf4e1
Remove extra blank line
Zeroto521 c27fe01
Remove extra blank lines
Zeroto521 e5bdabc
Simplify via `ExprLike.__abs__`
Zeroto521 8294d8a
test C-level math functions
Zeroto521 94131e9
Merge branch 'master' into UnaryExpr
Zeroto521 c681760
let `_evaluate` as the base method
Zeroto521 c0750cb
Merge branch 'master' into UnaryExpr
Joao-Dionisio b919f18
Merge branch 'master' into UnaryExpr
Zeroto521 e5063c0
raise error for log(inputing <= 0)
Zeroto521 df92b3f
raise error for sqrt(inputing < 0)
Zeroto521 9db933a
replace `float('inf')` with `INFINITY`
Zeroto521 ad0a977
raise error if sin(inputing is inf)
Zeroto521 d2bda36
raise error if cos(inputing is inf)
Zeroto521 7683db2
add test cases for math domain error
Zeroto521 261a83b
Update return types for mathematical functions in scip.pyi
Zeroto521 e15d943
update expr mypy baseline for typed unary expressions
Zeroto521 623a742
Fix mypy type errors and unused ignore comments
Zeroto521 abf181e
Merge branch 'master' into UnaryExpr
Zeroto521 0467eb1
resort the importing
Zeroto521 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.