Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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)
click to hide/show revision 2
retagged

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)