Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ nth_fibonacci_using_matrix_exponentiation.py
File
nth_fibonacci_using_matrix_exponentiation.py
matrix/nth_fibonacci_using_matrix_exponentiation.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Implementation of finding nth fibonacci number using matrix exponentiation.
3
Time Complexity is about O(log(n)*8), where 8 is the complexity of matrix
4
multiplication of size 2 by 2.
Callers
nothing calls this directly
Calls
1
main
Function · 0.70
Tested by
no test coverage detected