Mercurial > hg > ishara
view general/funutils/@function_handle/mtimes.m @ 38:9d24b616bb06
Added function algebra.
author | samer |
---|---|
date | Tue, 29 Jan 2013 15:59:01 +0000 |
parents | fbc0540a9208 |
children | c388f1c70669 |
line wrap: on
line source
function h=compose(f,g) % compose - Constructs composition of two functions % % compose :: (B->C), (A{1:N}->B) -> (A{1:N}->C). % % returns the function h such that h(...) = f(g(...)) h=@fg; function x=fg(varargin), x=f(g(varargin{:})); end end