Matrix-exponentiation operator: Difference between revisions
m
→{{header|Wren}}: Minor tidy
m (→{{header|Wren}}: Minor tidy) |
|||
Line 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="
import "./fmt" for Fmt
var m = Matrix.new([[0, 1], [1, 1]])
|