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

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -