Matrix-exponentiation operator: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
 
(One intermediate revision by one other user not shown)
Line 326:
9.96919E+30 6.16130E+30
</pre>
The method works because there are many products of the eigenvector matrices that cancel out.
 
=={{header|ALGOL 68}}==
Line 4,058 ⟶ 4,057:
 
The Matrix class in the above module also has a 'pow' method but, as an alternative, overloads the otherwise unused '^' operator to provide the same functionality.
<syntaxhighlight lang="ecmascriptwren">import "./matrix" for Matrix
import "./fmt" for Fmt
 
var m = Matrix.new([[0, 1], [1, 1]])
9,476

edits