# Revision history [back]

### Why can't I find exponential of a "complex256" matrix?

The following script gives me a error - ValueError: invalid type: complex256. However, this works with complex128. Is there a way to make expm work with complex256?

import scipy
a=scipy.matrix([[1,0],[0,1]],dtype='complex256')
scipy.linalg.expm(a)

 2 retagged FrédéricC 3497 ●3 ●34 ●68

### Why can't I find exponential of a "complex256" matrix?

The following script gives me a error - ValueError: invalid type: complex256. However, this works with complex128. Is there a way to make expm work with complex256?

import scipy
a=scipy.matrix([[1,0],[0,1]],dtype='complex256')
scipy.linalg.expm(a)