[SciPy-dev] Matrix functions in new scipy

Nils Wagner nwagner at mecha.uni-stuttgart.de
Sat Jan 7 16:26:42 EST 2006


On Sat, 07 Jan 2006 17:31:38 +0100
  "Nils Wagner" <nwagner at mecha.uni-stuttgart.de> wrote:
> Hi all,
> 
> How can I use matrix funtions (e.g. expm, signm, 
>logm,...) 
> with new scipy ?
> 


For example linalg.signm(a) results in

AttributeError: 'module' object has no attribute 'signm'
>>> a
array([[ 29.2, -24.2,  69.5,  49.8,   7. ],
        [ -9.2,   5.2, -18. , -16.8,  -2. ],
        [-10. ,   6. , -20. , -18. ,  -2. ],
        [ -9.6,   9.6, -25.5, -15.4,  -2. ],
        [  9.8,  -4.8,  18. ,  18.2,   2. ]])

> Nils
> 
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev

  




More information about the SciPy-Dev mailing list