Repository: scipy/scipy
File: scipy/special/_special_ufuncs_docs.cpp (C++)

Code before:
    .. math::
      E(\phi, m) = R_F(c-1, c-k^2, c)
        - \frac{1}{3} k^2 R_D(c-1, c-k^2, c) .

    References
    ----------
    .. [1] Cephes Mathematical Functions Library,
           http://www.netlib.org/cephes/
    .. [2] Milton Abramowitz and Irene A. Stegun, eds.
           Handbook of Mathematical Functions with Formulas,
           Graphs, and Mathematical Tables. New York: Dover, 1972.
    .. [3] NIST Digital Library of Mathematical
           Functions. http://dlmf.nist.gov/, Release 1.0.28 of
           2020-09-15. See Sec. 19.25(i) https://dlmf.nist.gov/19.25#i

    Examples
    --------
    The elliptic integral of the second kind can be used to find the circumference of an
    ellipse with semi-major axis ``a`` and semi-minor axis ``b``.

    >>> import numpy as np
    >>> from scipy.special import ellipeinc
    >>> a, b = 3.5, 2.1
    >>> e = np.sqrt(1.0 - b**2/a**2)  # eccentricity
    >>> ellipeinc(np.pi/2, e**2)
    np.float64(1.2763499431699064)
    )";

const char *ellipj_doc = R"(
    ellipj(u, m, out=None)

    Jacobi elliptic functions

    Calculates the Jacobi elliptic functions of parameter `m` between
    0 and 1, and real argument `u`.

    Parameters
    ----------
    u : array_like
        Argument.
    m : array_like
        Parameter.
    out : tuple of ndarray, optional
        Optional output arrays for the function values

    Returns
    -------
    sn, cn, dn, ph : 4-tuple of scalar or ndarray
        The returned functions::

            sn(u|m), cn(u|m), dn(u|m)

Review comment (suggestion):
```suggestion
    >>> 4*a*ellipeinc(np.pi/2, e**2)
    np.float64(17.86889920437869)
```

Code after:
    .. math::
      E(\phi, m) = R_F(c-1, c-k^2, c)
        - \frac{1}{3} k^2 R_D(c-1, c-k^2, c) .

    References
    ----------
    .. [1] Cephes Mathematical Functions Library,
           http://www.netlib.org/cephes/
    .. [2] Milton Abramowitz and Irene A. Stegun, eds.
           Handbook of Mathematical Functions with Formulas,
           Graphs, and Mathematical Tables. New York: Dover, 1972.
    .. [3] NIST Digital Library of Mathematical
           Functions. http://dlmf.nist.gov/, Release 1.0.28 of
           2020-09-15. See Sec. 19.25(i) https://dlmf.nist.gov/19.25#i

    Examples
    --------
    The elliptic integral of the second kind can be used to find the circumference of an
    ellipse with semi-major axis ``a`` and semi-minor axis ``b``.

    >>> import numpy as np
    >>> from scipy.special import ellipeinc
    >>> a, b = 3.5, 2.1
    >>> e = np.sqrt(1.0 - b**2/a**2)  # eccentricity
    >>> 4*a*ellipeinc(np.pi/2, e**2)
    np.float64(17.86889920437869)
    )";

const char *ellipj_doc = R"(
    ellipj(u, m, out=None)

    Jacobi elliptic functions

    Calculates the Jacobi elliptic functions of parameter `m` between
    0 and 1, and real argument `u`.

    Parameters
    ----------
    u : array_like
        Argument.
    m : array_like
        Parameter.
    out : tuple of ndarray, optional
        Optional output arrays for the function values

    Returns
    -------
    sn, cn, dn, ph : 4-tuple of scalar or ndarray
        The returned functions::

            sn(u|m), cn(u|m), dn(u|m)