annotate sequences/singleton.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents b1280319413e
children
rev   line source
samer@3 1 % singleton - infinite sequence repeating one value
samer@0 2 %
samer@3 3 % singleton :: A -> seq(A).
samer@23 4 function s=singleton(x), s=cons(x,nil); end