ó
÷RO\c           @   s!  d  Z  d d l m Z m Z e d  r1 e Z n e Z e Z d d l	 Z	 d d l
 Z	 d d l Z d d l m Z d d l m Z m Z m Z m Z d d l m Z d d l m Z m Z m Z m Z m Z m Z m Z e   Z e   Z e d	  d d l Z e j Z  d
   Z! d	 d  Z" d S(   s  
Numexpr is a fast numerical expression evaluator for NumPy.  With it,
expressions that operate on arrays (like "3*a+4*b") are accelerated
and use less memory than doing the same calculation in Python.

See:

https://github.com/pydata/numexpr

for more info about it.

i˙˙˙˙(   t   showt   get_infot   mklN(   t   E(   t   NumExprt   disassemblet   evaluatet   re_evaluate(   t   MAX_THREADS(   t   _init_num_threadst   get_vml_versiont   set_vml_accuracy_modet   set_vml_num_threadst   set_num_threadst   detect_number_of_corest   detect_number_of_threadsi   c          C   sA   y d d l  }  |  j j   SWn t k
 r< t d   n Xd S(   s6   Print the versions of software that numexpr relies on.i˙˙˙˙NsT   `numexpr.tests` could not be imported, likely it was excluded from the distribution.(   t   numexpr.testst   testst   print_versionst   ImportError(   t   numexpr(    (    s/   lib/python2.7/site-packages/numexpr/__init__.pyR   7   s
    c         C   sG   y# d d l  } | j j d |   SWn t k
 rB t d   n Xd S(   s$   Run all the tests in the test suite.i˙˙˙˙Nt	   verbositysT   `numexpr.tests` could not be imported, likely it was excluded from the distribution.(   R   R   t   testR   (   R   R   (    (    s/   lib/python2.7/site-packages/numexpr/__init__.pyR   @   s
    (#   t   __doc__t
   __config__R    t   show_configR   t   Truet   use_vmlt   Falset   is_cpu_amd_intelt   ost   os.patht   platformt   numexpr.expressionsR   t   numexpr.necompilerR   R   R   R   t   numexpr.interpreterR   t   numexpr.utilsR	   R
   R   R   R   R   R   t   ncorest   nthreadst   versiont   __version__R   R   (    (    (    s/   lib/python2.7/site-packages/numexpr/__init__.pyt   <module>   s$   	"4		
			