.. _sphx_glr_api_gallery_calculus_finite_differences: Finite differences ------------------- Richardson extrapolation, Fermat's adequality, and the complex-step derivative. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/calculus/finite_differences/images/thumb/sphx_glr_plot_01_richardson_extrapolation_thumb.png :alt: :doc:`/api/gallery/calculus/finite_differences/plot_01_richardson_extrapolation` .. raw:: html
Richardson extrapolation: cancelling error terms at a fixed step
.. raw:: html
.. only:: html .. image:: /api/gallery/calculus/finite_differences/images/thumb/sphx_glr_plot_02_fermat_adequality_thumb.png :alt: :doc:`/api/gallery/calculus/finite_differences/plot_02_fermat_adequality` .. raw:: html
Fermat's adequality: maxima from a difference quotient
.. raw:: html
.. only:: html .. image:: /api/gallery/calculus/finite_differences/images/thumb/sphx_glr_plot_03_complex_step_thumb.png :alt: :doc:`/api/gallery/calculus/finite_differences/plot_03_complex_step` .. raw:: html
The complex-step derivative: no cancellation
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/calculus/finite_differences/plot_01_richardson_extrapolation /api/gallery/calculus/finite_differences/plot_02_fermat_adequality /api/gallery/calculus/finite_differences/plot_03_complex_step