Mercurial > hg > ishara
view arrows/@unfolder/unfolder.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | 672052bd81f8 |
children |
line wrap: on
line source
% unfolder - arrow to generate sequence by unfolding state % % unfolder :: % (S -> B, S) ~'function to state to output and next state', % S ~'initial state' % -> arrow({},{B},S) ~'arrow from A to B with state of type S'. function o=unfolder(fn,s0) s.fn=fn; s.s0=s0; o=class(s,'unfolder',arrow(0,1)); end