-
Notifications
You must be signed in to change notification settings - Fork 132
Rewrite determinant of diagonal matrix as product of diagonal #797
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 7 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
82b7e98
Added det-diag rewrite
tanish1729 e661ba4
fixed pt.diagonal error
tanish1729 a1823e9
Added test for rewrite
tanish1729 ac21b9e
Added test for rewrite
tanish1729 01e47d7
fixed test
tanish1729 89f209f
added check for verifying rewrite
tanish1729 0bd2e26
fixed other failing test
tanish1729 170a860
added docstring
tanish1729 0191b97
updated docstring
tanish1729 7f7c803
fixed mypy error
tanish1729 8d7f9f7
added det_diag_from_diag and test
tanish1729 9ad0606
fixed node rewriter name
tanish1729 c897296
added row/col tests
tanish1729 6c3cdae
updated check for eye
tanish1729 6b58cfb
updated rewrite and tests
tanish1729 4316e75
added check for eye_input and new test for cases where not to apply r…
tanish1729 20c8505
Merge branch 'pymc-devs:main' into det-diag-rewrite
tanish1729 6743e0a
does not apply rewrite to specific cases
tanish1729 ebca339
typecasted test variable
tanish1729 58212b6
typecast variables
tanish1729 3ef186d
removed shape known check; fails for rectangle eye
tanish1729 2c96faf
added new tests for (1,1) eye and rectangle eye
tanish1729 9a48a72
added helper function for diag from eye_mul
tanish1729 ffc0f81
updated case for no rewrite which was failing tests
tanish1729 9f661e3
cleaned code; updated rectangle_eye test which is an invalid rewrite
tanish1729 b02818d
add check for k in pt.eye
tanish1729 0dbc28e
Update pytensor/tensor/rewriting/linalg.py
tanish1729 d4ffb7f
typecasted det_val
tanish1729 060863a
Merge branch 'det-diag-rewrite' of https://github.com/tanish1729/pyte…
tanish1729 557fea1
fixed final typecasting
tanish1729 12ffb8f
Merge branch 'main' into det-diag-rewrite
tanish1729 27a9864
fixed merge
tanish1729 6831069
fixed failing rectangle eye test
tanish1729 9811b88
fixed typo
tanish1729 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
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.