The `**` operator for `numpy.matrix` does not support non-integer power:

```
>>> m
 matrix([[ 1. ,  0. ],
    [ 0.5,  0.5]])

>>> m ** 2.5
TypeError: exponent must be an integer

```

What I want is

```
octave:14> [1 0; .5 .5] ^ 2.5
ans =

   1.00000   0.00000
   0.82322   0.17678

```

Can I do this with `numpy` or `scipy`?

### Note:

this is NOT an element-wise operation. It is an matrix (in linear algebra) raised to some power, as talked in [this post](https://math.stackexchange.com/questions/16739/arbitrary-non-integer-power-of-a-matrix).