comparison scripts/statistics/base/cloglog.m @ 11436:e151e23f73bc

Overhaul base statistics functions and documentation of same. Add or improve input validation. Add input validation tests. Add functional tests. Improve or re-write documentation strings.
author Rik <octave@nomad.inbox5.com>
date Mon, 03 Jan 2011 21:23:08 -0800
parents 693e22af08ae
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11435:20f53b3a558f 11436:e151e23f73bc
44 endif 44 endif
45 45
46 y = - log (- log (x)); 46 y = - log (- log (x));
47 47
48 endfunction 48 endfunction
49
50 %!assert(cloglog(0), -Inf)
51 %!assert(cloglog(1), Inf)
52 %!assert(cloglog(1/e), 0)
53
54 %% Test input validation
55 %!error cloglog ()
56 %!error cloglog (1, 2)