.. _sphx_glr_api_gallery_special_functions_gamma_beta:
Gamma and beta functions
---------------------------
The gamma and beta functions, and Stirling's approximation.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/special_functions/gamma_beta/images/thumb/sphx_glr_plot_01_gamma_extends_factorial_thumb.png
:alt:
:doc:`/api/gallery/special_functions/gamma_beta/plot_01_gamma_extends_factorial`
.. raw:: html
The gamma function extends the factorial
.. raw:: html
.. only:: html
.. image:: /api/gallery/special_functions/gamma_beta/images/thumb/sphx_glr_plot_02_stirling_formula_thumb.png
:alt:
:doc:`/api/gallery/special_functions/gamma_beta/plot_02_stirling_formula`
.. raw:: html
Stirling's formula and its asymptotic series
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/special_functions/gamma_beta/plot_01_gamma_extends_factorial
/api/gallery/special_functions/gamma_beta/plot_02_stirling_formula