Mercurial > hg > smallbox
comparison util/SMALL_solve.m @ 85:fd1c32cda22c
Comments to small_rlsdla.m, removed unfinished work.
author | Ivan <ivan.damnjanovic@eecs.qmul.ac.uk> |
---|---|
date | Tue, 05 Apr 2011 17:03:26 +0100 |
parents | d80c103d9876 |
children | f6cc633fd94b |
comparison
equal
deleted
inserted
replaced
84:67aae1283973 | 85:fd1c32cda22c |
---|---|
1 function solver = SMALL_solve(Problem, solver) | 1 function solver = SMALL_solve(Problem, solver) |
2 %%% SMALL sparse solver | 2 %%% SMALL sparse solver |
3 % | 3 % |
4 % Function gets as input SMALL structure that contains SPARCO problem to | |
5 % be solved, name of the toolbox and solver, and parameters file for | |
6 % particular solver. | |
7 % | |
8 % Outputs are solution, reconstructed signal and time spent | |
9 | |
4 % Centre for Digital Music, Queen Mary, University of London. | 10 % Centre for Digital Music, Queen Mary, University of London. |
5 % This file copyright 2009 Ivan Damnjanovic. | 11 % This file copyright 2009 Ivan Damnjanovic. |
6 % | 12 % |
7 % This program is free software; you can redistribute it and/or | 13 % This program is free software; you can redistribute it and/or |
8 % modify it under the terms of the GNU General Public License as | 14 % modify it under the terms of the GNU General Public License as |
9 % published by the Free Software Foundation; either version 2 of the | 15 % published by the Free Software Foundation; either version 2 of the |
10 % License, or (at your option) any later version. See the file | 16 % License, or (at your option) any later version. See the file |
11 % COPYING included with this distribution for more information. | 17 % COPYING included with this distribution for more information. |
12 % | 18 % |
13 % Function gets as input SMALL structure that contains SPARCO problem to | |
14 % be solved, name of the toolbox and solver, and parameters file for | |
15 % particular solver. | |
16 % | |
17 % Outputs are solution, reconstructed signal and time spent | |
18 %% | 19 %% |
19 | 20 |
20 if isa(Problem.A,'float') | 21 if isa(Problem.A,'float') |
21 A = Problem.A; | 22 A = Problem.A; |
22 SparseLab_A=Problem.A; | 23 SparseLab_A=Problem.A; |