RosettaCodeData/Task/Matrix-exponentiation-operator/Mathematica/matrix-exponentiation-operator-1.math

8 lines
134 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
a = {{3, 2}, {4, 1}};
MatrixPower[a, 0]
MatrixPower[a, 1]
MatrixPower[a, -1]
MatrixPower[a, 4]
MatrixPower[a, 1/2]
MatrixPower[a, Pi]