Mercurial > hg > ishara
view arrows/dup.m @ 2:7357e1dc2ad6
Simplified scheduler library with new schedule representation.
author | samer |
---|---|
date | Sat, 22 Dec 2012 16:17:51 +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