Navigation

Operators and Keywords

Function List:

C++ API

is_leap_year.m File Reference


Functions

endif if (nargin==0) t
endfunction !assert ((is_leap_year(2000)==1 &&is_leap_year(1976)==1%!&&is_leap_year(1000)==0 &&is_leap_year(1800)==0%!&&is_leap_year(1600)==1))
!error is_leap_year (1, 2)

Variables

function retval
 year = t (1)

Function Documentation

endfunction !assert ( (is_leap_year(2000)==1 &&is_leap_year(1976)==1%!&&is_leap_year(1000)==0 &&is_leap_year(1800)==0%!&&is_leap_year(1600)==1)   ) 

endif if ( nargin  = =0  ) 

!error is_leap_year ( ,
 
)


Variable Documentation

endif retval

Initial value:

year = t (1)