view 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
line wrap: on
line source
% scanl - scanl for cell arrays
%
% scanl :: 
%    (S,X->S)   ~'scannning function',
%    S          ~'initial value',
%    {[N]->X}   ~'data to scan, sequence of length L'
% -> {[N]->S}.
function Y=scanl(f,y,X), Y=cscanl(f,y,X); end