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

8 lines
134 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04: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]