![]() | 1 | initial version |
Unless i misunderstand you question, if M
is your matrix and n
is an integer, you can just do:
sage: M^n
![]() | 2 | No.2 Revision |
Unless i misunderstand you question, if M
is your matrix and n
is an integer, you can just do:
sage: M^n
or, if you prefer to be Python compatible:
sage: M**n