RosettaCodeData/Task/Matrix-exponentiation-operator/Maxima/matrix-exponentiation-operator.maxima

11 lines
152 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
a: matrix([3, 2],
[4, 1])$
a ^^ 4;
/* matrix([417, 208],
[416, 209]) */
a ^^ -1;
/* matrix([-1/5, 2/5],
[4/5, -3/5]) */