-
-
Notifications
You must be signed in to change notification settings - Fork 46.5k
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
feat: Implemented Matrix Exponentiation Method #11747
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f5211cc
feat: add Matrix Exponentiation method
Acuspeedster 95421d7
feat: added new function matrix exponetiation method
Acuspeedster adf10bf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ba1cbc6
feat: This function uses the tail-recursive form of the Euclidean alg…
Acuspeedster fd37108
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 50fd058
reduced the number of characters per line in the comments
Acuspeedster d6fec67
Merge branch 'branch1' of https://github.com/Acuspeedster/Python into…
Acuspeedster ede7215
removed unwanted code
Acuspeedster 0f939a8
feat: Implemented a new function to swaap numbers without dummy variable
Acuspeedster 5dc67f8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b581cf5
removed previos code
Acuspeedster 3ad4b6a
removed the previous code
Acuspeedster 31c5645
Done with the required changes
Acuspeedster 6ee1a40
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e48a3f3
Done with the required changes
Acuspeedster 8085e66
Merge branch 'branch1' of https://github.com/Acuspeedster/Python into…
Acuspeedster f82bd8c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8bf1389
Done with the required changes
Acuspeedster 7860646
Merge branch 'branch1' of https://github.com/Acuspeedster/Python into…
Acuspeedster 9ffd634
Done with the required changes
Acuspeedster 4e2456f
Done with the required changes
Acuspeedster 07ed6b9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 955c792
Update maths/fibonacci.py
Acuspeedster 70dd92d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1909143
Done with the required changes
Acuspeedster 6cc39c0
Merge branch 'branch1' of https://github.com/Acuspeedster/Python into…
Acuspeedster b7db4ca
Done with the required changes
Acuspeedster b706572
Done with the required changes
Acuspeedster 6cfdbc3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 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 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
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.
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.
Your code never actually checks whether the power is negative. I think this is why your tests are never finishing: this test is just running in an infinite loop with power = -1, -2, -3, ...