Skip to content
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

How to use stan::math::hypergeometric_2F1 in stan? #3253

Closed
MSQ-123 opened this issue Jan 16, 2024 · 1 comment
Closed

How to use stan::math::hypergeometric_2F1 in stan? #3253

MSQ-123 opened this issue Jan 16, 2024 · 1 comment

Comments

@MSQ-123
Copy link

MSQ-123 commented Jan 16, 2024

I was trying to call my stan model by using rstan in R. It seems like stan does not has built-in hypergeometric_2F1 function. This function is only available in stan math. Is there any way to import stan math function directly into stan model? thanks a lot!

@WardBrian
Copy link
Member

There is an open issue about exposing this function to the language here: stan-dev/stanc3#1285

Further discussion should be had there. I believe the only thing preventing it was some questions for the implementer @andrjohns.

If you'd like to use it in the mean time, you could likely use RStan's ability to use "external" C++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants