From bug-request at octave dot org Thu Dec 1 14:30:35 2005 Subject: lognormal distribution defs From: "John W. Eaton" To: Ben Barrowes Cc: bug at octave dot org Date: Thu, 1 Dec 2005 15:29:58 -0500 On 23-Nov-2005, Ben Barrowes wrote: | The logn***.m functions in octave are different from their counterparts in ML. Both ML: | http://www.mathworks.com/access/helpdesk/help/toolbox/stats/lognpdf.html | and mathworld: | http://mathworld.wolfram.com/LogNormalDistribution.html | define this dist not with log(mean), but with the mean itself. I agree that it would be best to have the lognXXX functions compatible with Matlab, since they have the same names. Since we already have lognormal_XXX functions that look like this: function XXX = lognormal_XXX (varargin) XXX = lognXXX (varargin{:}); endfunction your patch will also affect those, and break backward compatibility with Octave. Can you please suggest a patch that will not break backward compatibility? If there is no reasonable way for the old lognormal_XXX functions to call the new lognXXX funtions to do it, then I think we will have to do it by copying code (but I think it would be best to avoid the duplication if possible). Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------