# HG changeset patch # User Daniele Barchiesi # Date 1334157188 -3600 # Node ID c1efdd5d62504690ee4bfaac821d242ce0ff68f4 # Parent 4337e28183f1c813aee627c94bfcc92e73e6ae3d added ompbox_fast as sparse approximation solver, which calls the functions in ompbox using the fastest implementation diff -r 4337e28183f1 -r c1efdd5d6250 config/SMALL_solve_config.m --- a/config/SMALL_solve_config.m Fri Mar 23 20:48:25 2012 +0000 +++ b/config/SMALL_solve_config.m Wed Apr 11 16:13:08 2012 +0100 @@ -37,6 +37,14 @@ epsilon=solver.param.epsilon; maxatoms=solver.param.maxatoms; y = eval([solver.name,'(A, b, G,epsilon,''maxatoms'',maxatoms,''checkdict'',''off'');']); +% danieleb: added call to omp functions with fast implementation. +elseif (strcmpi(solver.toolbox, 'ompbox_fast')) + DtX=A'*b; + XtX = sum(b.*b); + G=A'*A; + epsilon=solver.param.epsilon; + maxatoms=solver.param.maxatoms; + y = eval([solver.name,'(DtX, XtX, G,epsilon,''maxatoms'',maxatoms,''checkdict'',''off'');']); elseif (strcmpi(solver.toolbox, 'ompsbox')) basedict = Problem.basedict; if issparse(Problem.A)