Question: matrix exponentiation - very slow...

Hi:

exponentiating a matrix seems very slow. Consider this:

with(LinearAlgebra):

M:=RandomMatrix(10,10, generator=0.0..1.0):

st:=time():
MatrixExponential(M, -I*t):
time()-st;
                                   17.251

the same code takes ~0.1 second in MMA.

Am I doing something wrong?!... does anyone know another (fast) was of doing this.

thank you.

Please Wait...