+
    i                         R t ^ RIHtHt ^ RIHt ^ RIHtHt  ! R R]4      t	 ! R R]	4      t
 ! R R	]	4      t ! R
 R]	4      t ! R R]	4      tR# )z,This module contains the Mathieu functions.
)DefinedFunctionArgumentIndexError)sqrt)sincosc                   .   a  ] tR t^	t o RtRtR tRtV tR# )MathieuBasez^
Abstract base class for Mathieu functions.

This class is meant to reduce code duplication.

Tc                    V P                   w  rpV P                  VP                  4       VP                  4       VP                  4       4      # N)argsfunc	conjugate)selfaqzs   &   g/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/functions/special/mathieu_functions.py_eval_conjugateMathieuBase._eval_conjugate   s4    ))ayyq{{}EE     N)	__name__
__module____qualname____firstlineno____doc__
unbranchedr   __static_attributes____classdictcell____classdict__s   @r   r   r   	   s      JF Fr   r   c                   >   a  ] tR t^t o RtRR lt]R 4       tRtV t	R# )mathieusat  
The Mathieu Sine function $S(a,q,z)$.

Explanation
===========

This function is one solution of the Mathieu differential equation:

.. math ::
    y(x)^{\prime\prime} + (a - 2 q \cos(2 x)) y(x) = 0

The other solution is the Mathieu Cosine function.

Examples
========

>>> from sympy import diff, mathieus
>>> from sympy.abc import a, q, z

>>> mathieus(a, q, z)
mathieus(a, q, z)

>>> mathieus(a, 0, z)
sin(sqrt(a)*z)

>>> diff(mathieus(a, q, z), z)
mathieusprime(a, q, z)

See Also
========

mathieuc: Mathieu cosine function.
mathieusprime: Derivative of Mathieu sine function.
mathieucprime: Derivative of Mathieu cosine function.

References
==========

.. [1] https://en.wikipedia.org/wiki/Mathieu_function
.. [2] https://dlmf.nist.gov/28
.. [3] https://mathworld.wolfram.com/MathieuFunction.html
.. [4] https://functions.wolfram.com/MathieuandSpheroidalFunctions/MathieuS/

c                \    V^8X  d   V P                   w  r#p\        W#V4      # \        W4      h   )r   mathieusprimer   r   argindexr   r   r   s   &&   r   fdiffmathieus.fdiffF   .    q=iiGA! q))$T44r   c                    VP                   '       d.   VP                  '       d   \        \        V4      V,          4      # VP	                  4       '       d   V ! WV) 4      ) # R # r
   )	is_Numberis_zeror   r   could_extract_minus_signclsr   r   r   s   &&&&r   evalmathieus.evalM   sI    ;;;1999tAwqy>!%%''qbM>! (r   r   N   
r   r   r   r   r   r)   classmethodr2   r   r   r   s   @r   r"   r"      $     +Z5 " "r   r"   c                   >   a  ] tR t^Vt o RtRR lt]R 4       tRtV t	R# )mathieucao  
The Mathieu Cosine function $C(a,q,z)$.

Explanation
===========

This function is one solution of the Mathieu differential equation:

.. math ::
    y(x)^{\prime\prime} + (a - 2 q \cos(2 x)) y(x) = 0

The other solution is the Mathieu Sine function.

Examples
========

>>> from sympy import diff, mathieuc
>>> from sympy.abc import a, q, z

>>> mathieuc(a, q, z)
mathieuc(a, q, z)

>>> mathieuc(a, 0, z)
cos(sqrt(a)*z)

>>> diff(mathieuc(a, q, z), z)
mathieucprime(a, q, z)

See Also
========

mathieus: Mathieu sine function
mathieusprime: Derivative of Mathieu sine function
mathieucprime: Derivative of Mathieu cosine function

References
==========

.. [1] https://en.wikipedia.org/wiki/Mathieu_function
.. [2] https://dlmf.nist.gov/28
.. [3] https://mathworld.wolfram.com/MathieuFunction.html
.. [4] https://functions.wolfram.com/MathieuandSpheroidalFunctions/MathieuC/

c                \    V^8X  d   V P                   w  r#p\        W#V4      # \        W4      hr$   )r   mathieucprimer   r'   s   &&   r   r)   mathieuc.fdiff   r+   r   c                    VP                   '       d.   VP                  '       d   \        \        V4      V,          4      # VP	                  4       '       d   V ! WV) 4      # R # r
   )r-   r.   r   r   r/   r0   s   &&&&r   r2   mathieuc.eval   sG    ;;;1999tAwqy>!%%''qaR=  (r   r   Nr4   r6   r   s   @r   r:   r:   V   $     +Z5 ! !r   r:   c                   >   a  ] tR t^t o RtRR lt]R 4       tRtV t	R# )r&   a  
