-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add weibull_cdf and inverse_weibull_cdf functions #15820
Conversation
Code review:
|
360f44b
to
3700e20
Compare
f15aafc
to
f7b874c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the commit title to Add Weibull distribution functions
@@ -99,6 +99,12 @@ Mathematical Functions | |||
The lambda parameter must be a positive real number (of type DOUBLE). | |||
The probability p must lie on the interval [0, 1). | |||
|
|||
.. function:: inverse_weibull_cdf(a, b, p) -> double | |||
|
|||
Compute the inverse of the Weibull cdf with given parameters a, b for the probability p. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I won't be too picky, but either back-quote all variables, or none. You are doing it for the weibull_cdf
but not here. Also, no need to have a new line for every sentence.
Please change the commit title to |
https://en.wikipedia.org/wiki/Weibull_distribution
Test plan -
./mvnw clean install -Dtest=TestMathFunctions -fn -pl presto-main