view general/funutils/@function_handle/plus.m @ 13:03694e5c8365

Reorganised some high order list functions to correct class-based method dispatch; fixed some docs.
author samer
date Wed, 16 Jan 2013 12:12:34 +0000
parents fbc0540a9208
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