'Where i can see the font code of scipy special chndtr and chndtrix?

I am navigating in the github of scipy but I couldn't find the definition code of scipy.special.chndtr. Any suggestions?



Solution 1:[1]

Seems like these are wrappers functions:

  "chndtr": {
        "cdf_wrappers.h": {
            "cdfchn1_wrap": "ddd->d"
        }
    },
    "chndtrix": {
        "cdf_wrappers.h": {
            "cdfchn2_wrap": "ddd->d"
        }
    },

and you can find cdfchn1_wrap under scipy/special/cdf_wrappers.c.

https://github.com/scipy/scipy/blob/main/scipy/special/cdf_wrappers.c

the same thing with chndtrix , you can find it in the same file under cdfchn2_wrap

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 eshirvana