%feature("docstring") OT::Rice
"Rice distribution.

Available constructors:
    Rice(*sigma=1.0, nu=0.*)

Parameters
----------
sigma : float, :math:`\sigma > 0`
    Scale parameter.
nu : float, :math:`\nu \geq 0`
    Location parameter.

Notes
-----
Its probability density function is defined as:

.. math::

    f_X(x) = 2\frac{x}{\sigma^2}p_{\chi^2(2,\frac{\nu^2}{\sigma^2})}
             \left(\frac{x^2}{\sigma^2}\right),
             \quad x \in [0; +\infty[

where :math:`p_{\chi^2(\nu, \lambda)}` is the probability density function of a
:class:`~openturns.NonCentralChiSquare` distribution.

Its first moments are:

.. math::
    :nowrap:

    \begin{eqnarray*}
        \Expect{X} & = & \sigma \sqrt{\frac{\pi}{2}}
                         \mathrm{L}_{1/2}\left(-\frac{\nu^2}{2\sigma^2}\right) \\
        \Var{X} & = & 2\sigma^2 + \nu^2 - \frac{\pi\sigma^2}{2}
                      \mathrm{L}_{1/2}^2\left(\frac{-\nu^2}{2\sigma^2}\right)
    \end{eqnarray*}

where :math:`\mathrm{L}_q(x)` denotes a Laguerre polynomial.

Examples
--------
Create a distribution:

>>> import openturns as ot
>>> distribution = ot.Rice()

Draw a sample:

>>> sample = distribution.getSample(5)"

// ---------------------------------------------------------------------

%feature("docstring") OT::Rice::getSigma
"Accessor to the distribution's scale parameter :math:`\sigma`.

Returns
-------
sigma : float
    Scale parameter :math:`\sigma`."

// ---------------------------------------------------------------------

%feature("docstring") OT::Rice::getNu
"Accessor to the distribution's location parameter :math:`\nu`.

Returns
-------
nu : float
    Location parameter :math:`\nu`."

// ---------------------------------------------------------------------

%feature("docstring") OT::Rice::setSigma
"Accessor to the distribution's scale parameter :math:`\sigma`.

Parameters
----------
sigma : float, :math:`\sigma > 0`
    Scale parameter :math:`\sigma`."

// ---------------------------------------------------------------------

%feature("docstring") OT::Rice::setNu
"Accessor to the distribution's location parameter :math:`\nu`.

Parameters
----------
nu : float, :math:`\nu >= 0`
    Location parameter :math:`\nu`."
