Let A be a m x m matrix and
$$\sum_{k=0}^n \frac{A^k}{k!}$$
I have this following flops count:
- For $A^k$, $(n-1)(2m^3-m^2)$ flops
- $n$ multiplications for $k!$
- $n$ divisions for $\frac{A^k}{k!}$
- $n-1$ additions for the summation
So the total is $(3n - 1) + (n-1)(2m^3-m^2)$ flops. Is it correct?
