comparison solvers/SMALL_cgp.m @ 73:fb32456fba2c

(none)
author idamnjanovic
date Wed, 23 Mar 2011 14:36:25 +0000
parents 92a9b18c3bd3
children 8e660fd14774
comparison
equal deleted inserted replaced
72:dd969a5f9447 73:fb32456fba2c
34 Dt =@(z) Dict'*z; 34 Dt =@(z) Dict'*z;
35 elseif isa(Dict,'function_handle') 35 elseif isa(Dict,'function_handle')
36 try 36 try
37 DictT=varargin{1}; 37 DictT=varargin{1};
38 if isa(DictT,'function_handle'); 38 if isa(DictT,'function_handle');
39 D=@(z)Dict(z,1); 39 D=Dict;
40 Dt=@(z)Dict(z,2); 40 Dt=DictT;
41 else 41 else
42 error('If Dictionary is a function handle,Transpose Dictionary also needs to be a function handle. '); 42 error('If Dictionary is a function handle,Transpose Dictionary also needs to be a function handle. ');
43 end 43 end
44 catch 44 catch
45 error('If Dictionary is a function handle, Transpose Dictionary needs to be specified. Exiting.'); 45 error('If Dictionary is a function handle, Transpose Dictionary needs to be specified. Exiting.');