[Numpy-discussion] expm

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Jul 20 09:50:17 CDT 2007


lorenzo bolla wrote:
> hi all.
> is there a function in numpy to compute the exp of a matrix, similar
> to expm in matlab?
> for example:
> expm([[0,0],[0,0]]) = eye(2)
>  
> thanks,
> lorenzo.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>   
Numpy doesn't provide expm but scipy does.
>>> from scipy.linalg import expm, expm2, expm3
 
Nils



More information about the Numpy-discussion mailing list