Open alashworth opened 5 years ago
Comment by syclik Friday May 27, 2016 at 17:11 GMT
@wds15, I don't think we have an implementation of hypergeometric 2F1 in the math library. We definitely have a function for the gradient, though:
stan/math/prim/scal/fun/grad_2F1.hpp
Steps someone will need to take:
Comment by wds15 Friday Jun 03, 2016 at 15:54 GMT
@syclik hmmm.... I thought @betanalpha has this function ready. I am not sure if I can provide an implementation as I have no experience with this 2F1 buisness, I was hoping @betanalpha has code ready and we only need to expose it.
Issue by wds15 Tuesday May 10, 2016 at 19:22 GMT Originally opened as https://github.com/stan-dev/stan/issues/1889
Summary:
Expose the stan math function HyperGeometric 2F1
Description:
The 2F1 function is the analytic solution to some ODE systems which are relevant to PK/PD problems and would be very useful to have in Stan.
Reproducible Steps:
None.
Current Output:
NA
Expected Output:
NA
Additional Information:
NA
Current Version:
v2.9.0