annotate general/arrutils/allequal.m @ 61:eff6bddf82e3 tip

Finally implemented perceptual brightness thing.
author samer
date Sun, 11 Oct 2015 10:20:42 +0100
parents 3cedfd4549ef
children
rev   line source
samer@44 1 % allequal - Test if all elements of vector are equal
samer@44 2 % allequal :: [[N]->A] -> bool.
samer@44 3 function f=allequal(x), f=all(x==x(1));
samer@44 4