The derivative $S^{\prime}(a,q,z)$ of the Mathieu Sine function.

Explanation
===========

This function is one solution of the Mathieu differential equation:

.. math ::
    y(x)^{\prime\prime} + (a - 2 q \cos(2 x)) y(x) = 0

The other solution is the Mathieu Cosine function.

Examples
========

>>> from sympy import diff, mathieusprime
>>> from sympy.abc import a, q, z

>>> mathieusprime(a, q, z)
mathieusprime(a, q, z)

>>> mathieusprime(a, 0, z)
sqrt(a)*cos(sqrt(a)*z)

>>> diff(mathieusprime(a, q, z), z)
(-a + 2*q*cos(2*z))*mathieus(a, q, z)

See Also
========

mathieus: Mathieu sine function
mathieuc: Mathieu cosine function
mathieucprime: Derivative of Mathieu cosine function

References
==========

.. [1] https://en.wikipedia.org/wiki/Mathieu_function
.. [2] https://dlmf.nist.gov/28
.. [3] https://mathworld.wolfram.com/MathieuFunction.html
.. [4] https://functions.wolfram.com/MathieuandSpheroidalFunctions/MathieuSPrime/

c                    V^8X  dH   V P                   w  r#p^V,          \        ^V,          4      ,          V,
          \        W#V4      ,          # \        W4      hr$   )r   r   r"   r   r'   s   &&   r   r)   mathieusprime.fdiff   H    q=iiGA!aCAaCL1$hqQ&777$T44r   c                    VP                   '       d>   VP                  '       d,   \        V4      \        \        V4      V,          4      ,          # VP	                  4       '       d   V ! WV) 4      # R # r
   )r-   r.   r   r   r/   r0   s   &&&&r   r2   mathieusprime.eval   sP    ;;;199973tAwqy>))%%''qaR=  (r   r   Nr4   r6   r   s   @r   r&   r&      r@   r   r&   c                   >   a  ] tR t^t o RtRR lt]R 4       tRtV t	R# )r<   a  
The derivative $C^{\prime}(a,q,z)$ of the Mathieu Cosine function.

Explanation
===========

This function is one solution of the Mathieu differential equation:

.. math ::
    y(x)^{\prime\prime} + (a - 2 q \cos(2 x)) y(x) = 0

The other solution is the Mathieu Sine function.

Examples
========

>>> from sympy import diff, mathieucprime
>>> from sympy.abc import a, q, z

>>> mathieucprime(a, q, z)
mathieucprime(a, q, z)

>>> mathieucprime(a, 0, z)
-sqrt(a)*sin(sqrt(a)*z)

>>> diff(mathieucprime(a, q, z), z)
(-a + 2*q*cos(2*z))*mathieuc(a, q, z)

See Also
========

mathieus: Mathieu sine function
mathieuc: Mathieu cosine function
mathieusprime: Derivative of Mathieu sine function

References
==========

.. [1] https://en.wikipedia.org/wiki/Mathieu_function
.. [2] https://dlmf.nist.gov/28
.. [3] https://mathworld.wolfram.com/MathieuFunction.html
.. [4] https://functions.wolfram.com/MathieuandSpheroidalFunctions/MathieuCPrime/

c                    V^8X  dH   V P                   w  r#p^V,          \        ^V,          4      ,          V,
          \        W#V4      ,          # \        W4      hr$   )r   r   r:   r   r'   s   &&   r   r)   mathieucprime.fdiff   rD   r   c                    VP                   '       d?   VP                  '       d-   \        V4      ) \        \        V4      V,          4      ,          # VP	                  4       '       d   V ! WV) 4      ) # R # r
   )r-   r.   r   r   r/   r0   s   &&&&r   r2   mathieucprime.eval  sT    ;;;1999G8CQ	N**%%''qbM>! (r   r   Nr4   r6   r   s   @r   r<   r<      r8   r   r<   N)r   sympy.core.functionr   r   (sympy.functions.elementary.miscellaneousr   (sympy.functions.elementary.trigonometricr   r   r   r"   r:   r&   r<   r   r   r   <module>rO      sW    D 9 =F/ F;"{ ;"|;!{ ;!|;!K ;!|;"K ;"r   