August 26th, 2007, 2:38 pm
Can anyone match or beat either of these running times?If so what's your setup? (Matlab/Mathematica Version #, CPU, Brand, Model, Op. Sys., Memory)Matlab---------------------------M = rand(300,300);t=0.25; T=2;tic; inv(M) * (expm(-t*M) - expm(-T*M)); toc;Elapsed time is 0.288171 secondsMathematica---------------------------M = Table[Random[], {i, 1, 300}, {j, 1, 300}];t = 0.25; T= 2;Timing[Inverse[M].(MatrixExp[-M t] - MatrixExp[-M T]);] {0.375 Second, Null}
Last edited by
Alan on August 25th, 2007, 10:00 pm, edited 1 time in total.