view general/funutils/@function_handle/colon.m @ 44:3cedfd4549ef

Code added since initial check in.
author samer
date Tue, 13 Jan 2015 14:03:17 +0000
parents
children
line wrap: on
line source
% colon - unary function application
%
% colon :: (A->B{:}), A -> B{:}.
function varargout=colon(f,x)
	[varargout{1:nargout}]=f(x);
end