pytensor
pytensor copied to clipboard
Add betainc C implementation
Not sure if this is all that needs to be done.
~The warning message disappeared and sampling provides the same result as without this change. But speed is still the same.~
~The code for the c implementation is from here https://github.com/codeplea/incbeta, there is a blog post associated https://codeplea.com/incomplete-beta-function-c~
I take the files from https://www.netlib.org/cephes/ the code does not compile. Maybe I am missingsome extra files...