5.45.7 Power of a matrix:
^
&^
The infixed operator
^
(or
&^
) is used to raise a matrix to an integral power.
Example.
Input:
[[1,2],[3,4]] ^ 5
or:
[[1,2],[3,4]] &^ 5
Output:
⎡
⎢
⎣
1069
1558
2337
3406
⎤
⎥
⎦