Mercurial > hg > ishara
view sequences/+seq/nil.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | 28c9ff839f38 |
children |
line wrap: on
line source
% nil - empty sequence constructor % % nil :: void -> seq(_). classdef nil < seq methods function o=nil, end function x=head(o), error('nil: no head'); end function b=next(o), error('nil: no next'); end function z=elsize(o), z=[nan,nan]; end function s=tostring(o), s='nil'; end function f=isempty(o), f=true; end end end