annotate general/funutils/@function_handle/plus.m @ 40:62304c930111

Reversed order of * function composition to match arrow * combinator.
author samer
date Tue, 29 Jan 2013 17:04:40 +0000
parents fbc0540a9208
children
rev   line source
samer@12 1 function h=plus(f,g)
samer@12 2 % plus - Constructs parallel composition of two functions
samer@12 3 %
samer@12 4 % plus :: (A1->B1), (A2->B2) -> (A1,A2->B1,B2).
samer@12 5 h=@(x,y)deal(f(x),g(y));
samer@12 6 end