I added these `_ncx2_*` functions to this base file because they are used by both the discrete and continuous distribution files.