algorithm - Sum of elements in the power of a matrix -
given matrix a
, effective method 1 can obtain sum of elements of a^n
?
thinking of property related matrices solve problem without carrying out n
multiplications find a^n
.
to n-th power of matrix, need log(n) matrix multiplications using exponentiation squaring approach.
p.s. doubt formula or property sum of elements in power of matrix exist - mathematicians discuss estimation specific kinds of matrices
Comments
Post a Comment