This is really intriguing topic, and fondly brings back mathematical techniques that I probably haven't used in decades. What fun!
Squaring
does give0 1 2 3
and multiplying it again produces2 3 6 11
(I'm sure there's a good reason why the top row of the cube has the same values as the bottom row of the square.) The module I suggested doesn't provide a power function, so I suppose the developer would have to jerry-rig something up that multiplies a matrix by itself n-1 times.6 11 22 39
In reply to Re^2: In PDL, how to raise a matrix $m to a power $v
by talexb
in thread In PDL, how to raise a matrix $m to a power $v
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |