# HG changeset patch # User idamnjanovic # Date 1271326513 0 # Node ID ce03373b376175d68feb30ebed74a8031cb77509 # Parent 79e1d62f0115d54ba469431e99c985920b1a6102 diff -r 79e1d62f0115 -r ce03373b3761 examples/SMALL_solver_test.m --- a/examples/SMALL_solver_test.m Thu Apr 15 10:13:52 2010 +0000 +++ b/examples/SMALL_solver_test.m Thu Apr 15 10:15:13 2010 +0000 @@ -46,7 +46,7 @@ % http://www.cs.ubc.ca/labs/scl/sparco % $Id: exGPSR.m 1040 2008-06-26 20:29:02Z ewout78 $ -fprintf('\n\nExample test of SMALL solver against their counterparts on Sparco problems.\n\n'); +fprintf('\n\nExample test of SMALL solvers against their counterparts on Sparco problems.\n\n'); %% % Generate SPARCO problem @@ -55,23 +55,23 @@ SMALL.Problem = generateProblem(6, 'P', 6, 'm', 270,'n',1024, 'show'); %% i=1; -%% -% SMALL Conjugate Gradient test -SMALL.solver(i)=SMALL_init_solver; -SMALL.solver(i).toolbox='SMALL'; -SMALL.solver(i).name='SMALL_cgp'; - -% In the following string all parameters except matrix, measurement vector -% and size of solution need to be specified. If you are not sure which -% parameters are needed for particular solver type "help " in -% MATLAB command line - -SMALL.solver(i).param='200, 1e-14'; - -SMALL.solver(i)=SMALL_solve(SMALL.Problem,SMALL.solver(i)); - - -i=i+1; +% %% +% % SMALL Conjugate Gradient test +% SMALL.solver(i)=SMALL_init_solver; +% SMALL.solver(i).toolbox='SMALL'; +% SMALL.solver(i).name='SMALL_cgp'; +% +% % In the following string all parameters except matrix, measurement vector +% % and size of solution need to be specified. If you are not sure which +% % parameters are needed for particular solver type "help " in +% % MATLAB command line +% +% SMALL.solver(i).param='200, 1e-14'; +% +% SMALL.solver(i)=SMALL_solve(SMALL.Problem,SMALL.solver(i)); +% +% +% i=i+1; %% % SMALL OMP with Cholesky update test SMALL.solver(i)=SMALL_init_solver;