comparison util/SMALL_solve.m @ 155:b14209313ba4 ivand_dev

Integration of Majorization Minimisation Dictionary Learning
author Ivan Damnjanovic lnx <ivan.damnjanovic@eecs.qmul.ac.uk>
date Mon, 22 Aug 2011 11:46:35 +0100
parents 0de08f68256b
children 23763c5fbda5 f42aa8bcb82f
comparison
equal deleted inserted replaced
154:0de08f68256b 155:b14209313ba4
84 if ~isa(Problem.A,'float') 84 if ~isa(Problem.A,'float')
85 % ALPS does not accept implicit dictionary definition 85 % ALPS does not accept implicit dictionary definition
86 A = opToMatrix(Problem.A, 1); 86 A = opToMatrix(Problem.A, 1);
87 end 87 end
88 [y, numiter, time, y_path] = wrapper_ALPS_toolbox(b, A, solver.param); 88 [y, numiter, time, y_path] = wrapper_ALPS_toolbox(b, A, solver.param);
89 elseif (strcmpi(solver.toolbox, 'MMbox'))
90 if ~isa(Problem.A,'float')
91 % ALPS does not accept implicit dictionary definition
92 A = opToMatrix(Problem.A, 1);
93 end
89 94
95 [y, cost] = wrapper_mm_solver(b, A, solver.param);
96
97
90 98
91 % To introduce new sparse representation algorithm put the files in 99 % To introduce new sparse representation algorithm put the files in
92 % your Matlab path. Next, unique name <TolboxID> for your toolbox and 100 % your Matlab path. Next, unique name <TolboxID> for your toolbox and
93 % prefferd API <Preffered_API> needs to be defined. 101 % prefferd API <Preffered_API> needs to be defined.
94 % 102 %