
&]\c           @` s  d  Z  d d l m Z m Z m Z d g Z d d l m Z e d k rV e
 d   n  d d l m Z d d l Z d Z d d l Td d	 l m Z m Z d d
 l m Z m Z d d l Td d l m Z e e j 7Z e d d d d g 7Z [ [ e j d  y e Wn e k
 re Z n Xe rHd d l Z e j j d  [ n y d d l  m! Z Wn# e
 k
 rd Z" e
 e"   n Xd d l# m$ Z d d l% m& Z' e' e  d k  rd d l( Z( e( j) d e e*  n  [' d d l+ m, Z, d d l- m. Z. e. e/  Z0 [. d S(   s  
SciPy: A scientific computing package for Python
================================================

Documentation is available in the docstrings and
online at https://docs.scipy.org.

Contents
--------
SciPy imports all the functions from the NumPy namespace, and in
addition provides:

Subpackages
-----------
Using any of these subpackages requires an explicit import.  For example,
``import scipy.cluster``.

::

 cluster                      --- Vector Quantization / Kmeans
 fftpack                      --- Discrete Fourier Transform algorithms
 integrate                    --- Integration routines
 interpolate                  --- Interpolation Tools
 io                           --- Data input and output
 linalg                       --- Linear algebra routines
 linalg.blas                  --- Wrappers to BLAS library
 linalg.lapack                --- Wrappers to LAPACK library
 misc                         --- Various utilities that don't have
                                  another home.
 ndimage                      --- n-dimensional image package
 odr                          --- Orthogonal Distance Regression
 optimize                     --- Optimization Tools
 signal                       --- Signal Processing Tools
 signal.windows               --- Window functions
 sparse                       --- Sparse Matrices
 sparse.linalg                --- Sparse Linear Algebra
 sparse.linalg.dsolve         --- Linear Solvers
 sparse.linalg.dsolve.umfpack --- :Interface to the UMFPACK library:
                                  Conjugate Gradient Method (LOBPCG)
 sparse.linalg.eigen          --- Sparse Eigenvalue Solvers
 sparse.linalg.eigen.lobpcg   --- Locally Optimal Block Preconditioned
                                  Conjugate Gradient Method (LOBPCG)
 spatial                      --- Spatial data structures and algorithms
 special                      --- Special functions
 stats                        --- Statistical Functions

Utility tools
-------------
::

 test              --- Run scipy unittests
 show_config       --- Show scipy build configuration
 show_numpy_config --- Show numpy build configuration
 __version__       --- Scipy version string
 __numpy_version__ --- Numpy version string

i    (   t   divisiont   print_functiont   absolute_importt   test(   t   show_configs=   Cannot import scipy when running from numpy source directory.(   t   __version__N(   t   *(   t   randt   randn(   t   fftt   iffti   (   t   _distributor_initR   R   R	   R
   t   linalgs%   Running from scipy source directory.
(   t   shows   Error importing scipy: you cannot import scipy while
        being in scipy source directory; please exit the scipy source
        tree first, and relaunch your python interpreter.(   t   version(   t   NumpyVersions   1.8.2sS   Numpy 1.8.2 or above is recommended for this version of scipy (detected version %s)(   t   LowLevelCallable(   t   PytestTester(1   t   __doc__t
   __future__R    R   R   t   __all__t   numpyR   t   show_numpy_configt   Nonet   ImportErrorR   t   __numpy_version__t   _numR   t   numpy.randomR   R   t	   numpy.fftR	   R
   t   numpy.lib.scimatht    R   t   removet   __SCIPY_SETUP__t	   NameErrort   Falset   syst   _syst   stderrt   writet   scipy.__config__R   t   msgt   scipy.versionR   t   scipy._lib._versionR   t   _NumpyVersiont   warningst   warnt   UserWarningt   scipy._lib._ccallbackR   t   scipy._lib._testutilsR   t   __name__R   (    (    (    s-   lib/python2.7/site-packages/scipy/__init__.pyt   <module>9   sX   	


	
