Artifact d2d86013f230a98d52fbeb1d417e8191453a34640bbe78a5f843599a98672ee0:


function [N,Ts,Tl]=time_svdlu;

  N=[100:100:700];

  Ts=[]; Tl=[];
  for n=N
    n
    M=rand(n,n);
    ts=time; svd(M); ts=time-ts
    tl=time; lu(M); tl=time-tl
    Ts=[Ts,ts];
    Tl=[Tl,tl];
  endfor;

endfunction;
  

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]