Mercurial > hg > smallbox
changeset 20:ce03373b3761
(none)
author | idamnjanovic |
---|---|
date | Thu, 15 Apr 2010 10:15:13 +0000 |
parents | 79e1d62f0115 |
children | 0211faef9add |
files | examples/SMALL_solver_test.m |
diffstat | 1 files changed, 18 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- 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 <Solver name>" 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 <Solver name>" 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;