Most programming languages have a built-in implementation of exponentiation for integers and reals only.



Task

Demonstrate how to implement matrix exponentiation as an operator.




                               10
This example calculates | 3 2 |
                        | 2 1 |
