ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 25 Dec 2019 21:27:47 +0100Exponential function does not work for diagonal matriceshttps://ask.sagemath.org/question/49190/exponential-function-does-not-work-for-diagonal-matrices/ D = diagonal_matrix([0])
exp(D)dejongWed, 25 Dec 2019 21:27:47 +0100https://ask.sagemath.org/question/49190/Imaginary matrix exponentialhttps://ask.sagemath.org/question/23784/imaginary-matrix-exponential/Is there a way sage can evaluate this?
A = Matrix(CDF,[[1,2,3.],[3,2,0],[1,2,1]])
e^(i*A)
TypeError: ECL says: Error executing code in Maxima: Unable to find the
spectral representation
I was hoping that using the Complex Double Field would help. But it didn't.wpunktThu, 14 Aug 2014 17:34:04 +0200https://ask.sagemath.org/question/23784/Why can't I find exponential of a "complex256" matrix?https://ask.sagemath.org/question/10718/why-cant-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)ShashankSat, 09 Nov 2013 17:47:13 +0100https://ask.sagemath.org/question/10718/