annotate tests/testmatlab.m @ 65:3d53309236c4
Added cvxopt_lp.py. Some bugfixes in gap.py and l1eq_pd.py
author |
Nic Cleju <nikcleju@gmail.com> |
date |
Fri, 16 Mar 2012 13:35:47 +0200 |
parents |
9079a9f7c4cf |
children |
|
rev |
line source |
nikcleju@7
|
1 disp('Eig');tic;data=rand(500,500);eig(data);toc;
|
nikcleju@7
|
2 disp('Svd');tic;data=rand(1000,1000);[u,s,v]=svd(data);s=svd(data);toc;
|
nikcleju@7
|
3 disp('Inv');tic;data=rand(1000,1000);result=inv(data);toc;
|
nikcleju@7
|
4 disp('Det');tic;data=rand(1000,1000);result=det(data);toc;
|
nikcleju@7
|
5 disp('Dot');tic;a=rand(1000,1000);b=inv(a);result=a*b-eye(1000);toc;
|
nikcleju@7
|
6 disp('Done');
|