Re:Computing Fibonacci
by Someone on Friday February 01, 2013 @07:59AM
(#5150466)
For those wondering: that fast 'half the exponent' multiplication algorithm is not optimal in the number of matrix multiplications. For example, x^15 can be done in 5 multiplications, while 'half the exponent requires 6. See http://en.wikipedia.org/wiki/Addition_chain_exponentiation:
vs
[ Parent
| on HN ]
There are no comments on this comment yet.