view general/funutils/@function_handle/plus.m @ 12:fbc0540a9208

Moved some high-order functions from funutils to arrutils, updated docs and cleaned up funutils.
author samer
date Mon, 14 Jan 2013 22:21:11 +0000
parents
children
line wrap: on
line source
function h=plus(f,g)
% plus - Constructs parallel composition of two functions
%
% plus :: (A1->B1), (A2->B2) -> (A1,A2->B1,B2).
	h=@(x,y)deal(f(x),g(y));
end