This site is version 0.0.1. Most of the code on this site is drafted by an agent and needs review. I apologize for the AI-speak, we are working on rewriting it!
viv-lang.org

Notebooks · lib/stats/gallery_special

The special functions against mpmath, drawn

The accuracy figure of vipyr's gallery example plot_special_function_accuracy.py, drawn in Viv on a smaller set of points: the normal distribution function ndtr(x) for x from -37 to 8, and the regularized upper incomplete gamma function gammaincc(50, x) for x from 2 to 198, each against mpmath at 50 digits, in units in the last place. The reference values were computed with mpmath and are written out below. vipyr's full accuracy table (lib/stats/accuracy.json) covers 1192 points per function and SciPy and R beside it.

Look inside this program

  • Atlas

    The program’s map: every function and which calls which.

  • There’s no recorded run of this program yet.

Shift+Enter in a cell runs it and moves to the next. Running a cell runs every cell above it too, as one program.

[1]lines 15–99