annotate general/funutils/@function_handle/scanl.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 03694e5c8365
children
rev   line source
samer@13 1 % scanl - scanl for cell arrays
samer@13 2 %
samer@13 3 % scanl ::
samer@13 4 % (S,X->S) ~'scannning function',
samer@13 5 % S ~'initial value',
samer@13 6 % {[N]->X} ~'data to scan, sequence of length L'
samer@13 7 % -> {[N]->S}.
samer@13 8 function Y=scanl(f,y,X), Y=cscanl(f,y,X); end