I read the following link.
That compute $F_n$ in $O(\log n)$, but i can't find the space complexity of this matrix form of $F_n$.
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It only takes a minute to sign up.
Sign up to join this communityI read the following link.
That compute $F_n$ in $O(\log n)$, but i can't find the space complexity of this matrix form of $F_n$.
The algorithm uses a constant number of $2 \times 2$ matrices which contain Fibonacci numbers $F_m$ for $m \leq n$, as well as a few indices ranging up to $n$.
This should be enough information to compute the space complexity of the algorithm, whether expressed in machine words or in bits.
As an aside, since $F_n$ grows exponentially in $n$, it is misleading to count only the number of arithmetic operations, rather than the bit complexity of the computation.