[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build in functions (exprnd)

From: Mohammed Elmusrati
Subject: Re: Build in functions (exprnd)
Date: Sun, 4 Nov 2018 22:49:05 +0200

Thanks to you all for the fast help and clarifications. In octave usually when we write a function which is not in the core of Octave, it is mentioned in which package it is available. This is also the case when we write help funName. However, this was not the case with exprnd. Even with help we received a notification that  exprnd is undefined!

Moreover, in my opinion, it is always good to keep all basic math. functions  in the core of the Octave. The packages should be required to upload very specific set of functions.  

Best regards

Sent from my iPad

On 4 Nov 2018, at 22.31, Michael D Godfrey <address@hidden> wrote:

On 11/4/18 5:33 PM, Michael D Godfrey wrote:

On 11/4/18 5:17 PM, Rik wrote:
On 11/04/2018 08:58 AM, Michael D Godfrey wrote:
On 11/4/18 3:01 PM, Mohammed Elmusrati wrote:

We had a complex simulation program to assist systems’ reliability.
Anyhow the code was written in Octave 4.0.2. We have observed that the
same code does not work on Octave 4.4.1 and the reason that ( 'exprnd’
undefined)!  This function generates random numbers with exponential
distribution. Is it a bug or the function has been removed from the new
version of Octave?

Thank you

Mohammed Elmusrati 
This got answered, but there appears to be no mention in the current
Manual about the
moves of functions to packages on sourceforge.
It was mentioned in the NEWS file for 4.4.

 ** The following statistical functions have been moved from core
    Octave to the statistics package available from Octave Forge.

followed by the list of functions which includes exprnd.

Not everyone reads the NEWS file, or, of course, the Manual...

And, at least, whereis should be in the Manual...:-(

reply via email to

[Prev in Thread] Current Thread [Next in Thread]