Memming's Inconsistency
Nothing Personal, Yet Subjective
Blog | Guestbook
Keyword | Local | Tag
T 27 / Y 78 / Total 54293
Catergories
Calendar
«   2009/09   »
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Tag
tip, MATLAB, vim, LaTeX, mathematics, Google, Tips, 촛불집회, derivative, conference wsom, theorem, CNEL, correlogram, ocw, equation search engine, algorithm, synchrony, spike train, coupled oscillator, javascript,
Archive
Link
Search
  submit
Recent Articles
Recent Comments
Recent Trackbacks
해당되는 게시물 1건
 Prev   1   Next 
2009/09/16 08:12
sum(sum(K)) vs o * K * o'
2009/09/16 08:12 2009/09/16 08:12
Simple speed comparison on MATLAB 7.0.4.356
K = randn(100,100);
>> o = ones(1,size(K,1)); tic; for k = 1:10000; o * K * o'; end; toc
Elapsed time is 0.156108 seconds.
>> tic; for k = 1:10000; sum(sum(K)); end; toc
Elapsed time is 0.937100 seconds.
TAG : ,
 Prev   1   Next 
memming’s Blog is powered by Tattertools.com / Designed by faido