Examples#

Runnable scripts with their output. Each one runs on a CPU in at most about ten seconds, and the test suite runs every one of them.

Two ways to differentiate an integral

Two ways to differentiate an integral

Basic integrals

Basic integrals

Verification#

These scripts let you check padaquad’s accuracy on your own machine. The first measures the polynomial degree of every quadrature method from its stored nodes and weights. The second integrates functions with known integrals using every method and compares each result with the exact answer. Both exit with an error status if a check fails, and the test suite runs them.

Polynomial degree of every method

Polynomial degree of every method

Accuracy of complete integrations

Accuracy of complete integrations

Warm starts from the optimal mesh

Warm starts from the optimal mesh

Gallery generated by Sphinx-Gallery