Reputation: 575
Like we use fermat's little theorem for modular exponentiation , I was just wondering that is there any such method for fast matrix exponentiation ? Can we use fermat's theorem for matrix exponentiation ? If no then is there any faster method than divide and conquer method of exponentiation ?
Upvotes: 5
Views: 2367
Reputation: 566
I would look for Octave's implementation of that. There it gives you some references. Here some links:
Upvotes: 2