bad29210创建于 2022年6月25日历史提交

Cosine distribution

The probability density function for the cosine distribution is:

.. math::

f(x) = \frac{1}{2\pi} (1+\cos{x})

The cumulative distribution function is:

.. math::

F(x) = \frac{1}{2\pi} (\pi + x + \sin(x))

for :math:-\pi \le x \le \pi.

The following plot shows the pdf.

.. image:: ../../../../tests/imgs/stats/continuous/cosine/cosinepdf.png :align: center :width: 480