Best way to repeatedly multiply a Vector by a SparseMatrix

Singular value decomposition can be used to calculate A^n in one step. Depending on the size of A and n it may be cheaper.

1 Like