:orphan:
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.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_gradient_of_integral_thumb.png
:alt:
:doc:`/auto_examples/gradient_of_integral`
.. raw:: html
Two ways to differentiate an integral
.. raw:: html
.. only:: html
.. image:: /auto_examples/images/thumb/sphx_glr_quadrature_basics_thumb.png
:alt:
:doc:`/auto_examples/quadrature_basics`
.. raw:: html
Basic integrals
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/auto_examples/gradient_of_integral
/auto_examples/quadrature_basics
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.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /auto_examples/verification/images/thumb/sphx_glr_polynomial_degree_thumb.png
:alt:
:doc:`/auto_examples/verification/polynomial_degree`
.. raw:: html
Polynomial degree of every method
.. raw:: html
.. only:: html
.. image:: /auto_examples/verification/images/thumb/sphx_glr_integral_accuracy_thumb.png
:alt:
:doc:`/auto_examples/verification/integral_accuracy`
.. raw:: html
Accuracy of complete integrations
.. raw:: html
.. only:: html
.. image:: /auto_examples/verification/images/thumb/sphx_glr_merge_prediction_thumb.png
:alt:
:doc:`/auto_examples/verification/merge_prediction`
.. raw:: html
Warm starts from the optimal mesh
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/auto_examples/verification/index.rst
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery