B Z>m?Z?e@d&dd'd(ge@e&je@e0je@e(je@d)d*d+d,d-gejAd.d/d0ejAd.d1d0ejAd.d2d0d3ZBd3ZCdS)4aD NumPy ===== Provides 1. An array object of arbitrary homogeneous items 2. Fast mathematical operations over arrays 3. Linear Algebra, Fourier Transforms, Random Number Generation How to use the documentation ---------------------------- Documentation is available in two forms: docstrings provided with the code, and a loose standing reference guide, available from `the NumPy homepage `_. We recommend exploring the docstrings using `IPython `_, an advanced Python shell with TAB-completion and introspection capabilities. See below for further instructions. The docstring examples assume that `numpy` has been imported as `np`:: >>> import numpy as np Code snippets are indicated by three greater-than signs:: >>> x = 42 >>> x = x + 1 Use the built-in ``help`` function to view a function's docstring:: >>> help(np.sort) ... # doctest: +SKIP For some objects, ``np.info(obj)`` may provide additional help. This is particularly true if you see the line "Help on ufunc object:" at the top of the help() page. Ufuncs are implemented in C, not Python, for speed. The native Python help() does not know how to view their help, but our np.info() function does. To search for documents containing a keyword, do:: >>> np.lookfor('keyword') ... # doctest: +SKIP General-purpose documents like a glossary and help on the basic concepts of numpy are available under the ``doc`` sub-module:: >>> from numpy import doc >>> help(doc) ... # doctest: +SKIP Available subpackages --------------------- doc Topical documentation on broadcasting, indexing, etc. lib Basic functions used by several sub-packages. random Core Random Tools linalg Core Linear Algebra Tools fft Core FFT routines polynomial Polynomial tools testing NumPy testing tools f2py Fortran to Python Interface Generator. distutils Enhancements to distutils with support for Fortran compilers support and more. Utilities --------- test Run numpy unittests show_config Show numpy build configuration dual Overwrite certain functions with high-performance Scipy tools matlib Make everything matrices. __version__ NumPy version string Viewing documentation using IPython ----------------------------------- Start IPython with the NumPy profile (``ipython -p numpy``), which will import `numpy` under the alias `np`. Then, use the ``cpaste`` command to paste examples into the shell. To see which functions are available in `numpy`, type ``np.`` (where ```` refers to the TAB key), or use ``np.*cos*?`` (where ```` refers to the ENTER key) to narrow down the list. To view the docstring for a function, use ``np.cos?`` (to view the docstring) and ``np.cos??`` (to view the source code). Copies vs. in-place operation ----------------------------- Most of the functions in `numpy` return a copy of the array argument (e.g., `np.sort`). In-place versions of these functions are often available as array methods, i.e. ``x = np.array([1,2,3]); x.sort()``. Exceptions to this rule are documented. )divisionabsolute_importprint_functionN)ModuleDeprecationWarningVisibleDeprecationWarning)_NoValueFz%Running from numpy source directory. )showzError importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there.) git_revision)version) PackageLoadercOstdd}|||S)NT)Zinfunc)r )ZpackagesZoptionsloaderrA/opt/alt/python37/lib64/python3.7/site-packages/numpy/__init__.pypkgloads r) add_newdocsrrr)Tester)_distributor_init)core)*)compat)lib)linalg)fft) polynomial)random) ctypeslib)ma) matrixlib)long)boolintfloatcomplexobjectstr)r!r"r#r$r%unicoder&)roundabsmaxmin __version__r show_configrrrrrignoreznumpy.dtype size changed)messageznumpy.ufunc size changedznumpy.ndarray size changedZremoved)D__doc__Z __future__rrrsyswarningsZ_globalsrrrZ__NUMPY_SETUP__ NameErrorstderrwriteZnumpy.__config__r r- ImportErrormsgr r Z__git_revision__r,Z _import_toolsr rr__all____call__ZtestingrZ nosetesterZ _numpy_testerZtestZbenchrrrrrrrrrrrZ_matr version_infobuiltinsr!r"r#r$r%r&r'Z __builtin__r(r)r*r+extendfilterwarningsZ oldnumericZnumarrayrrrrjsv                       $