ó
Ąź\c           @  s    d  Z  d d l m Z m Z d d l m Z d d l m Z d d l m	 Z	 d d l
 m Z d d l j Z d g Z d	 e	 e e  f d
     YZ e   Z d S(   s3   Constants (like hbar) related to quantum mechanics.i˙˙˙˙(   t   print_functiont   division(   t   NumberSymbol(   t	   Singleton(   t   with_metaclass(   t
   prettyFormNt   hbart   HBarc           B  sY   e  Z d  Z e Z e Z e Z e Z g  Z	 d   Z
 d   Z d   Z d   Z d   Z RS(   s*  Reduced Plank's constant in numerical and symbolic form [1]_.

    Examples
    ========

        >>> from sympy.physics.quantum.constants import hbar
        >>> hbar.evalf()
        1.05457162000000e-34

    References
    ==========

    .. [1] https://en.wikipedia.org/wiki/Planck_constant
    c         C  s   t  j d |  S(   NgÉčcÎŚá8(   t   mlibt
   from_float(   t   selft   prec(    (    s>   lib/python2.7/site-packages/sympy/physics/quantum/constants.pyt   _as_mpf_val+   s    c         G  s   d S(   Ns   HBar()(    (   R
   t   printert   args(    (    s>   lib/python2.7/site-packages/sympy/physics/quantum/constants.pyt
   _sympyrepr.   s    c         G  s   d S(   NR   (    (   R
   R   R   (    (    s>   lib/python2.7/site-packages/sympy/physics/quantum/constants.pyt	   _sympystr1   s    c         G  s   | j  r t d  St d  S(   Nu   âR   (   t   _use_unicodeR   (   R
   R   R   (    (    s>   lib/python2.7/site-packages/sympy/physics/quantum/constants.pyt   _pretty4   s    	
c         G  s   d S(   Ns   \hbar(    (   R
   R   R   (    (    s>   lib/python2.7/site-packages/sympy/physics/quantum/constants.pyt   _latex9   s    (   t   __name__t
   __module__t   __doc__t   Truet   is_realt   is_positivet   Falset   is_negativet   is_irrationalt	   __slots__R   R   R   R   R   (    (    (    s>   lib/python2.7/site-packages/sympy/physics/quantum/constants.pyR      s   				(   R   t
   __future__R    R   t   sympy.core.numbersR   t   sympy.core.singletonR   t   sympy.core.compatibilityR   t    sympy.printing.pretty.stringpictR   t   mpmath.libmpt   libmpR   t   __all__R   R   (    (    (    s>   lib/python2.7/site-packages/sympy/physics/quantum/constants.pyt   <module>   s   	)