numere-org / NumeRe

Framework for numerical computations, data analysis and visualisation
https://www.numere.org
GNU General Public License v3.0
20 stars 7 forks source link

Add the Weibull distribution as usable function #131

Closed numeredev closed 1 year ago

numeredev commented 1 year ago

DESCRIPTION

What does your feature request improve on? Please describe. The Weibull distribution can be used to model failure rates in an devices lifetime. That can improve the usability in some scenarios a lot.

Describe the solution you'd like Add functions to use the Weibull distribution. It can be accessed using GSL (https://www.gnu.org/software/gsl/doc/html/randist.html#the-weibull-distribution). Required ist a weibull_rd() as well as weibull_cdf_p(), weibull_cdf_q() and their inverses. The functions can be implemented like any other random distribution function available.

Additional context Add any other context or screenshots about the feature request here.

(Do not write below this line)


DEVS' SECTION

ANALYSIS

Can be done as described within the description section.

IMPLEMENTATION STEPS

(see also our Wiki for implementation guidelines)

DOCUMENTATION STEPS

(see also our Wiki for further information)

PULL REQUEST