mpower / matrix power multiplication

조회 수: 8 (최근 30일)
Jeff Maltas
Jeff Maltas 2018년 9월 7일
댓글: Stephen23 2018년 9월 7일
How does MATLAB calculate the power of a matrix, especially for large numbers?
I'm doing some markov chain work where I need to multiply a large (nxn) matrix by a large positive integer. I couldn't find in their documentation how it does it. Based on the speed at which it is performing I find it hard to believe it is simply consecutive squaring.
  댓글 수: 1
Stephen23
Stephen23 2018년 9월 7일
This Wikipedia article shows that there are quite few algorithms faster than a naïve repeated multiplication:
You would have to ask TMW which algorithm/s they use.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by