comparison solvers/SMALL_chol.m @ 74:f6cedfec9ffb

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