comparison NEWS @ 13171:19b9f17d22af

Overhaul of statistical distribution functions Support class "single" 75% reduction in memory usage More Matlab compatibility for corner cases * betacdf.m, betainv.m, betapdf.m, betarnd.m, binocdf.m, binoinv.m, binopdf.m, binornd.m, cauchy_cdf.m, cauchy_inv.m, cauchy_pdf.m, cauchy_rnd.m, chi2cdf.m, chi2inv.m, chi2pdf.m, chi2rnd.m, discrete_cdf.m, discrete_inv.m, discrete_pdf.m, discrete_rnd.m, empirical_cdf.m, empirical_inv.m, empirical_pdf.m, empirical_rnd.m, expcdf.m, expinv.m, exppdf.m, exprnd.m, fcdf.m, finv.m, fpdf.m, frnd.m, gamcdf.m, gaminv.m, gampdf.m, gamrnd.m, geocdf.m, geoinv.m, geopdf.m, geornd.m, hygecdf.m, hygeinv.m, hygepdf.m, hygernd.m, kolmogorov_smirnov_cdf.m, laplace_cdf.m, laplace_inv.m, laplace_pdf.m, laplace_rnd.m, logistic_cdf.m, logistic_inv.m, logistic_pdf.m, logistic_rnd.m, logncdf.m, logninv.m, lognpdf.m, lognrnd.m, nbincdf.m, nbininv.m, nbinpdf.m, nbinrnd.m, normcdf.m, norminv.m, normpdf.m, normrnd.m, poisscdf.m, poissinv.m, poisspdf.m, poissrnd.m, stdnormal_cdf.m, stdnormal_inv.m, stdnormal_pdf.m, stdnormal_rnd.m, tcdf.m, tinv.m, tpdf.m, trnd.m, unidcdf.m, unidinv.m, unidpdf.m, unidrnd.m, unifcdf.m, unifinv.m, unifpdf.m, unifrnd.m, wblcdf.m, wblinv.m, wblpdf.m, wblrnd.m: Return "single" outputs for "single" inputs, Use logical indexing rather than find() for 75% memory savings, Add tests for all functions, Use consistent documentation across all functions, More Matlab compatibilitcy for corner cases.
author Rik <octave@nomad.inbox5.com>
date Tue, 20 Sep 2011 12:13:13 -0700
parents 7aa9cb7aaa32
children 37e6f54cca15
comparison
equal deleted inserted replaced
13169:078729410a0d 13171:19b9f17d22af
2 --------------------------------------------------------- 2 ---------------------------------------------------------
3 3
4 ** The PCRE library is now required to build Octave. 4 ** The PCRE library is now required to build Octave.
5 5
6 ** Octave now features a profiler, thanks to the work of Daniel Kraft 6 ** Octave now features a profiler, thanks to the work of Daniel Kraft
7 under the Google Summer of Code mentorship program. The manual has 7 under the Google Summer of Code mentorship program. The manual has
8 been updated to reflect this addition. 8 been updated to reflect this addition.
9
10 ** Overhaul of statistical distribution functions
11
12 Functions now return "single" outputs for inputs of class "single".
13
14 75% reduction in memory usage through use of logical indexing.
15
16 Random sample functions now use the same syntax as rand() and accept
17 a comma separated list of dimensions or a dimension vector.
18
19 Functions have been made Matlab-compatible with regard to special
20 cases (probability on boundaries, probabilities for values outside
21 distribution, etc.). This may cause subtle changes to existing
22 scripts.
23
24 negative binomial function has been extended to real, non-integer inputs.
25 discrete_inv() now returns v(1) for 0 instead of NaN.
26 nbincdf() recoded to use closed form solution with betainc().
9 27
10 ** strread, textscan, and textread have been completely revamped. 28 ** strread, textscan, and textread have been completely revamped.
11 29
12 They now support nearly all Matlab functionality including: 30 They now support nearly all Matlab functionality including:
13 31
18 output arrays, %n and %u conversion specifiers (provisionally) 36 output arrays, %n and %u conversion specifiers (provisionally)
19 37
20 ** Certain string functions have been modified for greater Matlab compatibility 38 ** Certain string functions have been modified for greater Matlab compatibility
21 and for 15X greater performance when operating on cell array of strings. 39 and for 15X greater performance when operating on cell array of strings.
22 40
23 deblank : Now requires character or cellstr input 41 deblank : Now requires character or cellstr input.
24 strtrim : Now requires character or cellstr input. 42 strtrim : Now requires character or cellstr input.
25 No longer trims nulls ("\0") from string for ML compatibility. 43 No longer trims nulls ("\0") from string for ML compatibility.
26 strmatch: Follows documentation precisely and ignores trailing spaces 44 strmatch: Follows documentation precisely and ignores trailing spaces
27 in pattern and in string. Note that Matlab documents this 45 in pattern and in string. Note that Matlab documents this
28 behavior but the implementation does *not* always follow it. 46 behavior but the implementation does *not* always follow it.