B
    &]\                 @   s  d Z ddlmZmZmZ dgZddlmZ edkr:e	dddlm
Z ddlZdZddlT dd	lmZmZ dd
lmZmZ ddlT ddlmZ eej7 Zeddddg7 Z[[ed ye W n ek
r   dZY nX erddlZejd [nyddlmZ W n" e	k
r&   dZ e	e Y nX ddl!m"Z
 ddl#m$Z% e%edk rfddl&Z&e&'de e( [%ddl)m*Z* ddl+m,Z, e,e-Z.[,dS )a  
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

    )divisionprint_functionabsolute_importtest)show_configNz=Cannot import scipy when running from numpy source directory.)__version__)*)randrandn)fftifft   )_distributor_initr
   r	   r   r   linalgFz%Running from scipy source directory.
)showzError importing scipy: you cannot import scipy while
        being in scipy source directory; please exit the scipy source
        tree first, and relaunch your python interpreter.)version)NumpyVersionz1.8.2zSNumpy 1.8.2 or above is recommended for this version of scipy (detected version %s))LowLevelCallable)PytestTester)/__doc__Z
__future__r   r   r   __all__Znumpyr   Zshow_numpy_configImportErrorr   Z__numpy_version__Z_numr   Znumpy.randomr	   r
   Z	numpy.fftr   r   Znumpy.lib.scimath r   removeZ__SCIPY_SETUP__	NameErrorsys_sysstderrwriteZscipy.__config__r   msgZscipy.versionr   Zscipy._lib._versionr   Z_NumpyVersionwarningswarnUserWarningZscipy._lib._ccallbackr   Zscipy._lib._testutilsr   __name__r    r$   r$   -lib/python3.7/site-packages/scipy/__init__.py<module>9   sX   


