RosettaCodeData/Task/Matrix-exponentiation-operator/Maxima/matrix-exponentiation-operator.maxima
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

10 lines
152 B
Text

a: matrix([3, 2],
[4, 1])$
a ^^ 4;
/* matrix([417, 208],
[416, 209]) */
a ^^ -1;
/* matrix([-1/5, 2/5],
[4/5, -3/5]) */