Mercurial > hg > smallbox
changeset 222:29e04ffe742b luisf_dev
merge
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 11 Apr 2012 16:28:08 +0100 |
parents | c1efdd5d6250 (diff) 0d30f9074dd9 (current diff) |
children | efe179d9757c b50e2b6a9c37 |
files | |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/config/SMALL_solve_config.m Wed Apr 11 15:56:39 2012 +0100 +++ b/config/SMALL_solve_config.m Wed Apr 11 16:28: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)