by xyzzyz · 2y ago · 0 comments
Also, by a similar argument, the O(log n) by matrix exponentiation is really O(n log(n)^2 log(log(n))) by Schönhage-Strassen, I think. (The sequence is exponential in n, so the number of digits is O(n).) I may have miscounted the logs.
If exponentiation is done using floating-point arithmetic, this is O(1)