Mercurial > hg > ishara
view general/funutils/@function_handle/lt.m @ 38:9d24b616bb06
Added function algebra.
author | samer |
---|---|
date | Tue, 29 Jan 2013 15:59:01 +0000 |
parents | |
children | c388f1c70669 |
line wrap: on
line source
function g=le(f,I) if nargout(f)==1, g=@q1; else g=@qn; end function x=q1(varargin) x=f(varargin{I}); end function varargout=qn(varargin) [varargout{1:nargout}]=f(varargin{I}); end end