samer@12: function h=plus(f,g) samer@12: % plus - Constructs parallel composition of two functions samer@12: % samer@12: % plus :: (A1->B1), (A2->B2) -> (A1,A2->B1,B2). samer@12: h=@(x,y)deal(f(x),g(y)); samer@12: end