annotate arrows/@aconcat/aconcat.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents f7fb679637ff
children
rev   line source
samer@10 1 % aconcat - arrow to sequence multiple finite generators
samer@10 2 %
samer@10 3 % aconcat ::
samer@10 4 % {[N]->arrow(A,B,_)} ~'cell array of arrows'
samer@10 5 % -> arrow(A,B,aconcat_state).
samer@10 6 %
samer@10 7
samer@10 8
samer@10 9 function o=aconcat(ax)
samer@10 10 if iscell(ax) ax=cellseq(ax); end
samer@10 11 s.arrows=ax;
samer@10 12 o=class(s,'aconcat',arrow(nargin(head(ax)),nargout(head(ax))));
samer@10 13 end