[SciPy-User] raising a matrix to float power
Sat Jul 10 18:26:11 CDT 2010
I failed to find a way to raise a matrix to a non-integer power in
In Octave/Matlab, one would write M^0.5 to get the result
whereas in numpy
>>> maxtrix(M, 0.5)
raises the "TypeError: exponent must be an integer"
Is there a way to do matrix exponentiation to non-integer powers in numpy or
Hope the answer is positive :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User