annotate sequences/singleton.m @ 16:db7f4afd27c5

Rearranging numerical toolbox.
author samer
date Thu, 17 Jan 2013 13:20:44 +0000
parents 3f77126f7b5f
children b1280319413e
rev   line source
samer@3 1 % singleton - infinite sequence repeating one value
samer@0 2 %
samer@3 3 % singleton :: A -> seq(A).
samer@3 4 function s=singleton(x), s=cons(x,[]); end