view sequences/unfold.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 28c9ff839f38
children
line wrap: on
line source
% unfold - sequence obtained by iterating fn over state
%
% unfold :: 
%    (S->A,S)	~'unfolding function',
%    S         ~ initial state,
% -> unfold(S,A) < seq(A).

function y=unfold(f,s0), y=seq.unfold(f,s0);