LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
X.

Change Default Offset Value of Exponential Continuous Random.vi to zero

Status: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.

The polymorphic "Continuous Random.vi" function

 

Screen Shot 2015-05-28 at 15.24.14.png

 

is a polymorphic VI with 18 instances.

The Help is at best sketchy as far as describing what the input parameters are, and to aggravate things, there seems to be no logic in the name given the inputs of the different instances of the function.

 

The Exponential distribution instance has for example two parameters, a and b:

 

Screen Shot 2015-05-28 at 15.28.00.png

 

Illuminating contextual Help if there was any, but the detailed help is about as useful:

 

Screen Shot 2015-05-28 at 15.29.34.png

 

Translation: the PDF of the variate is p(X) = 1/b * exp(-(X-a)/b), X > a; 0 otherwise.

I will not comment on the surrealistic definition of a Poisson process. 

 

I am not sure why the need to include parameter a, but I am sure that setting the default value of that parameter to 1 is non standard.

I suggest setting it to zero, disregarding any back-compatibility argument, as I suspect most users of the function have learned the hard way to set a = 0 after having stared incredulously at the first few results obtained using the default value.

 

1 Comment
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.