Mercurial > hg > ishara
view arrows/dup.m @ 6:0ce3c2070089
Removed duplicate code and fixed doc in timed_action.
author | samer |
---|---|
date | Mon, 14 Jan 2013 14:33:37 +0000 |
parents | 672052bd81f8 |
children |
line wrap: on
line source
% dup - Arrow to duplicate one input to two outputs. % % dup :: arrow({A},{A,A},empty). function u=dup, u=arr(@dupfn); end function [x,y]=dupfn(x); y=x; end