numpy 1.9.2__zip → 1.10.0__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- numpy-1.10.0.post2/INSTALL.txt +200 -0
- numpy-1.10.0.post2/LICENSE.txt +30 -0
- numpy-1.10.0.post2/MANIFEST.in +31 -0
- numpy-1.10.0.post2/PKG-INFO +47 -0
- numpy-1.10.0.post2/cnew.txt +117 -0
- numpy-1.10.0.post2/cold.txt +44 -0
- numpy-1.10.0.post2/committers.txt +160 -0
- numpy-1.10.0.post2/cpre.txt +283 -0
- numpy-1.10.0.post2/crel.txt +161 -0
- numpy-1.10.0.post2/doc/release/1.10.0-notes.rst +439 -0
- numpy-1.10.0.post2/doc/scipy-sphinx-theme/.git +1 -0
- numpy-1.10.0.post2/doc/source/conf.py +331 -0
- numpy-1.10.0.post2/doc/source/dev/development_environment.rst +211 -0
- numpy-1.10.0.post2/doc/source/dev/gitwash/development_workflow.rst +534 -0
- numpy-1.10.0.post2/doc/source/dev/gitwash/git_links.inc +95 -0
- numpy-1.10.0.post2/doc/source/dev/gitwash/index.rst +14 -0
- numpy-1.10.0.post2/doc/source/dev/index.rst +11 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.classes.rst +490 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.dtypes.rst +536 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.indexing.rst +549 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.interface.rst +337 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.ndarray.rst +622 -0
- numpy-1.10.0.post2/doc/source/reference/arrays.scalars.rst +291 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.array.rst +3393 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.config.rst +103 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.coremath.rst +420 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.dtype.rst +376 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.generalized-ufuncs.rst +191 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.iterator.rst +1300 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.types-and-structures.rst +1240 -0
- numpy-1.10.0.post2/doc/source/reference/c-api.ufunc.rst +413 -0
- numpy-1.10.0.post2/doc/source/reference/index.rst +43 -0
- numpy-1.10.0.post2/doc/source/reference/internals.code-explanations.rst +615 -0
- numpy-1.10.0.post2/doc/source/reference/routines.array-manipulation.rst +115 -0
- numpy-1.10.0.post2/doc/source/reference/routines.io.rst +78 -0
- numpy-1.10.0.post2/doc/source/reference/routines.linalg.rst +91 -0
- numpy-1.10.0.post2/doc/source/reference/routines.ma.rst +407 -0
- numpy-1.10.0.post2/doc/source/reference/routines.sort.rst +41 -0
- numpy-1.10.0.post2/doc/source/reference/routines.statistics.rst +57 -0
- numpy-1.10.0.post2/doc/source/reference/swig.interface-file.rst +1066 -0
- numpy-1.10.0.post2/doc/source/reference/swig.testing.rst +167 -0
- numpy-1.10.0.post2/doc/source/reference/ufuncs.rst +666 -0
- numpy-1.10.0.post2/doc/source/release.rst +20 -0
- numpy-1.10.0.post2/doc/source/user/basics.io.genfromtxt.rst +531 -0
- numpy-1.10.0.post2/doc/source/user/basics.rec.rst +7 -0
- numpy-1.10.0.post2/doc/source/user/c-info.beyond-basics.rst +560 -0
- numpy-1.10.0.post2/doc/source/user/c-info.how-to-extend.rst +642 -0
- numpy-1.10.0.post2/doc/source/user/c-info.python-as-glue.rst +1177 -0
- numpy-1.10.0.post2/doc/source/user/c-info.ufunc-tutorial.rst +1211 -0
- numpy-1.10.0.post2/doc/source/user/install.rst +194 -0
- numpy-1.10.0.post2/doc/sphinxext/.git +1 -0
- numpy-1.10.0.post2/numpy/__init__.py +227 -0
- numpy-1.10.0.post2/numpy/_build_utils/README +8 -0
- numpy-1.10.0.post2/numpy/_build_utils/apple_accelerate.py +21 -0
- numpy-1.10.0.post2/numpy/_build_utils/common.py +138 -0
- numpy-1.10.0.post2/numpy/_build_utils/src/apple_sgemv_fix.c +227 -0
- numpy-1.10.0.post2/numpy/_build_utils/waf.py +531 -0
- numpy-1.10.0.post2/numpy/_import_tools.py +353 -0
- numpy-1.10.0.post2/numpy/add_newdocs.py +7611 -0
- numpy-1.10.0.post2/numpy/compat/_inspect.py +194 -0
- numpy-1.10.0.post2/numpy/compat/py3k.py +88 -0
- numpy-1.10.0.post2/numpy/compat/setup.py +12 -0
- numpy-1.10.0.post2/numpy/core/__init__.py +89 -0
- numpy-1.10.0.post2/numpy/core/_internal.py +761 -0
- numpy-1.10.0.post2/numpy/core/_methods.py +133 -0
- numpy-1.10.0.post2/numpy/core/arrayprint.py +760 -0
- numpy-1.10.0.post2/numpy/core/code_generators/cversions.txt +34 -0
- numpy-1.10.0.post2/numpy/core/code_generators/generate_ufunc_api.py +219 -0
- numpy-1.10.0.post2/numpy/core/code_generators/generate_umath.py +1017 -0
- numpy-1.10.0.post2/numpy/core/code_generators/numpy_api.py +415 -0
- numpy-1.10.0.post2/numpy/core/code_generators/ufunc_docstrings.py +3442 -0
- numpy-1.10.0.post2/numpy/core/defchararray.py +2689 -0
- numpy-1.10.0.post2/numpy/core/fromnumeric.py +3089 -0
- numpy-1.10.0.post2/numpy/core/function_base.py +203 -0
- numpy-1.10.0.post2/numpy/core/getlimits.py +308 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/ndarrayobject.h +246 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/ndarraytypes.h +1797 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_3kcompat.h +448 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_common.h +1051 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_cpu.h +92 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_endian.h +61 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/npy_math.h +525 -0
- numpy-1.10.0.post2/numpy/core/include/numpy/numpyconfig.h +36 -0
- numpy-1.10.0.post2/numpy/core/machar.py +342 -0
- numpy-1.10.0.post2/numpy/core/memmap.py +311 -0
- numpy-1.10.0.post2/numpy/core/numeric.py +2893 -0
- numpy-1.10.0.post2/numpy/core/numerictypes.py +1036 -0
- numpy-1.10.0.post2/numpy/core/records.py +846 -0
- numpy-1.10.0.post2/numpy/core/setup.py +983 -0
- numpy-1.10.0.post2/numpy/core/setup_common.py +352 -0
- numpy-1.10.0.post2/numpy/core/shape_base.py +350 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/alloc.c +244 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/arrayobject.c +1858 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.c.src +4738 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.h +37 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/buffer.c +981 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/calculation.c +1224 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.c +812 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.h +10 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/common.c +911 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/common.h +250 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.c +1664 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.h +24 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/conversion_utils.c +1217 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/convert.c +590 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/convert_datatype.c +2155 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/ctors.c +3838 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/datetime.c +3821 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busday.c +1322 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busdaycal.c +552 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_strings.c +1772 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/descriptor.c +3719 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/dtype_transfer.c +4239 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/einsum.c.src +3005 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/getset.c +986 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/hashdescr.c +318 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/item_selection.c +2413 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/iterators.c +2192 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +1769 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.c +3380 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.h +77 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/methods.c +2514 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/multiarray_tests.c.src +1035 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.c +4628 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.h +15 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_api.c +2809 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_constr.c +3160 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_pywrap.c +2499 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/number.c +1106 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/number.h +77 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/numpymemoryview.c +308 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/numpyos.c +683 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/scalarapi.c +870 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.c.src +4343 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.h +55 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/shape.c +1131 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/ucsnarrow.c +174 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.c +180 -0
- numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.h +18 -0
- numpy-1.10.0.post2/numpy/core/src/npymath/ieee754.c.src +808 -0
- numpy-1.10.0.post2/numpy/core/src/npymath/npy_math.c.src +597 -0
- numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_complex.c.src +1788 -0
- numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_private.h +544 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/heapsort.c.src +402 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/mergesort.c.src +488 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/npysort_common.h +360 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/quicksort.c.src +523 -0
- numpy-1.10.0.post2/numpy/core/src/npysort/selection.c.src +426 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_cblas.h +584 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_config.h +101 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_import.h +32 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_partition.h.src +122 -0
- numpy-1.10.0.post2/numpy/core/src/private/npy_sort.h +196 -0
- numpy-1.10.0.post2/numpy/core/src/private/templ_common.h.src +43 -0
- numpy-1.10.0.post2/numpy/core/src/private/ufunc_override.h +397 -0
- numpy-1.10.0.post2/numpy/core/src/umath/funcs.inc.src +356 -0
- numpy-1.10.0.post2/numpy/core/src/umath/loops.c.src +2675 -0
- numpy-1.10.0.post2/numpy/core/src/umath/loops.h.src +497 -0
- numpy-1.10.0.post2/numpy/core/src/umath/operand_flag_tests.c.src +105 -0
- numpy-1.10.0.post2/numpy/core/src/umath/scalarmath.c.src +1738 -0
- numpy-1.10.0.post2/numpy/core/src/umath/simd.inc.src +903 -0
- numpy-1.10.0.post2/numpy/core/src/umath/test_rational.c.src +1404 -0
- numpy-1.10.0.post2/numpy/core/src/umath/ufunc_object.c +5703 -0
- numpy-1.10.0.post2/numpy/core/src/umath/ufunc_type_resolution.c +2159 -0
- numpy-1.10.0.post2/numpy/core/src/umath/umath_tests.c.src +392 -0
- numpy-1.10.0.post2/numpy/core/src/umath/umathmodule.c +443 -0
- numpy-1.10.0.post2/numpy/core/tests/test_abc.py +47 -0
- numpy-1.10.0.post2/numpy/core/tests/test_api.py +515 -0
- numpy-1.10.0.post2/numpy/core/tests/test_arrayprint.py +171 -0
- numpy-1.10.0.post2/numpy/core/tests/test_datetime.py +1820 -0
- numpy-1.10.0.post2/numpy/core/tests/test_defchararray.py +703 -0
- numpy-1.10.0.post2/numpy/core/tests/test_deprecations.py +619 -0
- numpy-1.10.0.post2/numpy/core/tests/test_dtype.py +578 -0
- numpy-1.10.0.post2/numpy/core/tests/test_einsum.py +627 -0
- numpy-1.10.0.post2/numpy/core/tests/test_errstate.py +52 -0
- numpy-1.10.0.post2/numpy/core/tests/test_function_base.py +142 -0
- numpy-1.10.0.post2/numpy/core/tests/test_getlimits.py +77 -0
- numpy-1.10.0.post2/numpy/core/tests/test_half.py +436 -0
- numpy-1.10.0.post2/numpy/core/tests/test_indexerrors.py +126 -0
- numpy-1.10.0.post2/numpy/core/tests/test_indexing.py +1047 -0
- numpy-1.10.0.post2/numpy/core/tests/test_item_selection.py +73 -0
- numpy-1.10.0.post2/numpy/core/tests/test_machar.py +29 -0
- numpy-1.10.0.post2/numpy/core/tests/test_memmap.py +130 -0
- numpy-1.10.0.post2/numpy/core/tests/test_multiarray.py +5924 -0
- numpy-1.10.0.post2/numpy/core/tests/test_multiarray_assignment.py +84 -0
- numpy-1.10.0.post2/numpy/core/tests/test_nditer.py +2638 -0
- numpy-1.10.0.post2/numpy/core/tests/test_numeric.py +2204 -0
- numpy-1.10.0.post2/numpy/core/tests/test_numerictypes.py +382 -0
- numpy-1.10.0.post2/numpy/core/tests/test_print.py +248 -0
- numpy-1.10.0.post2/numpy/core/tests/test_records.py +299 -0
- numpy-1.10.0.post2/numpy/core/tests/test_regression.py +2177 -0
- numpy-1.10.0.post2/numpy/core/tests/test_scalarinherit.py +41 -0
- numpy-1.10.0.post2/numpy/core/tests/test_scalarmath.py +316 -0
- numpy-1.10.0.post2/numpy/core/tests/test_shape_base.py +319 -0
- numpy-1.10.0.post2/numpy/core/tests/test_ufunc.py +1227 -0
- numpy-1.10.0.post2/numpy/core/tests/test_umath.py +1933 -0
- numpy-1.10.0.post2/numpy/core/tests/test_umath_complex.py +538 -0
- numpy-1.10.0.post2/numpy/core/tests/test_unicode.py +360 -0
- numpy-1.10.0.post2/numpy/distutils/__init__.py +23 -0
- numpy-1.10.0.post2/numpy/distutils/ccompiler.py +690 -0
- numpy-1.10.0.post2/numpy/distutils/command/autodist.py +94 -0
- numpy-1.10.0.post2/numpy/distutils/command/build.py +47 -0
- numpy-1.10.0.post2/numpy/distutils/command/build_clib.py +295 -0
- numpy-1.10.0.post2/numpy/distutils/command/build_ext.py +522 -0
- numpy-1.10.0.post2/numpy/distutils/command/config.py +437 -0
- numpy-1.10.0.post2/numpy/distutils/exec_command.py +651 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/compaq.py +128 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/gnu.py +403 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/intel.py +217 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/pg.py +63 -0
- numpy-1.10.0.post2/numpy/distutils/fcompiler/sun.py +55 -0
- numpy-1.10.0.post2/numpy/distutils/intelccompiler.py +95 -0
- numpy-1.10.0.post2/numpy/distutils/lib2def.py +116 -0
- numpy-1.10.0.post2/numpy/distutils/mingw32ccompiler.py +599 -0
- numpy-1.10.0.post2/numpy/distutils/misc_util.py +2306 -0
- numpy-1.10.0.post2/numpy/distutils/msvc9compiler.py +23 -0
- numpy-1.10.0.post2/numpy/distutils/msvccompiler.py +17 -0
- numpy-1.10.0.post2/numpy/distutils/npy_pkg_config.py +451 -0
- numpy-1.10.0.post2/numpy/distutils/system_info.py +2397 -0
- numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +12 -0
- numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +11 -0
- numpy-1.10.0.post2/numpy/distutils/tests/gen_ext/tests/test_fib3.py +11 -0
- numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +13 -0
- numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/__init__.py +1 -0
- numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example.py +17 -0
- numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example2.py +15 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_gnu.py +60 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_intel.py +36 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_misc_util.py +79 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_npy_pkg_config.py +102 -0
- numpy-1.10.0.post2/numpy/distutils/tests/test_system_info.py +209 -0
- numpy-1.10.0.post2/numpy/distutils/unixccompiler.py +125 -0
- numpy-1.10.0.post2/numpy/doc/byteswapping.py +156 -0
- numpy-1.10.0.post2/numpy/doc/creation.py +144 -0
- numpy-1.10.0.post2/numpy/doc/glossary.py +423 -0
- numpy-1.10.0.post2/numpy/doc/indexing.py +439 -0
- numpy-1.10.0.post2/numpy/doc/structured_arrays.py +290 -0
- numpy-1.10.0.post2/numpy/f2py/__init__.py +49 -0
- numpy-1.10.0.post2/numpy/f2py/__main__.py +25 -0
- numpy-1.10.0.post2/numpy/f2py/auxfuncs.py +858 -0
- numpy-1.10.0.post2/numpy/f2py/capi_maps.py +851 -0
- numpy-1.10.0.post2/numpy/f2py/cb_rules.py +554 -0
- numpy-1.10.0.post2/numpy/f2py/cfuncs.py +1261 -0
- numpy-1.10.0.post2/numpy/f2py/common_rules.py +150 -0
- numpy-1.10.0.post2/numpy/f2py/crackfortran.py +3314 -0
- numpy-1.10.0.post2/numpy/f2py/diagnose.py +156 -0
- numpy-1.10.0.post2/numpy/f2py/f2py2e.py +656 -0
- numpy-1.10.0.post2/numpy/f2py/f2py_testing.py +48 -0
- numpy-1.10.0.post2/numpy/f2py/f90mod_rules.py +272 -0
- numpy-1.10.0.post2/numpy/f2py/func2subr.py +299 -0
- numpy-1.10.0.post2/numpy/f2py/rules.py +1475 -0
- numpy-1.10.0.post2/numpy/f2py/setup.py +117 -0
- numpy-1.10.0.post2/numpy/f2py/src/fortranobject.c +1037 -0
- numpy-1.10.0.post2/numpy/f2py/src/fortranobject.h +162 -0
- numpy-1.10.0.post2/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +223 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_array_from_pyobj.py +593 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_assumed_shape.py +35 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_callback.py +136 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_kind.py +36 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_mixed.py +40 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_regression.py +34 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_character.py +148 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_complex.py +170 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_integer.py +180 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_logical.py +189 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_return_real.py +206 -0
- numpy-1.10.0.post2/numpy/f2py/tests/test_size.py +44 -0
- numpy-1.10.0.post2/numpy/f2py/tests/util.py +367 -0
- numpy-1.10.0.post2/numpy/f2py/use_rules.py +115 -0
- numpy-1.10.0.post2/numpy/fft/fftpack.c +1501 -0
- numpy-1.10.0.post2/numpy/fft/fftpack.h +28 -0
- numpy-1.10.0.post2/numpy/fft/fftpack.py +1241 -0
- numpy-1.10.0.post2/numpy/fft/fftpack_litemodule.c +363 -0
- numpy-1.10.0.post2/numpy/fft/info.py +187 -0
- numpy-1.10.0.post2/numpy/fft/setup.py +19 -0
- numpy-1.10.0.post2/numpy/fft/tests/test_fftpack.py +166 -0
- numpy-1.10.0.post2/numpy/fft/tests/test_helper.py +78 -0
- numpy-1.10.0.post2/numpy/lib/_iotools.py +917 -0
- numpy-1.10.0.post2/numpy/lib/arraypad.py +1497 -0
- numpy-1.10.0.post2/numpy/lib/arraysetops.py +480 -0
- numpy-1.10.0.post2/numpy/lib/arrayterator.py +226 -0
- numpy-1.10.0.post2/numpy/lib/financial.py +737 -0
- numpy-1.10.0.post2/numpy/lib/format.py +814 -0
- numpy-1.10.0.post2/numpy/lib/function_base.py +4150 -0
- numpy-1.10.0.post2/numpy/lib/index_tricks.py +874 -0
- numpy-1.10.0.post2/numpy/lib/info.py +152 -0
- numpy-1.10.0.post2/numpy/lib/nanfunctions.py +1237 -0
- numpy-1.10.0.post2/numpy/lib/npyio.py +1992 -0
- numpy-1.10.0.post2/numpy/lib/polynomial.py +1277 -0
- numpy-1.10.0.post2/numpy/lib/recfunctions.py +1003 -0
- numpy-1.10.0.post2/numpy/lib/setup.py +12 -0
- numpy-1.10.0.post2/numpy/lib/shape_base.py +872 -0
- numpy-1.10.0.post2/numpy/lib/stride_tricks.py +200 -0
- numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npy +0 -0
- numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npz +0 -0
- numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npy +0 -0
- numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npz +0 -0
- numpy-1.10.0.post2/numpy/lib/tests/test__iotools.py +348 -0
- numpy-1.10.0.post2/numpy/lib/tests/test__version.py +70 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_arraypad.py +1047 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_arraysetops.py +309 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_financial.py +163 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_format.py +841 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_function_base.py +2555 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_index_tricks.py +326 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_io.py +1916 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_nanfunctions.py +707 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_packbits.py +26 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_polynomial.py +188 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_recfunctions.py +734 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_shape_base.py +386 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_stride_tricks.py +405 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_twodim_base.py +535 -0
- numpy-1.10.0.post2/numpy/lib/tests/test_type_check.py +332 -0
- numpy-1.10.0.post2/numpy/lib/twodim_base.py +1007 -0
- numpy-1.10.0.post2/numpy/lib/type_check.py +596 -0
- numpy-1.10.0.post2/numpy/lib/utils.py +1122 -0
- numpy-1.10.0.post2/numpy/linalg/lapack_lite/python_xerbla.c +46 -0
- numpy-1.10.0.post2/numpy/linalg/lapack_litemodule.c +358 -0
- numpy-1.10.0.post2/numpy/linalg/linalg.py +2406 -0
- numpy-1.10.0.post2/numpy/linalg/tests/test_build.py +59 -0
- numpy-1.10.0.post2/numpy/linalg/tests/test_linalg.py +1351 -0
- numpy-1.10.0.post2/numpy/linalg/tests/test_regression.py +95 -0
- numpy-1.10.0.post2/numpy/linalg/umath_linalg.c.src +3236 -0
- numpy-1.10.0.post2/numpy/ma/__init__.py +56 -0
- numpy-1.10.0.post2/numpy/ma/bench.py +131 -0
- numpy-1.10.0.post2/numpy/ma/core.py +7608 -0
- numpy-1.10.0.post2/numpy/ma/extras.py +1953 -0
- numpy-1.10.0.post2/numpy/ma/mrecords.py +796 -0
- numpy-1.10.0.post2/numpy/ma/setup.py +13 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_core.py +4100 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_extras.py +1132 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_mrecords.py +520 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_old_ma.py +879 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_regression.py +80 -0
- numpy-1.10.0.post2/numpy/ma/tests/test_subclassing.py +338 -0
- numpy-1.10.0.post2/numpy/ma/testutils.py +289 -0
- numpy-1.10.0.post2/numpy/ma/timer_comparison.py +440 -0
- numpy-1.10.0.post2/numpy/matlib.py +358 -0
- numpy-1.10.0.post2/numpy/matrixlib/defmatrix.py +1232 -0
- numpy-1.10.0.post2/numpy/matrixlib/tests/test_defmatrix.py +449 -0
- numpy-1.10.0.post2/numpy/matrixlib/tests/test_multiarray.py +23 -0
- numpy-1.10.0.post2/numpy/matrixlib/tests/test_numeric.py +23 -0
- numpy-1.10.0.post2/numpy/matrixlib/tests/test_regression.py +37 -0
- numpy-1.10.0.post2/numpy/polynomial/_polybase.py +962 -0
- numpy-1.10.0.post2/numpy/polynomial/chebyshev.py +2056 -0
- numpy-1.10.0.post2/numpy/polynomial/hermite.py +1831 -0
- numpy-1.10.0.post2/numpy/polynomial/hermite_e.py +1828 -0
- numpy-1.10.0.post2/numpy/polynomial/laguerre.py +1780 -0
- numpy-1.10.0.post2/numpy/polynomial/legendre.py +1808 -0
- numpy-1.10.0.post2/numpy/polynomial/polyutils.py +403 -0
- numpy-1.10.0.post2/numpy/random/mtrand/distributions.c +912 -0
- numpy-1.10.0.post2/numpy/random/mtrand/mtrand.c +34805 -0
- numpy-1.10.0.post2/numpy/random/mtrand/mtrand.pyx +4766 -0
- numpy-1.10.0.post2/numpy/random/setup.py +61 -0
- numpy-1.10.0.post2/numpy/random/tests/test_random.py +723 -0
- numpy-1.10.0.post2/numpy/random/tests/test_regression.py +117 -0
- numpy-1.10.0.post2/numpy/setup.py +29 -0
- numpy-1.10.0.post2/numpy/testing/__init__.py +15 -0
- numpy-1.10.0.post2/numpy/testing/decorators.py +271 -0
- numpy-1.10.0.post2/numpy/testing/noseclasses.py +353 -0
- numpy-1.10.0.post2/numpy/testing/nosetester.py +511 -0
- numpy-1.10.0.post2/numpy/testing/print_coercion_tables.py +91 -0
- numpy-1.10.0.post2/numpy/testing/setup.py +20 -0
- numpy-1.10.0.post2/numpy/testing/tests/test_decorators.py +182 -0
- numpy-1.10.0.post2/numpy/testing/tests/test_utils.py +781 -0
- numpy-1.10.0.post2/numpy/testing/utils.py +1831 -0
- numpy-1.10.0.post2/numpy/tests/test_ctypeslib.py +106 -0
- numpy-1.10.0.post2/numpy/tests/test_matlib.py +55 -0
- numpy-1.10.0.post2/numpy/tests/test_scripts.py +69 -0
- numpy-1.10.0.post2/numpy/version.py +10 -0
- numpy-1.10.0.post2/setup.py +260 -0
- numpy-1.10.0.post2/site.cfg.example +193 -0
- numpy-1.10.0.post2/tmp.txt +789 -0
- numpy-1.10.0.post2/tools/swig/README +145 -0
- numpy-1.10.0.post2/tools/swig/numpy.i +3161 -0
- numpy-1.10.0.post2/tools/swig/test/Array.i +135 -0
- numpy-1.10.0.post2/tools/swig/test/ArrayZ.cxx +131 -0
- numpy-1.10.0.post2/tools/swig/test/ArrayZ.h +56 -0
- numpy-1.10.0.post2/tools/swig/test/Flat.cxx +36 -0
- numpy-1.10.0.post2/tools/swig/test/Flat.h +34 -0
- numpy-1.10.0.post2/tools/swig/test/Flat.i +36 -0
- numpy-1.10.0.post2/tools/swig/test/Makefile +37 -0
- numpy-1.10.0.post2/tools/swig/test/setup.py +71 -0
- numpy-1.10.0.post2/tools/swig/test/testArray.py +385 -0
- numpy-1.10.0.post2/tools/swig/test/testFarray.py +159 -0
- numpy-1.10.0.post2/tools/swig/test/testFlat.py +200 -0
- numpy-1.10.0.post2/tools/swig/test/testFortran.py +173 -0
- numpy-1.10.0.post2/tools/swig/test/testMatrix.py +362 -0
- numpy-1.10.0.post2/tools/swig/test/testSuperTensor.py +388 -0
- numpy-1.10.0.post2/tools/swig/test/testTensor.py +402 -0
- numpy-1.10.0.post2/tools/swig/test/testVector.py +381 -0
- numpy-1.9.2/INSTALL.txt +0 -138
- numpy-1.9.2/LICENSE.txt +0 -30
- numpy-1.9.2/MANIFEST.in +0 -26
- numpy-1.9.2/PKG-INFO +0 -39
- numpy-1.9.2/doc/scipy-sphinx-theme/.git +0 -1
- numpy-1.9.2/doc/source/conf.py +0 -331
- numpy-1.9.2/doc/source/dev/gitwash/branch_list.png +0 -0
- numpy-1.9.2/doc/source/dev/gitwash/branch_list_compare.png +0 -0
- numpy-1.9.2/doc/source/dev/gitwash/development_workflow.rst +0 -568
- numpy-1.9.2/doc/source/dev/gitwash/git_links.inc +0 -88
- numpy-1.9.2/doc/source/dev/gitwash/index.rst +0 -14
- numpy-1.9.2/doc/source/dev/index.rst +0 -10
- numpy-1.9.2/doc/source/reference/arrays.classes.rst +0 -427
- numpy-1.9.2/doc/source/reference/arrays.dtypes.rst +0 -534
- numpy-1.9.2/doc/source/reference/arrays.indexing.rst +0 -550
- numpy-1.9.2/doc/source/reference/arrays.interface.rst +0 -336
- numpy-1.9.2/doc/source/reference/arrays.ndarray.rst +0 -609
- numpy-1.9.2/doc/source/reference/arrays.scalars.rst +0 -291
- numpy-1.9.2/doc/source/reference/c-api.array.rst +0 -3362
- numpy-1.9.2/doc/source/reference/c-api.config.rst +0 -103
- numpy-1.9.2/doc/source/reference/c-api.coremath.rst +0 -420
- numpy-1.9.2/doc/source/reference/c-api.dtype.rst +0 -376
- numpy-1.9.2/doc/source/reference/c-api.generalized-ufuncs.rst +0 -171
- numpy-1.9.2/doc/source/reference/c-api.iterator.rst +0 -1298
- numpy-1.9.2/doc/source/reference/c-api.types-and-structures.rst +0 -1204
- numpy-1.9.2/doc/source/reference/c-api.ufunc.rst +0 -399
- numpy-1.9.2/doc/source/reference/index.rst +0 -44
- numpy-1.9.2/doc/source/reference/internals.code-explanations.rst +0 -666
- numpy-1.9.2/doc/source/reference/routines.array-manipulation.rst +0 -113
- numpy-1.9.2/doc/source/reference/routines.io.rst +0 -74
- numpy-1.9.2/doc/source/reference/routines.linalg.rst +0 -88
- numpy-1.9.2/doc/source/reference/routines.ma.rst +0 -405
- numpy-1.9.2/doc/source/reference/routines.sort.rst +0 -42
- numpy-1.9.2/doc/source/reference/routines.statistics.rst +0 -55
- numpy-1.9.2/doc/source/reference/swig.interface-file.rst +0 -1055
- numpy-1.9.2/doc/source/reference/swig.testing.rst +0 -166
- numpy-1.9.2/doc/source/reference/ufuncs.rst +0 -651
- numpy-1.9.2/doc/source/release.rst +0 -19
- numpy-1.9.2/doc/source/user/basics.io.genfromtxt.rst +0 -531
- numpy-1.9.2/doc/source/user/basics.rec.rst +0 -7
- numpy-1.9.2/doc/source/user/c-info.beyond-basics.rst +0 -560
- numpy-1.9.2/doc/source/user/c-info.how-to-extend.rst +0 -642
- numpy-1.9.2/doc/source/user/c-info.python-as-glue.rst +0 -1528
- numpy-1.9.2/doc/source/user/c-info.ufunc-tutorial.rst +0 -1211
- numpy-1.9.2/doc/source/user/install.rst +0 -180
- numpy-1.9.2/doc/sphinxext/.git +0 -1
- numpy-1.9.2/numpy/__init__.py +0 -216
- numpy-1.9.2/numpy/_import_tools.py +0 -348
- numpy-1.9.2/numpy/add_newdocs.py +0 -7518
- numpy-1.9.2/numpy/compat/_inspect.py +0 -221
- numpy-1.9.2/numpy/compat/py3k.py +0 -89
- numpy-1.9.2/numpy/compat/setup.py +0 -12
- numpy-1.9.2/numpy/core/__init__.py +0 -78
- numpy-1.9.2/numpy/core/_internal.py +0 -570
- numpy-1.9.2/numpy/core/_methods.py +0 -134
- numpy-1.9.2/numpy/core/arrayprint.py +0 -752
- numpy-1.9.2/numpy/core/blasdot/_dotblas.c +0 -1255
- numpy-1.9.2/numpy/core/blasdot/apple_sgemv_patch.c +0 -216
- numpy-1.9.2/numpy/core/blasdot/cblas.h +0 -578
- numpy-1.9.2/numpy/core/code_generators/cversions.txt +0 -31
- numpy-1.9.2/numpy/core/code_generators/generate_ufunc_api.py +0 -219
- numpy-1.9.2/numpy/core/code_generators/generate_umath.py +0 -972
- numpy-1.9.2/numpy/core/code_generators/numpy_api.py +0 -412
- numpy-1.9.2/numpy/core/code_generators/ufunc_docstrings.py +0 -3419
- numpy-1.9.2/numpy/core/defchararray.py +0 -2687
- numpy-1.9.2/numpy/core/fromnumeric.py +0 -2938
- numpy-1.9.2/numpy/core/function_base.py +0 -190
- numpy-1.9.2/numpy/core/getlimits.py +0 -306
- numpy-1.9.2/numpy/core/include/numpy/fenv/fenv.c +0 -38
- numpy-1.9.2/numpy/core/include/numpy/fenv/fenv.h +0 -224
- numpy-1.9.2/numpy/core/include/numpy/ndarrayobject.h +0 -237
- numpy-1.9.2/numpy/core/include/numpy/ndarraytypes.h +0 -1820
- numpy-1.9.2/numpy/core/include/numpy/npy_3kcompat.h +0 -506
- numpy-1.9.2/numpy/core/include/numpy/npy_common.h +0 -1038
- numpy-1.9.2/numpy/core/include/numpy/npy_cpu.h +0 -122
- numpy-1.9.2/numpy/core/include/numpy/npy_endian.h +0 -49
- numpy-1.9.2/numpy/core/include/numpy/npy_math.h +0 -479
- numpy-1.9.2/numpy/core/include/numpy/numpyconfig.h +0 -35
- numpy-1.9.2/numpy/core/machar.py +0 -338
- numpy-1.9.2/numpy/core/memmap.py +0 -308
- numpy-1.9.2/numpy/core/numeric.py +0 -2842
- numpy-1.9.2/numpy/core/numerictypes.py +0 -1042
- numpy-1.9.2/numpy/core/records.py +0 -804
- numpy-1.9.2/numpy/core/setup.py +0 -1016
- numpy-1.9.2/numpy/core/setup_common.py +0 -321
- numpy-1.9.2/numpy/core/shape_base.py +0 -277
- numpy-1.9.2/numpy/core/src/multiarray/alloc.c +0 -241
- numpy-1.9.2/numpy/core/src/multiarray/arrayobject.c +0 -1791
- numpy-1.9.2/numpy/core/src/multiarray/arraytypes.c.src +0 -4372
- numpy-1.9.2/numpy/core/src/multiarray/arraytypes.h +0 -13
- numpy-1.9.2/numpy/core/src/multiarray/buffer.c +0 -954
- numpy-1.9.2/numpy/core/src/multiarray/calculation.c +0 -1229
- numpy-1.9.2/numpy/core/src/multiarray/common.c +0 -798
- numpy-1.9.2/numpy/core/src/multiarray/common.h +0 -328
- numpy-1.9.2/numpy/core/src/multiarray/conversion_utils.c +0 -1240
- numpy-1.9.2/numpy/core/src/multiarray/convert.c +0 -589
- numpy-1.9.2/numpy/core/src/multiarray/convert_datatype.c +0 -2199
- numpy-1.9.2/numpy/core/src/multiarray/ctors.c +0 -3785
- numpy-1.9.2/numpy/core/src/multiarray/datetime.c +0 -3823
- numpy-1.9.2/numpy/core/src/multiarray/datetime_busday.c +0 -1322
- numpy-1.9.2/numpy/core/src/multiarray/datetime_busdaycal.c +0 -552
- numpy-1.9.2/numpy/core/src/multiarray/datetime_strings.c +0 -1772
- numpy-1.9.2/numpy/core/src/multiarray/descriptor.c +0 -3658
- numpy-1.9.2/numpy/core/src/multiarray/dtype_transfer.c +0 -4232
- numpy-1.9.2/numpy/core/src/multiarray/einsum.c.src +0 -3013
- numpy-1.9.2/numpy/core/src/multiarray/getset.c +0 -984
- numpy-1.9.2/numpy/core/src/multiarray/hashdescr.c +0 -319
- numpy-1.9.2/numpy/core/src/multiarray/item_selection.c +0 -2711
- numpy-1.9.2/numpy/core/src/multiarray/iterators.c +0 -2160
- numpy-1.9.2/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +0 -1767
- numpy-1.9.2/numpy/core/src/multiarray/mapping.c +0 -3316
- numpy-1.9.2/numpy/core/src/multiarray/mapping.h +0 -73
- numpy-1.9.2/numpy/core/src/multiarray/methods.c +0 -2497
- numpy-1.9.2/numpy/core/src/multiarray/multiarray_tests.c.src +0 -977
- numpy-1.9.2/numpy/core/src/multiarray/multiarraymodule.c +0 -4202
- numpy-1.9.2/numpy/core/src/multiarray/multiarraymodule.h +0 -4
- numpy-1.9.2/numpy/core/src/multiarray/multiarraymodule_onefile.c +0 -58
- numpy-1.9.2/numpy/core/src/multiarray/nditer_api.c +0 -2809
- numpy-1.9.2/numpy/core/src/multiarray/nditer_constr.c +0 -3159
- numpy-1.9.2/numpy/core/src/multiarray/nditer_pywrap.c +0 -2492
- numpy-1.9.2/numpy/core/src/multiarray/number.c +0 -1057
- numpy-1.9.2/numpy/core/src/multiarray/number.h +0 -76
- numpy-1.9.2/numpy/core/src/multiarray/numpymemoryview.c +0 -309
- numpy-1.9.2/numpy/core/src/multiarray/numpyos.c +0 -683
- numpy-1.9.2/numpy/core/src/multiarray/scalarapi.c +0 -861
- numpy-1.9.2/numpy/core/src/multiarray/scalartypes.c.src +0 -4270
- numpy-1.9.2/numpy/core/src/multiarray/scalartypes.h +0 -52
- numpy-1.9.2/numpy/core/src/multiarray/shape.c +0 -1141
- numpy-1.9.2/numpy/core/src/multiarray/ucsnarrow.c +0 -173
- numpy-1.9.2/numpy/core/src/npymath/ieee754.c.src +0 -814
- numpy-1.9.2/numpy/core/src/npymath/npy_math.c.src +0 -527
- numpy-1.9.2/numpy/core/src/npymath/npy_math_complex.c.src +0 -291
- numpy-1.9.2/numpy/core/src/npymath/npy_math_private.h +0 -539
- numpy-1.9.2/numpy/core/src/npysort/heapsort.c.src +0 -341
- numpy-1.9.2/numpy/core/src/npysort/mergesort.c.src +0 -428
- numpy-1.9.2/numpy/core/src/npysort/npysort_common.h +0 -367
- numpy-1.9.2/numpy/core/src/npysort/quicksort.c.src +0 -363
- numpy-1.9.2/numpy/core/src/npysort/selection.c.src +0 -474
- numpy-1.9.2/numpy/core/src/private/npy_config.h +0 -44
- numpy-1.9.2/numpy/core/src/private/npy_partition.h.src +0 -138
- numpy-1.9.2/numpy/core/src/private/npy_sort.h +0 -194
- numpy-1.9.2/numpy/core/src/private/scalarmathmodule.h.src +0 -42
- numpy-1.9.2/numpy/core/src/private/ufunc_override.h +0 -384
- numpy-1.9.2/numpy/core/src/scalarmathmodule.c.src +0 -1980
- numpy-1.9.2/numpy/core/src/umath/funcs.inc.src +0 -715
- numpy-1.9.2/numpy/core/src/umath/loops.c.src +0 -2654
- numpy-1.9.2/numpy/core/src/umath/loops.h.src +0 -501
- numpy-1.9.2/numpy/core/src/umath/operand_flag_tests.c.src +0 -105
- numpy-1.9.2/numpy/core/src/umath/simd.inc.src +0 -881
- numpy-1.9.2/numpy/core/src/umath/test_rational.c.src +0 -1404
- numpy-1.9.2/numpy/core/src/umath/ufunc_object.c +0 -5520
- numpy-1.9.2/numpy/core/src/umath/ufunc_type_resolution.c +0 -2164
- numpy-1.9.2/numpy/core/src/umath/umath_tests.c.src +0 -341
- numpy-1.9.2/numpy/core/src/umath/umathmodule.c +0 -561
- numpy-1.9.2/numpy/core/src/umath/umathmodule_onefile.c +0 -6
- numpy-1.9.2/numpy/core/tests/test_abc.py +0 -45
- numpy-1.9.2/numpy/core/tests/test_api.py +0 -514
- numpy-1.9.2/numpy/core/tests/test_arrayprint.py +0 -167
- numpy-1.9.2/numpy/core/tests/test_blasdot.py +0 -249
- numpy-1.9.2/numpy/core/tests/test_datetime.py +0 -1781
- numpy-1.9.2/numpy/core/tests/test_defchararray.py +0 -642
- numpy-1.9.2/numpy/core/tests/test_deprecations.py +0 -512
- numpy-1.9.2/numpy/core/tests/test_dtype.py +0 -542
- numpy-1.9.2/numpy/core/tests/test_einsum.py +0 -583
- numpy-1.9.2/numpy/core/tests/test_errstate.py +0 -51
- numpy-1.9.2/numpy/core/tests/test_function_base.py +0 -111
- numpy-1.9.2/numpy/core/tests/test_getlimits.py +0 -86
- numpy-1.9.2/numpy/core/tests/test_half.py +0 -439
- numpy-1.9.2/numpy/core/tests/test_indexerrors.py +0 -127
- numpy-1.9.2/numpy/core/tests/test_indexing.py +0 -1014
- numpy-1.9.2/numpy/core/tests/test_item_selection.py +0 -70
- numpy-1.9.2/numpy/core/tests/test_machar.py +0 -30
- numpy-1.9.2/numpy/core/tests/test_memmap.py +0 -127
- numpy-1.9.2/numpy/core/tests/test_multiarray.py +0 -4645
- numpy-1.9.2/numpy/core/tests/test_multiarray_assignment.py +0 -80
- numpy-1.9.2/numpy/core/tests/test_nditer.py +0 -2630
- numpy-1.9.2/numpy/core/tests/test_numeric.py +0 -2117
- numpy-1.9.2/numpy/core/tests/test_numerictypes.py +0 -377
- numpy-1.9.2/numpy/core/tests/test_print.py +0 -245
- numpy-1.9.2/numpy/core/tests/test_records.py +0 -185
- numpy-1.9.2/numpy/core/tests/test_regression.py +0 -2108
- numpy-1.9.2/numpy/core/tests/test_scalarinherit.py +0 -34
- numpy-1.9.2/numpy/core/tests/test_scalarmath.py +0 -275
- numpy-1.9.2/numpy/core/tests/test_shape_base.py +0 -250
- numpy-1.9.2/numpy/core/tests/test_ufunc.py +0 -1153
- numpy-1.9.2/numpy/core/tests/test_umath.py +0 -1695
- numpy-1.9.2/numpy/core/tests/test_umath_complex.py +0 -537
- numpy-1.9.2/numpy/core/tests/test_unicode.py +0 -357
- numpy-1.9.2/numpy/distutils/__init__.py +0 -39
- numpy-1.9.2/numpy/distutils/ccompiler.py +0 -656
- numpy-1.9.2/numpy/distutils/command/autodist.py +0 -43
- numpy-1.9.2/numpy/distutils/command/build.py +0 -39
- numpy-1.9.2/numpy/distutils/command/build_clib.py +0 -284
- numpy-1.9.2/numpy/distutils/command/build_ext.py +0 -503
- numpy-1.9.2/numpy/distutils/command/config.py +0 -476
- numpy-1.9.2/numpy/distutils/exec_command.py +0 -618
- numpy-1.9.2/numpy/distutils/fcompiler/compaq.py +0 -128
- numpy-1.9.2/numpy/distutils/fcompiler/gnu.py +0 -390
- numpy-1.9.2/numpy/distutils/fcompiler/intel.py +0 -205
- numpy-1.9.2/numpy/distutils/fcompiler/pg.py +0 -60
- numpy-1.9.2/numpy/distutils/fcompiler/sun.py +0 -52
- numpy-1.9.2/numpy/distutils/intelccompiler.py +0 -45
- numpy-1.9.2/numpy/distutils/lib2def.py +0 -116
- numpy-1.9.2/numpy/distutils/mingw32ccompiler.py +0 -582
- numpy-1.9.2/numpy/distutils/misc_util.py +0 -2271
- numpy-1.9.2/numpy/distutils/npy_pkg_config.py +0 -464
- numpy-1.9.2/numpy/distutils/system_info.py +0 -2319
- numpy-1.9.2/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +0 -13
- numpy-1.9.2/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +0 -12
- numpy-1.9.2/numpy/distutils/tests/gen_ext/tests/test_fib3.py +0 -12
- numpy-1.9.2/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +0 -14
- numpy-1.9.2/numpy/distutils/tests/swig_ext/tests/test_example.py +0 -18
- numpy-1.9.2/numpy/distutils/tests/swig_ext/tests/test_example2.py +0 -16
- numpy-1.9.2/numpy/distutils/tests/test_fcompiler_gnu.py +0 -53
- numpy-1.9.2/numpy/distutils/tests/test_fcompiler_intel.py +0 -36
- numpy-1.9.2/numpy/distutils/tests/test_misc_util.py +0 -75
- numpy-1.9.2/numpy/distutils/tests/test_npy_pkg_config.py +0 -98
- numpy-1.9.2/numpy/distutils/unixccompiler.py +0 -113
- numpy-1.9.2/numpy/doc/byteswapping.py +0 -147
- numpy-1.9.2/numpy/doc/creation.py +0 -144
- numpy-1.9.2/numpy/doc/glossary.py +0 -418
- numpy-1.9.2/numpy/doc/indexing.py +0 -437
- numpy-1.9.2/numpy/doc/structured_arrays.py +0 -223
- numpy-1.9.2/numpy/f2py/__init__.py +0 -49
- numpy-1.9.2/numpy/f2py/auxfuncs.py +0 -711
- numpy-1.9.2/numpy/f2py/capi_maps.py +0 -773
- numpy-1.9.2/numpy/f2py/cb_rules.py +0 -539
- numpy-1.9.2/numpy/f2py/cfuncs.py +0 -1224
- numpy-1.9.2/numpy/f2py/common_rules.py +0 -132
- numpy-1.9.2/numpy/f2py/crackfortran.py +0 -2870
- numpy-1.9.2/numpy/f2py/diagnose.py +0 -149
- numpy-1.9.2/numpy/f2py/f2py2e.py +0 -598
- numpy-1.9.2/numpy/f2py/f2py_testing.py +0 -46
- numpy-1.9.2/numpy/f2py/f90mod_rules.py +0 -246
- numpy-1.9.2/numpy/f2py/func2subr.py +0 -291
- numpy-1.9.2/numpy/f2py/rules.py +0 -1448
- numpy-1.9.2/numpy/f2py/setup.py +0 -129
- numpy-1.9.2/numpy/f2py/src/fortranobject.c +0 -972
- numpy-1.9.2/numpy/f2py/src/fortranobject.h +0 -162
- numpy-1.9.2/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +0 -223
- numpy-1.9.2/numpy/f2py/tests/test_array_from_pyobj.py +0 -559
- numpy-1.9.2/numpy/f2py/tests/test_assumed_shape.py +0 -37
- numpy-1.9.2/numpy/f2py/tests/test_callback.py +0 -132
- numpy-1.9.2/numpy/f2py/tests/test_kind.py +0 -36
- numpy-1.9.2/numpy/f2py/tests/test_mixed.py +0 -41
- numpy-1.9.2/numpy/f2py/tests/test_regression.py +0 -32
- numpy-1.9.2/numpy/f2py/tests/test_return_character.py +0 -142
- numpy-1.9.2/numpy/f2py/tests/test_return_complex.py +0 -169
- numpy-1.9.2/numpy/f2py/tests/test_return_integer.py +0 -178
- numpy-1.9.2/numpy/f2py/tests/test_return_logical.py +0 -187
- numpy-1.9.2/numpy/f2py/tests/test_return_real.py +0 -203
- numpy-1.9.2/numpy/f2py/tests/test_size.py +0 -47
- numpy-1.9.2/numpy/f2py/tests/util.py +0 -353
- numpy-1.9.2/numpy/f2py/use_rules.py +0 -109
- numpy-1.9.2/numpy/fft/fftpack.c +0 -1501
- numpy-1.9.2/numpy/fft/fftpack.h +0 -28
- numpy-1.9.2/numpy/fft/fftpack.py +0 -1169
- numpy-1.9.2/numpy/fft/fftpack_litemodule.c +0 -371
- numpy-1.9.2/numpy/fft/info.py +0 -179
- numpy-1.9.2/numpy/fft/setup.py +0 -20
- numpy-1.9.2/numpy/fft/tests/test_fftpack.py +0 -75
- numpy-1.9.2/numpy/fft/tests/test_helper.py +0 -78
- numpy-1.9.2/numpy/lib/_iotools.py +0 -891
- numpy-1.9.2/numpy/lib/arraypad.py +0 -1475
- numpy-1.9.2/numpy/lib/arraysetops.py +0 -464
- numpy-1.9.2/numpy/lib/arrayterator.py +0 -226
- numpy-1.9.2/numpy/lib/financial.py +0 -737
- numpy-1.9.2/numpy/lib/format.py +0 -771
- numpy-1.9.2/numpy/lib/function_base.py +0 -3884
- numpy-1.9.2/numpy/lib/index_tricks.py +0 -869
- numpy-1.9.2/numpy/lib/info.py +0 -151
- numpy-1.9.2/numpy/lib/nanfunctions.py +0 -1158
- numpy-1.9.2/numpy/lib/npyio.py +0 -1918
- numpy-1.9.2/numpy/lib/polynomial.py +0 -1271
- numpy-1.9.2/numpy/lib/recfunctions.py +0 -1003
- numpy-1.9.2/numpy/lib/setup.py +0 -23
- numpy-1.9.2/numpy/lib/shape_base.py +0 -865
- numpy-1.9.2/numpy/lib/src/_compiled_base.c +0 -1761
- numpy-1.9.2/numpy/lib/stride_tricks.py +0 -123
- numpy-1.9.2/numpy/lib/tests/test__iotools.py +0 -326
- numpy-1.9.2/numpy/lib/tests/test__version.py +0 -57
- numpy-1.9.2/numpy/lib/tests/test_arraypad.py +0 -560
- numpy-1.9.2/numpy/lib/tests/test_arraysetops.py +0 -301
- numpy-1.9.2/numpy/lib/tests/test_financial.py +0 -160
- numpy-1.9.2/numpy/lib/tests/test_format.py +0 -716
- numpy-1.9.2/numpy/lib/tests/test_function_base.py +0 -2145
- numpy-1.9.2/numpy/lib/tests/test_index_tricks.py +0 -289
- numpy-1.9.2/numpy/lib/tests/test_io.py +0 -1754
- numpy-1.9.2/numpy/lib/tests/test_nanfunctions.py +0 -774
- numpy-1.9.2/numpy/lib/tests/test_polynomial.py +0 -177
- numpy-1.9.2/numpy/lib/tests/test_recfunctions.py +0 -705
- numpy-1.9.2/numpy/lib/tests/test_shape_base.py +0 -368
- numpy-1.9.2/numpy/lib/tests/test_stride_tricks.py +0 -238
- numpy-1.9.2/numpy/lib/tests/test_twodim_base.py +0 -504
- numpy-1.9.2/numpy/lib/tests/test_type_check.py +0 -328
- numpy-1.9.2/numpy/lib/twodim_base.py +0 -1003
- numpy-1.9.2/numpy/lib/type_check.py +0 -605
- numpy-1.9.2/numpy/lib/utils.py +0 -1176
- numpy-1.9.2/numpy/linalg/lapack_lite/python_xerbla.c +0 -47
- numpy-1.9.2/numpy/linalg/lapack_litemodule.c +0 -362
- numpy-1.9.2/numpy/linalg/linalg.py +0 -2136
- numpy-1.9.2/numpy/linalg/tests/test_build.py +0 -53
- numpy-1.9.2/numpy/linalg/tests/test_linalg.py +0 -1156
- numpy-1.9.2/numpy/linalg/tests/test_regression.py +0 -90
- numpy-1.9.2/numpy/linalg/umath_linalg.c.src +0 -3210
- numpy-1.9.2/numpy/ma/__init__.py +0 -58
- numpy-1.9.2/numpy/ma/bench.py +0 -166
- numpy-1.9.2/numpy/ma/core.py +0 -7374
- numpy-1.9.2/numpy/ma/extras.py +0 -1932
- numpy-1.9.2/numpy/ma/mrecords.py +0 -734
- numpy-1.9.2/numpy/ma/setup.py +0 -20
- numpy-1.9.2/numpy/ma/tests/test_core.py +0 -3706
- numpy-1.9.2/numpy/ma/tests/test_extras.py +0 -954
- numpy-1.9.2/numpy/ma/tests/test_mrecords.py +0 -521
- numpy-1.9.2/numpy/ma/tests/test_old_ma.py +0 -869
- numpy-1.9.2/numpy/ma/tests/test_regression.py +0 -75
- numpy-1.9.2/numpy/ma/tests/test_subclassing.py +0 -236
- numpy-1.9.2/numpy/ma/testutils.py +0 -240
- numpy-1.9.2/numpy/ma/timer_comparison.py +0 -459
- numpy-1.9.2/numpy/matlib.py +0 -358
- numpy-1.9.2/numpy/matrixlib/defmatrix.py +0 -1094
- numpy-1.9.2/numpy/matrixlib/tests/test_defmatrix.py +0 -400
- numpy-1.9.2/numpy/matrixlib/tests/test_multiarray.py +0 -18
- numpy-1.9.2/numpy/matrixlib/tests/test_numeric.py +0 -10
- numpy-1.9.2/numpy/matrixlib/tests/test_regression.py +0 -34
- numpy-1.9.2/numpy/polynomial/_polybase.py +0 -962
- numpy-1.9.2/numpy/polynomial/chebyshev.py +0 -2056
- numpy-1.9.2/numpy/polynomial/hermite.py +0 -1789
- numpy-1.9.2/numpy/polynomial/hermite_e.py +0 -1786
- numpy-1.9.2/numpy/polynomial/laguerre.py +0 -1781
- numpy-1.9.2/numpy/polynomial/legendre.py +0 -1809
- numpy-1.9.2/numpy/polynomial/polytemplate.py +0 -927
- numpy-1.9.2/numpy/polynomial/polyutils.py +0 -403
- numpy-1.9.2/numpy/random/mtrand/distributions.c +0 -892
- numpy-1.9.2/numpy/random/mtrand/mtrand.c +0 -31204
- numpy-1.9.2/numpy/random/mtrand/mtrand.pyx +0 -4706
- numpy-1.9.2/numpy/random/setup.py +0 -74
- numpy-1.9.2/numpy/random/tests/test_random.py +0 -707
- numpy-1.9.2/numpy/random/tests/test_regression.py +0 -86
- numpy-1.9.2/numpy/setup.py +0 -27
- numpy-1.9.2/numpy/testing/__init__.py +0 -16
- numpy-1.9.2/numpy/testing/decorators.py +0 -271
- numpy-1.9.2/numpy/testing/noseclasses.py +0 -353
- numpy-1.9.2/numpy/testing/nosetester.py +0 -504
- numpy-1.9.2/numpy/testing/print_coercion_tables.py +0 -89
- numpy-1.9.2/numpy/testing/setup.py +0 -20
- numpy-1.9.2/numpy/testing/tests/test_decorators.py +0 -185
- numpy-1.9.2/numpy/testing/tests/test_utils.py +0 -558
- numpy-1.9.2/numpy/testing/utils.py +0 -1715
- numpy-1.9.2/numpy/tests/test_ctypeslib.py +0 -102
- numpy-1.9.2/numpy/tests/test_matlib.py +0 -55
- numpy-1.9.2/numpy/version.py +0 -10
- numpy-1.9.2/setup.py +0 -251
- numpy-1.9.2/site.cfg.example +0 -157
- numpy-1.9.2/tools/swig/README +0 -135
- numpy-1.9.2/tools/swig/numpy.i +0 -3085
- numpy-1.9.2/tools/swig/test/Array.i +0 -102
- numpy-1.9.2/tools/swig/test/Makefile +0 -34
- numpy-1.9.2/tools/swig/test/setup.py +0 -64
- numpy-1.9.2/tools/swig/test/testArray.py +0 -284
- numpy-1.9.2/tools/swig/test/testFarray.py +0 -159
- numpy-1.9.2/tools/swig/test/testFortran.py +0 -173
- numpy-1.9.2/tools/swig/test/testMatrix.py +0 -362
- numpy-1.9.2/tools/swig/test/testSuperTensor.py +0 -388
- numpy-1.9.2/tools/swig/test/testTensor.py +0 -402
- numpy-1.9.2/tools/swig/test/testVector.py +0 -381
- {numpy-1.9.2 → numpy-1.10.0.post2}/BENTO_BUILD.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/COMPATIBILITY +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/DEV_README.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/README.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/THANKS.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/Makefile +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/BUGS.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/FAQ.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/HISTORY.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Makefile +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/OLDNEWS.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/README.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Release-1.x.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Release-2.x.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Release-3.x.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Release-4.x.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/TESTING.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/THANKS.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/TODO.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/apps.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/bugs.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/collectinput.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/commands.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/default.css +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/docutils.conf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/arr.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/bar.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/foo.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar-smart.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/foobarmodule.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/runme +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2py.1 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2py2e.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/README.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/aerostructure.jpg +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/flow.jpg +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_html.sh +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_pdf.sh +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_ps.sh +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1mess.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1session.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foo.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foom.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/structure.jpg +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/fortranobject.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/hello.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/index.html +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/intro.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/array_from_pyobj.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/bar.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/foo.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/fortran_array_from_pyobj.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/fun.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/run.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/transpose.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarrays.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/notes.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/oldnews.html +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/options.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/pyforttest.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/pytest.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/python9.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/signaturefile.tex +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/simple.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/simple_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/using_F_compiler.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/win32_notes.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/postprocess.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.3.0-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.4.0-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.5.0-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.6.0-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.6.1-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.6.2-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.7.0-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.7.1-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.7.2-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.8.0-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.8.1-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.8.2-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.9.0-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.9.1-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.9.2-notes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/time_based_proposal.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/.gitignore +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/Makefile +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/README.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_static/scipyshiny_small.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/layout.html +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/searchbox.html +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/sourcelink.html +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/extend.css +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/pygments.css +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/scipy-central.css +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-bootstrap.css +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-extend.css +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/all-icons.svg +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/contents.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/create-new-account-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon-shrunk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.svg +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon-tiniest.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon-tiny.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ad.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ae.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-af.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ag.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ai.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-al.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-am.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ao.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aq.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ar.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-as.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-at.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-au.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-az.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ba.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bb.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bd.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-be.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bf.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bh.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bi.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bj.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bl.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bo.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-br.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bs.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bt.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-by.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ca.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cc.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cd.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cf.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ch.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ci.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ck.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cl.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-co.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cu.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cv.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cx.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cy.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-de.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dj.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-do.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ec.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ee.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-eg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-er.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-es.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-et.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fi.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fj.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fo.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ga.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gb.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gd.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ge.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gf.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gh.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gi.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gl.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gq.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gs.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gt.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gu.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gy.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ht.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hu.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-id.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ie.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-il.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-im.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-in.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-io.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-iq.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ir.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-is.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-it.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-je.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jo.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jp.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ke.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kh.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ki.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-km.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kp.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ky.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-la.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lb.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lc.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-li.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ls.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lt.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lu.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lv.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ly.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ma.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mc.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-md.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-me.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mf.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mh.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ml.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mo.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mp.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mq.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ms.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mt.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mu.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mv.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mx.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-my.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-na.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nc.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ne.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nf.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ng.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ni.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nl.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-no.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-np.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nu.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-om.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pa.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pe.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pf.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ph.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pl.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ps.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pt.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-py.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-qa.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-re.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ro.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rs.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ru.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sa.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sb.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sc.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sd.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-se.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sh.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-si.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sj.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sl.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-so.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-st.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sv.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sy.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tc.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-td.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tf.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-th.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tj.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tl.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-to.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tr.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tt.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tv.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ua.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ug.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-um.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-us.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uy.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uz.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-va.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vc.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ve.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vg.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vi.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vn.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vu.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-wf.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ws.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ye.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-za.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zm.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zw.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings-white.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/important-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/information-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/internet-web-browser.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon-shrunk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.svg +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon-tiny.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/navigation.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon-tiny.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy-logo.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy_org_logo.gif +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipycentral_logo.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipyshiny_small.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/send-email-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon-shrunk.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.svg +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon-tiniest.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon-tiny.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/transparent-pixel.gif +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/ui-anim_basic_16x16.gif +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/js/copybutton.js +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/accordion.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/alerts.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/bootstrap.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/breadcrumbs.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/button-groups.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/buttons.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/carousel.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/close.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/code.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/component-animations.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/dropdowns.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/forms.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/grid.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/hero-unit.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/labels-badges.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/layouts.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/media.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/mixins.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/modals.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navbar.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navs.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pager.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pagination.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/popovers.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/progress-bars.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/reset.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-1200px-min.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-767px-max.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-768px-979px.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-navbar.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-utilities.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/scaffolding.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/sprites.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tables.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/thumbnails.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tooltip.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/type.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/utilities.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/variables.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/wells.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-bootstrap.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-content.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-extend.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-footer.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-header.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-rightsidebar.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-utils.less +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/scipy.css_t +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/theme.conf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/conf.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/index.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_2.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_3.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_4.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_optimize.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/_templates/autosummary/class.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/_templates/indexcontent.html +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/_templates/indexsidebar.html +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/_templates/layout.html +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/about.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/bugs.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/contents.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/configure_git.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/development_setup.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/dot2_dot3.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/following_latest.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/forking_button.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_development.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_intro.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_resources.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/pull_button.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash_links.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/advanced.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/allocarr.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/allocarr_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/array.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/array_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/calculate.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/calculate_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/callback.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/callback2.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/callback_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/common.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/common_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/compile_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/distutils.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/extcallback.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/extcallback_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/fib1.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/fib1.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/fib2.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/fib3.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/ftype.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/ftype_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/getting-started.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/index.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/moddata.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/moddata_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/python-usage.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/run_main_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/scalar.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/scalar_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/setup_example.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/signature-file.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/spam.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/spam_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/string.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/string_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/usage.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/var.pyf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/var_session.dat +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/glossary.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/license.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal3.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/deferred-ufunc-evaluation.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/generalized-ufuncs.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/groupby_additions.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/index.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/math_config_clean.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/missing-data.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/new-iterator-ufunc.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/newbugtracker.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/npy-format.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/structured_array_extensions.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/ufunc-overrides.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/warnfix.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/arrays.datetime.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/arrays.nditer.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/arrays.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/c-api.deprecations.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/c-api.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/distutils.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.dia +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.pdf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.fig +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.pdf +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.png +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/internals.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.baseclass.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.generic.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.array-creation.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.bitwise.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.char.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.ctypeslib.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.datetime.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.dtype.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.dual.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.emath.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.err.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.fft.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.financial.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.functional.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.help.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.indexing.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.logic.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.math.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.matlib.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.numarray.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.oldnumeric.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.other.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.padding.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.chebyshev.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.classes.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite_e.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.laguerre.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.legendre.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.package.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.poly1d.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.polynomial.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.random.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.set.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.testing.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.window.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/swig.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.broadcasting.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.byteswapping.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.creation.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.indexing.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.io.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.subclassing.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.types.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/c-info.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/howtofind.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/index.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/introduction.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/misc.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/performance.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/whatisnumpy.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/.gitignore +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/.travis.yml +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/LICENSE.txt +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/MANIFEST.in +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/README.rst +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/comment_eater.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/compiler_unparse.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape_sphinx.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/linkcode.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/numpydoc.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/phantom_import.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/plot_directive.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_docscrape.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_linkcode.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_phantom_import.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_plot_directive.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_traitsdoc.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/traitsdoc.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/setup.py +0 -0
- {numpy-1.9.2/numpy/core/code_generators → numpy-1.10.0.post2/numpy/_build_utils}/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/compat/__init__.py +0 -0
- {numpy-1.9.2/numpy/distutils/tests/f2py_ext → numpy-1.10.0.post2/numpy/core/code_generators}/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/code_generators/genapi.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/code_generators/generate_numpy_api.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/cversions.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/_neighborhood_iterator_imp.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/_numpyconfig.h.in +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayobject.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayscalars.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/halffloat.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/noprefix.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_1_7_deprecated_api.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_interrupt.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_no_deprecated_api.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_os.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/old_defines.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/oldnumeric.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/ufuncobject.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/utils.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/info.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/mlib.ini.in +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/npymath.ini.in +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/dummymodule.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/_datetime.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/alloc.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_array.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_scalar.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/arrayobject.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/buffer.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/calculation.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/conversion_utils.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert_datatype.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ctors.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busday.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busdaycal.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_strings.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/descriptor.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/flagsobject.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/getset.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/hashdescr.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/item_selection.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/iterators.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/methods.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_impl.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_pywrap.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_templ.c.src +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpymemoryview.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpyos.h +0 -0
- {numpy-1.9.2/numpy/core/blasdot → numpy-1.10.0.post2/numpy/core/src/multiarray}/python_xerbla.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/shape.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ucsnarrow.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/npymath/_signbit.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/npymath/halffloat.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/npymath/npy_math_common.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/npysort/binsearch.c.src +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/private/lowlevel_strided_loops.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/private/npy_binsearch.h.src +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/private/npy_fpmath.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/private/npy_pycompat.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/struct_ufunc_test.c.src +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_object.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_type_resolution.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/tests/data/astype_copy.pkl +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/tests/data/recarray_from_file.fits +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/tests/test_scalarprint.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/ctypeslib.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/__version__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/bdist_rpm.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/build_py.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/build_scripts.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/build_src.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/config_compiler.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/develop.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/egg_info.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/install.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/install_clib.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/install_data.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/install_headers.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/sdist.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/compat.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/conv_template.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/core.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/cpuinfo.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/environment.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/extension.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/absoft.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/g95.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/hpux.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/ibm.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/lahey.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/mips.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/nag.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/none.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/pathf95.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/vast.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/from_template.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/info.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/line_endings.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/log.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/mingw/gfortran_vs2003_hack.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/numpy_distribution.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/pathccompiler.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/setup.py +0 -0
- {numpy-1.9.2/numpy/distutils/tests/f2py_f90_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext}/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/setup.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib1.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib2.pyf +0 -0
- {numpy-1.9.2/numpy/distutils/tests/gen_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext}/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/include/body.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/setup.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/src/foo_free.f90 +0 -0
- {numpy-1.9.2/numpy/distutils/tests/pyrex_ext → numpy-1.10.0.post2/numpy/distutils/tests/gen_ext}/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/gen_ext/setup.py +0 -0
- {numpy-1.9.2/numpy/distutils/tests/swig_ext → numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext}/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/primes.pyx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/setup.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/setup.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/setup.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.i +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.cc +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.i +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/test_exec_command.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/basics.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/broadcasting.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/constants.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/howtofind.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/internals.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/io.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/jargon.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/methods_vs_functions.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/misc.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/performance.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/subclassing.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/ufuncs.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/dual.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/__version__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/info.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_free.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_mod.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_use.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/precision.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/kind/foo.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo.f +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_fixed.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_free.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/regression/inout.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/size/foo.f90 +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/fft/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/fft/helper.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/_datasource.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/_version.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/scimath.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/data/python3.npy +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/data/win64python2.npy +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test__datasource.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test_arrayterator.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test_regression.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test_ufunclike.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test_utils.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/ufunclike.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/user_array.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/info.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/blas_lite.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlamch.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlapack_lite.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c_lite.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/zlapack_lite.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/setup.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/tests/test_deprecations.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/ma/version.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/matrixlib/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/matrixlib/setup.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/polynomial.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/setup.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_chebyshev.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_classes.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite_e.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_laguerre.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_legendre.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polynomial.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polyutils.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_printing.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/__init__.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/info.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/Python.pxi +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/distributions.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/generate_mtrand_c.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/mtrand_py_helper.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/numpy.pxd +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.c +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/testing/tests/test_doctesting.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/setupegg.py +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/Makefile +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/pyfragments.swg +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Array1.cxx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Array1.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Array2.cxx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Array2.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Farray.cxx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Farray.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Farray.i +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Fortran.cxx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Fortran.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Fortran.i +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Matrix.cxx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Matrix.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Matrix.i +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.cxx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.i +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Tensor.cxx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Tensor.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Tensor.i +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Vector.cxx +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Vector.h +0 -0
- {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Vector.i +0 -0
|
@@ -0,0 +1,2514 @@
|
|
|
1
|
+
#define PY_SSIZE_T_CLEAN
|
|
2
|
+
#include <stdarg.h>
|
|
3
|
+
#include <Python.h>
|
|
4
|
+
#include "structmember.h"
|
|
5
|
+
|
|
6
|
+
#define NPY_NO_DEPRECATED_API NPY_API_VERSION
|
|
7
|
+
#define _MULTIARRAYMODULE
|
|
8
|
+
#include "numpy/arrayobject.h"
|
|
9
|
+
#include "numpy/arrayscalars.h"
|
|
10
|
+
|
|
11
|
+
#include "npy_config.h"
|
|
12
|
+
#include "npy_pycompat.h"
|
|
13
|
+
#include "npy_import.h"
|
|
14
|
+
#include "ufunc_override.h"
|
|
15
|
+
#include "common.h"
|
|
16
|
+
#include "ctors.h"
|
|
17
|
+
#include "calculation.h"
|
|
18
|
+
#include "convert_datatype.h"
|
|
19
|
+
#include "item_selection.h"
|
|
20
|
+
#include "conversion_utils.h"
|
|
21
|
+
#include "shape.h"
|
|
22
|
+
|
|
23
|
+
#include "methods.h"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* NpyArg_ParseKeywords
|
|
27
|
+
*
|
|
28
|
+
* Utility function that provides the keyword parsing functionality of
|
|
29
|
+
* PyArg_ParseTupleAndKeywords without having to have an args argument.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
static int
|
|
33
|
+
NpyArg_ParseKeywords(PyObject *keys, const char *format, char **kwlist, ...)
|
|
34
|
+
{
|
|
35
|
+
PyObject *args = PyTuple_New(0);
|
|
36
|
+
int ret;
|
|
37
|
+
va_list va;
|
|
38
|
+
|
|
39
|
+
if (args == NULL) {
|
|
40
|
+
PyErr_SetString(PyExc_RuntimeError,
|
|
41
|
+
"Failed to allocate new tuple");
|
|
42
|
+
return 0;
|
|
43
|
+
}
|
|
44
|
+
va_start(va, kwlist);
|
|
45
|
+
ret = PyArg_VaParseTupleAndKeywords(args, keys, format, kwlist, va);
|
|
46
|
+
va_end(va);
|
|
47
|
+
Py_DECREF(args);
|
|
48
|
+
return ret;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
static PyObject *
|
|
52
|
+
get_forwarding_ndarray_method(const char *name)
|
|
53
|
+
{
|
|
54
|
+
PyObject *module_methods, *callable;
|
|
55
|
+
|
|
56
|
+
/* Get a reference to the function we're calling */
|
|
57
|
+
module_methods = PyImport_ImportModule("numpy.core._methods");
|
|
58
|
+
if (module_methods == NULL) {
|
|
59
|
+
return NULL;
|
|
60
|
+
}
|
|
61
|
+
callable = PyDict_GetItemString(PyModule_GetDict(module_methods), name);
|
|
62
|
+
if (callable == NULL) {
|
|
63
|
+
Py_DECREF(module_methods);
|
|
64
|
+
PyErr_Format(PyExc_RuntimeError,
|
|
65
|
+
"NumPy internal error: could not find function "
|
|
66
|
+
"numpy.core._methods.%s", name);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
Py_INCREF(callable);
|
|
70
|
+
}
|
|
71
|
+
Py_DECREF(module_methods);
|
|
72
|
+
return callable;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/*
|
|
76
|
+
* Forwards an ndarray method to a the Python function
|
|
77
|
+
* numpy.core._methods.<name>(...)
|
|
78
|
+
*/
|
|
79
|
+
static PyObject *
|
|
80
|
+
forward_ndarray_method(PyArrayObject *self, PyObject *args, PyObject *kwds,
|
|
81
|
+
PyObject *forwarding_callable)
|
|
82
|
+
{
|
|
83
|
+
PyObject *sargs, *ret;
|
|
84
|
+
int i, n;
|
|
85
|
+
|
|
86
|
+
/* Combine 'self' and 'args' together into one tuple */
|
|
87
|
+
n = PyTuple_GET_SIZE(args);
|
|
88
|
+
sargs = PyTuple_New(n + 1);
|
|
89
|
+
if (sargs == NULL) {
|
|
90
|
+
return NULL;
|
|
91
|
+
}
|
|
92
|
+
Py_INCREF(self);
|
|
93
|
+
PyTuple_SET_ITEM(sargs, 0, (PyObject *)self);
|
|
94
|
+
for (i = 0; i < n; ++i) {
|
|
95
|
+
PyObject *item = PyTuple_GET_ITEM(args, i);
|
|
96
|
+
Py_INCREF(item);
|
|
97
|
+
PyTuple_SET_ITEM(sargs, i+1, item);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Call the function and return */
|
|
101
|
+
ret = PyObject_Call(forwarding_callable, sargs, kwds);
|
|
102
|
+
Py_DECREF(sargs);
|
|
103
|
+
return ret;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/*
|
|
107
|
+
* Forwards an ndarray method to the function numpy.core._methods.<name>(...),
|
|
108
|
+
* caching the callable in a local static variable. Note that the
|
|
109
|
+
* initialization is not thread-safe, but relies on the CPython GIL to
|
|
110
|
+
* be correct.
|
|
111
|
+
*/
|
|
112
|
+
#define NPY_FORWARD_NDARRAY_METHOD(name) \
|
|
113
|
+
static PyObject *callable = NULL; \
|
|
114
|
+
if (callable == NULL) { \
|
|
115
|
+
callable = get_forwarding_ndarray_method(name); \
|
|
116
|
+
if (callable == NULL) { \
|
|
117
|
+
return NULL; \
|
|
118
|
+
} \
|
|
119
|
+
} \
|
|
120
|
+
return forward_ndarray_method(self, args, kwds, callable)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
static PyObject *
|
|
124
|
+
array_take(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
125
|
+
{
|
|
126
|
+
int dimension = NPY_MAXDIMS;
|
|
127
|
+
PyObject *indices;
|
|
128
|
+
PyArrayObject *out = NULL;
|
|
129
|
+
NPY_CLIPMODE mode = NPY_RAISE;
|
|
130
|
+
static char *kwlist[] = {"indices", "axis", "out", "mode", NULL};
|
|
131
|
+
|
|
132
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O&O&", kwlist,
|
|
133
|
+
&indices,
|
|
134
|
+
PyArray_AxisConverter, &dimension,
|
|
135
|
+
PyArray_OutputConverter, &out,
|
|
136
|
+
PyArray_ClipmodeConverter, &mode))
|
|
137
|
+
return NULL;
|
|
138
|
+
|
|
139
|
+
return PyArray_Return((PyArrayObject *)
|
|
140
|
+
PyArray_TakeFrom(self, indices, dimension, out, mode));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
static PyObject *
|
|
144
|
+
array_fill(PyArrayObject *self, PyObject *args)
|
|
145
|
+
{
|
|
146
|
+
PyObject *obj;
|
|
147
|
+
if (!PyArg_ParseTuple(args, "O", &obj)) {
|
|
148
|
+
return NULL;
|
|
149
|
+
}
|
|
150
|
+
if (PyArray_FillWithScalar(self, obj) < 0) {
|
|
151
|
+
return NULL;
|
|
152
|
+
}
|
|
153
|
+
Py_RETURN_NONE;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
static PyObject *
|
|
157
|
+
array_put(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
158
|
+
{
|
|
159
|
+
PyObject *indices, *values;
|
|
160
|
+
NPY_CLIPMODE mode = NPY_RAISE;
|
|
161
|
+
static char *kwlist[] = {"indices", "values", "mode", NULL};
|
|
162
|
+
|
|
163
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO|O&", kwlist,
|
|
164
|
+
&indices,
|
|
165
|
+
&values,
|
|
166
|
+
PyArray_ClipmodeConverter, &mode))
|
|
167
|
+
return NULL;
|
|
168
|
+
return PyArray_PutTo(self, values, indices, mode);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
static PyObject *
|
|
172
|
+
array_reshape(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
173
|
+
{
|
|
174
|
+
static char *keywords[] = {"order", NULL};
|
|
175
|
+
PyArray_Dims newshape;
|
|
176
|
+
PyObject *ret;
|
|
177
|
+
NPY_ORDER order = NPY_CORDER;
|
|
178
|
+
Py_ssize_t n = PyTuple_Size(args);
|
|
179
|
+
|
|
180
|
+
if (!NpyArg_ParseKeywords(kwds, "|O&", keywords,
|
|
181
|
+
PyArray_OrderConverter, &order)) {
|
|
182
|
+
return NULL;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (n <= 1) {
|
|
186
|
+
if (PyTuple_GET_ITEM(args, 0) == Py_None) {
|
|
187
|
+
return PyArray_View(self, NULL, NULL);
|
|
188
|
+
}
|
|
189
|
+
if (!PyArg_ParseTuple(args, "O&", PyArray_IntpConverter,
|
|
190
|
+
&newshape)) {
|
|
191
|
+
return NULL;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
if (!PyArray_IntpConverter(args, &newshape)) {
|
|
196
|
+
if (!PyErr_Occurred()) {
|
|
197
|
+
PyErr_SetString(PyExc_TypeError,
|
|
198
|
+
"invalid shape");
|
|
199
|
+
}
|
|
200
|
+
goto fail;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
ret = PyArray_Newshape(self, &newshape, order);
|
|
204
|
+
PyDimMem_FREE(newshape.ptr);
|
|
205
|
+
return ret;
|
|
206
|
+
|
|
207
|
+
fail:
|
|
208
|
+
PyDimMem_FREE(newshape.ptr);
|
|
209
|
+
return NULL;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
static PyObject *
|
|
213
|
+
array_squeeze(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
214
|
+
{
|
|
215
|
+
PyObject *axis_in = NULL;
|
|
216
|
+
npy_bool axis_flags[NPY_MAXDIMS];
|
|
217
|
+
|
|
218
|
+
static char *kwlist[] = {"axis", NULL};
|
|
219
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O", kwlist,
|
|
220
|
+
&axis_in)) {
|
|
221
|
+
return NULL;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
if (axis_in == NULL || axis_in == Py_None) {
|
|
225
|
+
return PyArray_Squeeze(self);
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
if (PyArray_ConvertMultiAxis(axis_in, PyArray_NDIM(self),
|
|
229
|
+
axis_flags) != NPY_SUCCEED) {
|
|
230
|
+
return NULL;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
return PyArray_SqueezeSelected(self, axis_flags);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
static PyObject *
|
|
238
|
+
array_view(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
239
|
+
{
|
|
240
|
+
PyObject *out_dtype = NULL;
|
|
241
|
+
PyObject *out_type = NULL;
|
|
242
|
+
PyArray_Descr *dtype = NULL;
|
|
243
|
+
|
|
244
|
+
static char *kwlist[] = {"dtype", "type", NULL};
|
|
245
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OO", kwlist,
|
|
246
|
+
&out_dtype,
|
|
247
|
+
&out_type)) {
|
|
248
|
+
return NULL;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/* If user specified a positional argument, guess whether it
|
|
252
|
+
represents a type or a dtype for backward compatibility. */
|
|
253
|
+
if (out_dtype) {
|
|
254
|
+
/* type specified? */
|
|
255
|
+
if (PyType_Check(out_dtype) &&
|
|
256
|
+
PyType_IsSubtype((PyTypeObject *)out_dtype,
|
|
257
|
+
&PyArray_Type)) {
|
|
258
|
+
if (out_type) {
|
|
259
|
+
PyErr_SetString(PyExc_ValueError,
|
|
260
|
+
"Cannot specify output type twice.");
|
|
261
|
+
return NULL;
|
|
262
|
+
}
|
|
263
|
+
out_type = out_dtype;
|
|
264
|
+
out_dtype = NULL;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
if ((out_type) && (!PyType_Check(out_type) ||
|
|
269
|
+
!PyType_IsSubtype((PyTypeObject *)out_type,
|
|
270
|
+
&PyArray_Type))) {
|
|
271
|
+
PyErr_SetString(PyExc_ValueError,
|
|
272
|
+
"Type must be a sub-type of ndarray type");
|
|
273
|
+
return NULL;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
if ((out_dtype) &&
|
|
277
|
+
(PyArray_DescrConverter(out_dtype, &dtype) == NPY_FAIL)) {
|
|
278
|
+
return NULL;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
return PyArray_View(self, dtype, (PyTypeObject*)out_type);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
static PyObject *
|
|
285
|
+
array_argmax(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
286
|
+
{
|
|
287
|
+
int axis = NPY_MAXDIMS;
|
|
288
|
+
PyArrayObject *out = NULL;
|
|
289
|
+
static char *kwlist[] = {"axis", "out", NULL};
|
|
290
|
+
|
|
291
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&", kwlist,
|
|
292
|
+
PyArray_AxisConverter, &axis,
|
|
293
|
+
PyArray_OutputConverter, &out))
|
|
294
|
+
return NULL;
|
|
295
|
+
|
|
296
|
+
return PyArray_Return((PyArrayObject *)PyArray_ArgMax(self, axis, out));
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
static PyObject *
|
|
300
|
+
array_argmin(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
301
|
+
{
|
|
302
|
+
int axis = NPY_MAXDIMS;
|
|
303
|
+
PyArrayObject *out = NULL;
|
|
304
|
+
static char *kwlist[] = {"axis", "out", NULL};
|
|
305
|
+
|
|
306
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&", kwlist,
|
|
307
|
+
PyArray_AxisConverter, &axis,
|
|
308
|
+
PyArray_OutputConverter, &out))
|
|
309
|
+
return NULL;
|
|
310
|
+
|
|
311
|
+
return PyArray_Return((PyArrayObject *)PyArray_ArgMin(self, axis, out));
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
static PyObject *
|
|
315
|
+
array_max(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
316
|
+
{
|
|
317
|
+
NPY_FORWARD_NDARRAY_METHOD("_amax");
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
static PyObject *
|
|
321
|
+
array_min(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
322
|
+
{
|
|
323
|
+
NPY_FORWARD_NDARRAY_METHOD("_amin");
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
static PyObject *
|
|
327
|
+
array_ptp(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
328
|
+
{
|
|
329
|
+
int axis = NPY_MAXDIMS;
|
|
330
|
+
PyArrayObject *out = NULL;
|
|
331
|
+
static char *kwlist[] = {"axis", "out", NULL};
|
|
332
|
+
|
|
333
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&", kwlist,
|
|
334
|
+
PyArray_AxisConverter, &axis,
|
|
335
|
+
PyArray_OutputConverter, &out))
|
|
336
|
+
return NULL;
|
|
337
|
+
|
|
338
|
+
return PyArray_Ptp(self, axis, out);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
static PyObject *
|
|
343
|
+
array_swapaxes(PyArrayObject *self, PyObject *args)
|
|
344
|
+
{
|
|
345
|
+
int axis1, axis2;
|
|
346
|
+
|
|
347
|
+
if (!PyArg_ParseTuple(args, "ii", &axis1, &axis2)) {
|
|
348
|
+
return NULL;
|
|
349
|
+
}
|
|
350
|
+
return PyArray_SwapAxes(self, axis1, axis2);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
/*NUMPY_API
|
|
355
|
+
Get a subset of bytes from each element of the array
|
|
356
|
+
steals reference to typed, must not be NULL
|
|
357
|
+
*/
|
|
358
|
+
NPY_NO_EXPORT PyObject *
|
|
359
|
+
PyArray_GetField(PyArrayObject *self, PyArray_Descr *typed, int offset)
|
|
360
|
+
{
|
|
361
|
+
PyObject *ret = NULL;
|
|
362
|
+
PyObject *safe;
|
|
363
|
+
static PyObject *checkfunc = NULL;
|
|
364
|
+
|
|
365
|
+
npy_cache_import("numpy.core._internal", "_getfield_is_safe", &checkfunc);
|
|
366
|
+
if (checkfunc == NULL) {
|
|
367
|
+
return NULL;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/* check that we are not reinterpreting memory containing Objects */
|
|
371
|
+
/* only returns True or raises */
|
|
372
|
+
safe = PyObject_CallFunction(checkfunc, "OOi", PyArray_DESCR(self),
|
|
373
|
+
typed, offset);
|
|
374
|
+
if (safe == NULL) {
|
|
375
|
+
return NULL;
|
|
376
|
+
}
|
|
377
|
+
Py_DECREF(safe);
|
|
378
|
+
|
|
379
|
+
ret = PyArray_NewFromDescr(Py_TYPE(self),
|
|
380
|
+
typed,
|
|
381
|
+
PyArray_NDIM(self), PyArray_DIMS(self),
|
|
382
|
+
PyArray_STRIDES(self),
|
|
383
|
+
PyArray_BYTES(self) + offset,
|
|
384
|
+
PyArray_FLAGS(self)&(~NPY_ARRAY_F_CONTIGUOUS),
|
|
385
|
+
(PyObject *)self);
|
|
386
|
+
if (ret == NULL) {
|
|
387
|
+
return NULL;
|
|
388
|
+
}
|
|
389
|
+
Py_INCREF(self);
|
|
390
|
+
if (PyArray_SetBaseObject(((PyArrayObject *)ret), (PyObject *)self) < 0) {
|
|
391
|
+
Py_DECREF(ret);
|
|
392
|
+
return NULL;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
PyArray_UpdateFlags((PyArrayObject *)ret, NPY_ARRAY_UPDATE_ALL);
|
|
396
|
+
return ret;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
static PyObject *
|
|
400
|
+
array_getfield(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
401
|
+
{
|
|
402
|
+
|
|
403
|
+
PyArray_Descr *dtype = NULL;
|
|
404
|
+
int offset = 0;
|
|
405
|
+
static char *kwlist[] = {"dtype", "offset", 0};
|
|
406
|
+
|
|
407
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&|i", kwlist,
|
|
408
|
+
PyArray_DescrConverter, &dtype,
|
|
409
|
+
&offset)) {
|
|
410
|
+
Py_XDECREF(dtype);
|
|
411
|
+
return NULL;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
return PyArray_GetField(self, dtype, offset);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
/*NUMPY_API
|
|
419
|
+
Set a subset of bytes from each element of the array
|
|
420
|
+
steals reference to dtype, must not be NULL
|
|
421
|
+
*/
|
|
422
|
+
NPY_NO_EXPORT int
|
|
423
|
+
PyArray_SetField(PyArrayObject *self, PyArray_Descr *dtype,
|
|
424
|
+
int offset, PyObject *val)
|
|
425
|
+
{
|
|
426
|
+
PyObject *ret = NULL;
|
|
427
|
+
int retval = 0;
|
|
428
|
+
|
|
429
|
+
/* getfield returns a view we can write to */
|
|
430
|
+
ret = PyArray_GetField(self, dtype, offset);
|
|
431
|
+
if (ret == NULL) {
|
|
432
|
+
return -1;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
retval = PyArray_CopyObject((PyArrayObject *)ret, val);
|
|
436
|
+
Py_DECREF(ret);
|
|
437
|
+
return retval;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
static PyObject *
|
|
441
|
+
array_setfield(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
442
|
+
{
|
|
443
|
+
PyArray_Descr *dtype = NULL;
|
|
444
|
+
int offset = 0;
|
|
445
|
+
PyObject *value;
|
|
446
|
+
static char *kwlist[] = {"value", "dtype", "offset", 0};
|
|
447
|
+
|
|
448
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO&|i", kwlist,
|
|
449
|
+
&value,
|
|
450
|
+
PyArray_DescrConverter, &dtype,
|
|
451
|
+
&offset)) {
|
|
452
|
+
Py_XDECREF(dtype);
|
|
453
|
+
return NULL;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
if (PyArray_SetField(self, dtype, offset, value) < 0) {
|
|
457
|
+
return NULL;
|
|
458
|
+
}
|
|
459
|
+
Py_RETURN_NONE;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/* This doesn't change the descriptor just the actual data...
|
|
463
|
+
*/
|
|
464
|
+
|
|
465
|
+
/*NUMPY_API*/
|
|
466
|
+
NPY_NO_EXPORT PyObject *
|
|
467
|
+
PyArray_Byteswap(PyArrayObject *self, npy_bool inplace)
|
|
468
|
+
{
|
|
469
|
+
PyArrayObject *ret;
|
|
470
|
+
npy_intp size;
|
|
471
|
+
PyArray_CopySwapNFunc *copyswapn;
|
|
472
|
+
PyArrayIterObject *it;
|
|
473
|
+
|
|
474
|
+
copyswapn = PyArray_DESCR(self)->f->copyswapn;
|
|
475
|
+
if (inplace) {
|
|
476
|
+
if (PyArray_FailUnlessWriteable(self, "array to be byte-swapped") < 0) {
|
|
477
|
+
return NULL;
|
|
478
|
+
}
|
|
479
|
+
size = PyArray_SIZE(self);
|
|
480
|
+
if (PyArray_ISONESEGMENT(self)) {
|
|
481
|
+
copyswapn(PyArray_DATA(self), PyArray_DESCR(self)->elsize, NULL, -1, size, 1, self);
|
|
482
|
+
}
|
|
483
|
+
else { /* Use iterator */
|
|
484
|
+
int axis = -1;
|
|
485
|
+
npy_intp stride;
|
|
486
|
+
it = (PyArrayIterObject *) \
|
|
487
|
+
PyArray_IterAllButAxis((PyObject *)self, &axis);
|
|
488
|
+
stride = PyArray_STRIDES(self)[axis];
|
|
489
|
+
size = PyArray_DIMS(self)[axis];
|
|
490
|
+
while (it->index < it->size) {
|
|
491
|
+
copyswapn(it->dataptr, stride, NULL, -1, size, 1, self);
|
|
492
|
+
PyArray_ITER_NEXT(it);
|
|
493
|
+
}
|
|
494
|
+
Py_DECREF(it);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
Py_INCREF(self);
|
|
498
|
+
return (PyObject *)self;
|
|
499
|
+
}
|
|
500
|
+
else {
|
|
501
|
+
PyObject *new;
|
|
502
|
+
if ((ret = (PyArrayObject *)PyArray_NewCopy(self,-1)) == NULL) {
|
|
503
|
+
return NULL;
|
|
504
|
+
}
|
|
505
|
+
new = PyArray_Byteswap(ret, NPY_TRUE);
|
|
506
|
+
Py_DECREF(new);
|
|
507
|
+
return (PyObject *)ret;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
static PyObject *
|
|
513
|
+
array_byteswap(PyArrayObject *self, PyObject *args)
|
|
514
|
+
{
|
|
515
|
+
npy_bool inplace = NPY_FALSE;
|
|
516
|
+
|
|
517
|
+
if (!PyArg_ParseTuple(args, "|O&",
|
|
518
|
+
PyArray_BoolConverter, &inplace)) {
|
|
519
|
+
return NULL;
|
|
520
|
+
}
|
|
521
|
+
return PyArray_Byteswap(self, inplace);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
static PyObject *
|
|
525
|
+
array_tolist(PyArrayObject *self, PyObject *args)
|
|
526
|
+
{
|
|
527
|
+
if (!PyArg_ParseTuple(args, "")) {
|
|
528
|
+
return NULL;
|
|
529
|
+
}
|
|
530
|
+
return PyArray_ToList(self);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
static PyObject *
|
|
535
|
+
array_tobytes(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
536
|
+
{
|
|
537
|
+
NPY_ORDER order = NPY_CORDER;
|
|
538
|
+
static char *kwlist[] = {"order", NULL};
|
|
539
|
+
|
|
540
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&", kwlist,
|
|
541
|
+
PyArray_OrderConverter, &order)) {
|
|
542
|
+
return NULL;
|
|
543
|
+
}
|
|
544
|
+
return PyArray_ToString(self, order);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
/* This should grow an order= keyword to be consistent
|
|
549
|
+
*/
|
|
550
|
+
|
|
551
|
+
static PyObject *
|
|
552
|
+
array_tofile(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
553
|
+
{
|
|
554
|
+
int own;
|
|
555
|
+
PyObject *file;
|
|
556
|
+
FILE *fd;
|
|
557
|
+
char *sep = "";
|
|
558
|
+
char *format = "";
|
|
559
|
+
npy_off_t orig_pos;
|
|
560
|
+
static char *kwlist[] = {"file", "sep", "format", NULL};
|
|
561
|
+
|
|
562
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|ss", kwlist,
|
|
563
|
+
&file,
|
|
564
|
+
&sep,
|
|
565
|
+
&format)) {
|
|
566
|
+
return NULL;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
if (PyBytes_Check(file) || PyUnicode_Check(file)) {
|
|
570
|
+
file = npy_PyFile_OpenFile(file, "wb");
|
|
571
|
+
if (file == NULL) {
|
|
572
|
+
return NULL;
|
|
573
|
+
}
|
|
574
|
+
own = 1;
|
|
575
|
+
}
|
|
576
|
+
else {
|
|
577
|
+
Py_INCREF(file);
|
|
578
|
+
own = 0;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
fd = npy_PyFile_Dup2(file, "wb", &orig_pos);
|
|
582
|
+
if (fd == NULL) {
|
|
583
|
+
PyErr_SetString(PyExc_IOError,
|
|
584
|
+
"first argument must be a string or open file");
|
|
585
|
+
goto fail;
|
|
586
|
+
}
|
|
587
|
+
if (PyArray_ToFile(self, fd, sep, format) < 0) {
|
|
588
|
+
goto fail;
|
|
589
|
+
}
|
|
590
|
+
if (npy_PyFile_DupClose2(file, fd, orig_pos) < 0) {
|
|
591
|
+
goto fail;
|
|
592
|
+
}
|
|
593
|
+
if (own && npy_PyFile_CloseFile(file) < 0) {
|
|
594
|
+
goto fail;
|
|
595
|
+
}
|
|
596
|
+
Py_DECREF(file);
|
|
597
|
+
Py_RETURN_NONE;
|
|
598
|
+
|
|
599
|
+
fail:
|
|
600
|
+
Py_DECREF(file);
|
|
601
|
+
return NULL;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
static PyObject *
|
|
605
|
+
array_toscalar(PyArrayObject *self, PyObject *args)
|
|
606
|
+
{
|
|
607
|
+
npy_intp multi_index[NPY_MAXDIMS];
|
|
608
|
+
int n = PyTuple_GET_SIZE(args);
|
|
609
|
+
int idim, ndim = PyArray_NDIM(self);
|
|
610
|
+
|
|
611
|
+
/* If there is a tuple as a single argument, treat it as the argument */
|
|
612
|
+
if (n == 1 && PyTuple_Check(PyTuple_GET_ITEM(args, 0))) {
|
|
613
|
+
args = PyTuple_GET_ITEM(args, 0);
|
|
614
|
+
n = PyTuple_GET_SIZE(args);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
if (n == 0) {
|
|
618
|
+
if (PyArray_SIZE(self) == 1) {
|
|
619
|
+
for (idim = 0; idim < ndim; ++idim) {
|
|
620
|
+
multi_index[idim] = 0;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
else {
|
|
624
|
+
PyErr_SetString(PyExc_ValueError,
|
|
625
|
+
"can only convert an array of size 1 to a Python scalar");
|
|
626
|
+
return NULL;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
/* Special case of C-order flat indexing... :| */
|
|
630
|
+
else if (n == 1 && ndim != 1) {
|
|
631
|
+
npy_intp *shape = PyArray_SHAPE(self);
|
|
632
|
+
npy_intp value, size = PyArray_SIZE(self);
|
|
633
|
+
|
|
634
|
+
value = PyArray_PyIntAsIntp(PyTuple_GET_ITEM(args, 0));
|
|
635
|
+
if (value == -1 && PyErr_Occurred()) {
|
|
636
|
+
return NULL;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
if (check_and_adjust_index(&value, size, -1, NULL) < 0) {
|
|
640
|
+
return NULL;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
/* Convert the flat index into a multi-index */
|
|
644
|
+
for (idim = ndim-1; idim >= 0; --idim) {
|
|
645
|
+
multi_index[idim] = value % shape[idim];
|
|
646
|
+
value /= shape[idim];
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
/* A multi-index tuple */
|
|
650
|
+
else if (n == ndim) {
|
|
651
|
+
npy_intp value;
|
|
652
|
+
|
|
653
|
+
for (idim = 0; idim < ndim; ++idim) {
|
|
654
|
+
value = PyArray_PyIntAsIntp(PyTuple_GET_ITEM(args, idim));
|
|
655
|
+
if (value == -1 && PyErr_Occurred()) {
|
|
656
|
+
return NULL;
|
|
657
|
+
}
|
|
658
|
+
multi_index[idim] = value;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
else {
|
|
662
|
+
PyErr_SetString(PyExc_ValueError,
|
|
663
|
+
"incorrect number of indices for array");
|
|
664
|
+
return NULL;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
return PyArray_MultiIndexGetItem(self, multi_index);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
static PyObject *
|
|
671
|
+
array_setscalar(PyArrayObject *self, PyObject *args)
|
|
672
|
+
{
|
|
673
|
+
npy_intp multi_index[NPY_MAXDIMS];
|
|
674
|
+
int n = PyTuple_GET_SIZE(args) - 1;
|
|
675
|
+
int idim, ndim = PyArray_NDIM(self);
|
|
676
|
+
PyObject *obj;
|
|
677
|
+
|
|
678
|
+
if (n < 0) {
|
|
679
|
+
PyErr_SetString(PyExc_ValueError,
|
|
680
|
+
"itemset must have at least one argument");
|
|
681
|
+
return NULL;
|
|
682
|
+
}
|
|
683
|
+
if (PyArray_FailUnlessWriteable(self, "assignment destination") < 0) {
|
|
684
|
+
return NULL;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
obj = PyTuple_GET_ITEM(args, n);
|
|
688
|
+
|
|
689
|
+
/* If there is a tuple as a single argument, treat it as the argument */
|
|
690
|
+
if (n == 1 && PyTuple_Check(PyTuple_GET_ITEM(args, 0))) {
|
|
691
|
+
args = PyTuple_GET_ITEM(args, 0);
|
|
692
|
+
n = PyTuple_GET_SIZE(args);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
if (n == 0) {
|
|
696
|
+
if (PyArray_SIZE(self) == 1) {
|
|
697
|
+
for (idim = 0; idim < ndim; ++idim) {
|
|
698
|
+
multi_index[idim] = 0;
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
else {
|
|
702
|
+
PyErr_SetString(PyExc_ValueError,
|
|
703
|
+
"can only convert an array of size 1 to a Python scalar");
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
/* Special case of C-order flat indexing... :| */
|
|
707
|
+
else if (n == 1 && ndim != 1) {
|
|
708
|
+
npy_intp *shape = PyArray_SHAPE(self);
|
|
709
|
+
npy_intp value, size = PyArray_SIZE(self);
|
|
710
|
+
|
|
711
|
+
value = PyArray_PyIntAsIntp(PyTuple_GET_ITEM(args, 0));
|
|
712
|
+
if (value == -1 && PyErr_Occurred()) {
|
|
713
|
+
return NULL;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
if (check_and_adjust_index(&value, size, -1, NULL) < 0) {
|
|
717
|
+
return NULL;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/* Convert the flat index into a multi-index */
|
|
721
|
+
for (idim = ndim-1; idim >= 0; --idim) {
|
|
722
|
+
multi_index[idim] = value % shape[idim];
|
|
723
|
+
value /= shape[idim];
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
/* A multi-index tuple */
|
|
727
|
+
else if (n == ndim) {
|
|
728
|
+
npy_intp value;
|
|
729
|
+
|
|
730
|
+
for (idim = 0; idim < ndim; ++idim) {
|
|
731
|
+
value = PyArray_PyIntAsIntp(PyTuple_GET_ITEM(args, idim));
|
|
732
|
+
if (value == -1 && PyErr_Occurred()) {
|
|
733
|
+
return NULL;
|
|
734
|
+
}
|
|
735
|
+
multi_index[idim] = value;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
else {
|
|
739
|
+
PyErr_SetString(PyExc_ValueError,
|
|
740
|
+
"incorrect number of indices for array");
|
|
741
|
+
return NULL;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
if (PyArray_MultiIndexSetItem(self, multi_index, obj) < 0) {
|
|
745
|
+
return NULL;
|
|
746
|
+
}
|
|
747
|
+
else {
|
|
748
|
+
Py_RETURN_NONE;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
NPY_NO_EXPORT const char *
|
|
753
|
+
npy_casting_to_string(NPY_CASTING casting)
|
|
754
|
+
{
|
|
755
|
+
switch (casting) {
|
|
756
|
+
case NPY_NO_CASTING:
|
|
757
|
+
return "'no'";
|
|
758
|
+
case NPY_EQUIV_CASTING:
|
|
759
|
+
return "'equiv'";
|
|
760
|
+
case NPY_SAFE_CASTING:
|
|
761
|
+
return "'safe'";
|
|
762
|
+
case NPY_SAME_KIND_CASTING:
|
|
763
|
+
return "'same_kind'";
|
|
764
|
+
case NPY_UNSAFE_CASTING:
|
|
765
|
+
return "'unsafe'";
|
|
766
|
+
default:
|
|
767
|
+
return "<unknown>";
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
static PyObject *
|
|
772
|
+
array_astype(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
773
|
+
{
|
|
774
|
+
static char *kwlist[] = {"dtype", "order", "casting",
|
|
775
|
+
"subok", "copy", NULL};
|
|
776
|
+
PyArray_Descr *dtype = NULL;
|
|
777
|
+
/*
|
|
778
|
+
* TODO: UNSAFE default for compatibility, I think
|
|
779
|
+
* switching to SAME_KIND by default would be good.
|
|
780
|
+
*/
|
|
781
|
+
NPY_CASTING casting = NPY_UNSAFE_CASTING;
|
|
782
|
+
NPY_ORDER order = NPY_KEEPORDER;
|
|
783
|
+
int forcecopy = 1, subok = 1;
|
|
784
|
+
|
|
785
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&|O&O&ii", kwlist,
|
|
786
|
+
PyArray_DescrConverter, &dtype,
|
|
787
|
+
PyArray_OrderConverter, &order,
|
|
788
|
+
PyArray_CastingConverter, &casting,
|
|
789
|
+
&subok,
|
|
790
|
+
&forcecopy)) {
|
|
791
|
+
Py_XDECREF(dtype);
|
|
792
|
+
return NULL;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/*
|
|
796
|
+
* If the memory layout matches and, data types are equivalent,
|
|
797
|
+
* and it's not a subtype if subok is False, then we
|
|
798
|
+
* can skip the copy.
|
|
799
|
+
*/
|
|
800
|
+
if (!forcecopy && (order == NPY_KEEPORDER ||
|
|
801
|
+
(order == NPY_ANYORDER &&
|
|
802
|
+
(PyArray_IS_C_CONTIGUOUS(self) ||
|
|
803
|
+
PyArray_IS_F_CONTIGUOUS(self))) ||
|
|
804
|
+
(order == NPY_CORDER &&
|
|
805
|
+
PyArray_IS_C_CONTIGUOUS(self)) ||
|
|
806
|
+
(order == NPY_FORTRANORDER &&
|
|
807
|
+
PyArray_IS_F_CONTIGUOUS(self))) &&
|
|
808
|
+
(subok || PyArray_CheckExact(self)) &&
|
|
809
|
+
PyArray_EquivTypes(dtype, PyArray_DESCR(self))) {
|
|
810
|
+
Py_DECREF(dtype);
|
|
811
|
+
Py_INCREF(self);
|
|
812
|
+
return (PyObject *)self;
|
|
813
|
+
}
|
|
814
|
+
else if (PyArray_CanCastArrayTo(self, dtype, casting)) {
|
|
815
|
+
PyArrayObject *ret;
|
|
816
|
+
|
|
817
|
+
/* If the requested dtype is flexible, adapt it */
|
|
818
|
+
PyArray_AdaptFlexibleDType((PyObject *)self, PyArray_DESCR(self),
|
|
819
|
+
&dtype);
|
|
820
|
+
if (dtype == NULL) {
|
|
821
|
+
return NULL;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/* This steals the reference to dtype, so no DECREF of dtype */
|
|
825
|
+
ret = (PyArrayObject *)PyArray_NewLikeArray(
|
|
826
|
+
self, order, dtype, subok);
|
|
827
|
+
if (ret == NULL) {
|
|
828
|
+
return NULL;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
if (PyArray_CopyInto(ret, self) < 0) {
|
|
832
|
+
Py_DECREF(ret);
|
|
833
|
+
return NULL;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
return (PyObject *)ret;
|
|
837
|
+
}
|
|
838
|
+
else {
|
|
839
|
+
PyObject *errmsg;
|
|
840
|
+
errmsg = PyUString_FromString("Cannot cast array from ");
|
|
841
|
+
PyUString_ConcatAndDel(&errmsg,
|
|
842
|
+
PyObject_Repr((PyObject *)PyArray_DESCR(self)));
|
|
843
|
+
PyUString_ConcatAndDel(&errmsg,
|
|
844
|
+
PyUString_FromString(" to "));
|
|
845
|
+
PyUString_ConcatAndDel(&errmsg,
|
|
846
|
+
PyObject_Repr((PyObject *)dtype));
|
|
847
|
+
PyUString_ConcatAndDel(&errmsg,
|
|
848
|
+
PyUString_FromFormat(" according to the rule %s",
|
|
849
|
+
npy_casting_to_string(casting)));
|
|
850
|
+
PyErr_SetObject(PyExc_TypeError, errmsg);
|
|
851
|
+
Py_DECREF(errmsg);
|
|
852
|
+
Py_DECREF(dtype);
|
|
853
|
+
return NULL;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/* default sub-type implementation */
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
static PyObject *
|
|
861
|
+
array_wraparray(PyArrayObject *self, PyObject *args)
|
|
862
|
+
{
|
|
863
|
+
PyArrayObject *arr, *ret;
|
|
864
|
+
PyObject *obj;
|
|
865
|
+
|
|
866
|
+
if (PyTuple_Size(args) < 1) {
|
|
867
|
+
PyErr_SetString(PyExc_TypeError,
|
|
868
|
+
"only accepts 1 argument");
|
|
869
|
+
return NULL;
|
|
870
|
+
}
|
|
871
|
+
obj = PyTuple_GET_ITEM(args, 0);
|
|
872
|
+
if (obj == NULL) {
|
|
873
|
+
return NULL;
|
|
874
|
+
}
|
|
875
|
+
if (!PyArray_Check(obj)) {
|
|
876
|
+
PyErr_SetString(PyExc_TypeError,
|
|
877
|
+
"can only be called with ndarray object");
|
|
878
|
+
return NULL;
|
|
879
|
+
}
|
|
880
|
+
arr = (PyArrayObject *)obj;
|
|
881
|
+
|
|
882
|
+
if (Py_TYPE(self) != Py_TYPE(arr)){
|
|
883
|
+
PyArray_Descr *dtype = PyArray_DESCR(arr);
|
|
884
|
+
Py_INCREF(dtype);
|
|
885
|
+
ret = (PyArrayObject *)PyArray_NewFromDescr(Py_TYPE(self),
|
|
886
|
+
dtype,
|
|
887
|
+
PyArray_NDIM(arr),
|
|
888
|
+
PyArray_DIMS(arr),
|
|
889
|
+
PyArray_STRIDES(arr), PyArray_DATA(arr),
|
|
890
|
+
PyArray_FLAGS(arr), (PyObject *)self);
|
|
891
|
+
if (ret == NULL) {
|
|
892
|
+
return NULL;
|
|
893
|
+
}
|
|
894
|
+
Py_INCREF(obj);
|
|
895
|
+
if (PyArray_SetBaseObject(ret, obj) < 0) {
|
|
896
|
+
Py_DECREF(ret);
|
|
897
|
+
return NULL;
|
|
898
|
+
}
|
|
899
|
+
return (PyObject *)ret;
|
|
900
|
+
} else {
|
|
901
|
+
/*The type was set in __array_prepare__*/
|
|
902
|
+
Py_INCREF(arr);
|
|
903
|
+
return (PyObject *)arr;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
static PyObject *
|
|
909
|
+
array_preparearray(PyArrayObject *self, PyObject *args)
|
|
910
|
+
{
|
|
911
|
+
PyObject *obj;
|
|
912
|
+
PyArrayObject *arr, *ret;
|
|
913
|
+
PyArray_Descr *dtype;
|
|
914
|
+
|
|
915
|
+
if (PyTuple_Size(args) < 1) {
|
|
916
|
+
PyErr_SetString(PyExc_TypeError,
|
|
917
|
+
"only accepts 1 argument");
|
|
918
|
+
return NULL;
|
|
919
|
+
}
|
|
920
|
+
obj = PyTuple_GET_ITEM(args, 0);
|
|
921
|
+
if (!PyArray_Check(obj)) {
|
|
922
|
+
PyErr_SetString(PyExc_TypeError,
|
|
923
|
+
"can only be called with ndarray object");
|
|
924
|
+
return NULL;
|
|
925
|
+
}
|
|
926
|
+
arr = (PyArrayObject *)obj;
|
|
927
|
+
|
|
928
|
+
if (Py_TYPE(self) == Py_TYPE(arr)) {
|
|
929
|
+
/* No need to create a new view */
|
|
930
|
+
Py_INCREF(arr);
|
|
931
|
+
return (PyObject *)arr;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
dtype = PyArray_DESCR(arr);
|
|
935
|
+
Py_INCREF(dtype);
|
|
936
|
+
ret = (PyArrayObject *)PyArray_NewFromDescr(Py_TYPE(self),
|
|
937
|
+
dtype,
|
|
938
|
+
PyArray_NDIM(arr),
|
|
939
|
+
PyArray_DIMS(arr),
|
|
940
|
+
PyArray_STRIDES(arr), PyArray_DATA(arr),
|
|
941
|
+
PyArray_FLAGS(arr), (PyObject *)self);
|
|
942
|
+
if (ret == NULL) {
|
|
943
|
+
return NULL;
|
|
944
|
+
}
|
|
945
|
+
Py_INCREF(arr);
|
|
946
|
+
if (PyArray_SetBaseObject(ret, (PyObject *)arr) < 0) {
|
|
947
|
+
Py_DECREF(ret);
|
|
948
|
+
return NULL;
|
|
949
|
+
}
|
|
950
|
+
return (PyObject *)ret;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
static PyObject *
|
|
955
|
+
array_getarray(PyArrayObject *self, PyObject *args)
|
|
956
|
+
{
|
|
957
|
+
PyArray_Descr *newtype = NULL;
|
|
958
|
+
PyObject *ret;
|
|
959
|
+
|
|
960
|
+
if (!PyArg_ParseTuple(args, "|O&",
|
|
961
|
+
PyArray_DescrConverter, &newtype)) {
|
|
962
|
+
Py_XDECREF(newtype);
|
|
963
|
+
return NULL;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/* convert to PyArray_Type */
|
|
967
|
+
if (!PyArray_CheckExact(self)) {
|
|
968
|
+
PyArrayObject *new;
|
|
969
|
+
PyTypeObject *subtype = &PyArray_Type;
|
|
970
|
+
|
|
971
|
+
if (!PyType_IsSubtype(Py_TYPE(self), &PyArray_Type)) {
|
|
972
|
+
subtype = &PyArray_Type;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
Py_INCREF(PyArray_DESCR(self));
|
|
976
|
+
new = (PyArrayObject *)PyArray_NewFromDescr(subtype,
|
|
977
|
+
PyArray_DESCR(self),
|
|
978
|
+
PyArray_NDIM(self),
|
|
979
|
+
PyArray_DIMS(self),
|
|
980
|
+
PyArray_STRIDES(self),
|
|
981
|
+
PyArray_DATA(self),
|
|
982
|
+
PyArray_FLAGS(self), NULL);
|
|
983
|
+
if (new == NULL) {
|
|
984
|
+
return NULL;
|
|
985
|
+
}
|
|
986
|
+
Py_INCREF(self);
|
|
987
|
+
PyArray_SetBaseObject(new, (PyObject *)self);
|
|
988
|
+
self = new;
|
|
989
|
+
}
|
|
990
|
+
else {
|
|
991
|
+
Py_INCREF(self);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
if ((newtype == NULL) || PyArray_EquivTypes(PyArray_DESCR(self), newtype)) {
|
|
995
|
+
return (PyObject *)self;
|
|
996
|
+
}
|
|
997
|
+
else {
|
|
998
|
+
ret = PyArray_CastToType(self, newtype, 0);
|
|
999
|
+
Py_DECREF(self);
|
|
1000
|
+
return ret;
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
static PyObject *
|
|
1006
|
+
array_copy(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1007
|
+
{
|
|
1008
|
+
NPY_ORDER order = NPY_CORDER;
|
|
1009
|
+
static char *kwlist[] = {"order", NULL};
|
|
1010
|
+
|
|
1011
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&", kwlist,
|
|
1012
|
+
PyArray_OrderConverter, &order)) {
|
|
1013
|
+
return NULL;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
return PyArray_NewCopy(self, order);
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
/* Separate from array_copy to make __copy__ preserve Fortran contiguity. */
|
|
1020
|
+
static PyObject *
|
|
1021
|
+
array_copy_keeporder(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1022
|
+
{
|
|
1023
|
+
if (!PyArg_ParseTuple(args, "")) {
|
|
1024
|
+
return NULL;
|
|
1025
|
+
}
|
|
1026
|
+
return PyArray_NewCopy(self, NPY_KEEPORDER);
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
#include <stdio.h>
|
|
1030
|
+
static PyObject *
|
|
1031
|
+
array_resize(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1032
|
+
{
|
|
1033
|
+
static char *kwlist[] = {"refcheck", NULL};
|
|
1034
|
+
Py_ssize_t size = PyTuple_Size(args);
|
|
1035
|
+
int refcheck = 1;
|
|
1036
|
+
PyArray_Dims newshape;
|
|
1037
|
+
PyObject *ret, *obj;
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
if (!NpyArg_ParseKeywords(kwds, "|i", kwlist, &refcheck)) {
|
|
1041
|
+
return NULL;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
if (size == 0) {
|
|
1045
|
+
Py_RETURN_NONE;
|
|
1046
|
+
}
|
|
1047
|
+
else if (size == 1) {
|
|
1048
|
+
obj = PyTuple_GET_ITEM(args, 0);
|
|
1049
|
+
if (obj == Py_None) {
|
|
1050
|
+
Py_RETURN_NONE;
|
|
1051
|
+
}
|
|
1052
|
+
args = obj;
|
|
1053
|
+
}
|
|
1054
|
+
if (!PyArray_IntpConverter(args, &newshape)) {
|
|
1055
|
+
if (!PyErr_Occurred()) {
|
|
1056
|
+
PyErr_SetString(PyExc_TypeError, "invalid shape");
|
|
1057
|
+
}
|
|
1058
|
+
return NULL;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
ret = PyArray_Resize(self, &newshape, refcheck, NPY_CORDER);
|
|
1062
|
+
PyDimMem_FREE(newshape.ptr);
|
|
1063
|
+
if (ret == NULL) {
|
|
1064
|
+
return NULL;
|
|
1065
|
+
}
|
|
1066
|
+
Py_DECREF(ret);
|
|
1067
|
+
Py_RETURN_NONE;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
static PyObject *
|
|
1071
|
+
array_repeat(PyArrayObject *self, PyObject *args, PyObject *kwds) {
|
|
1072
|
+
PyObject *repeats;
|
|
1073
|
+
int axis = NPY_MAXDIMS;
|
|
1074
|
+
static char *kwlist[] = {"repeats", "axis", NULL};
|
|
1075
|
+
|
|
1076
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&", kwlist,
|
|
1077
|
+
&repeats,
|
|
1078
|
+
PyArray_AxisConverter, &axis)) {
|
|
1079
|
+
return NULL;
|
|
1080
|
+
}
|
|
1081
|
+
return PyArray_Return((PyArrayObject *)PyArray_Repeat(self, repeats, axis));
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
static PyObject *
|
|
1085
|
+
array_choose(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1086
|
+
{
|
|
1087
|
+
static char *keywords[] = {"out", "mode", NULL};
|
|
1088
|
+
PyObject *choices;
|
|
1089
|
+
PyArrayObject *out = NULL;
|
|
1090
|
+
NPY_CLIPMODE clipmode = NPY_RAISE;
|
|
1091
|
+
Py_ssize_t n = PyTuple_Size(args);
|
|
1092
|
+
|
|
1093
|
+
if (n <= 1) {
|
|
1094
|
+
if (!PyArg_ParseTuple(args, "O", &choices)) {
|
|
1095
|
+
return NULL;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
else {
|
|
1099
|
+
choices = args;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
if (!NpyArg_ParseKeywords(kwds, "|O&O&", keywords,
|
|
1103
|
+
PyArray_OutputConverter, &out,
|
|
1104
|
+
PyArray_ClipmodeConverter, &clipmode)) {
|
|
1105
|
+
return NULL;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
return PyArray_Return((PyArrayObject *)PyArray_Choose(self, choices, out, clipmode));
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
static PyObject *
|
|
1112
|
+
array_sort(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1113
|
+
{
|
|
1114
|
+
int axis=-1;
|
|
1115
|
+
int val;
|
|
1116
|
+
NPY_SORTKIND sortkind = NPY_QUICKSORT;
|
|
1117
|
+
PyObject *order = NULL;
|
|
1118
|
+
PyArray_Descr *saved = NULL;
|
|
1119
|
+
PyArray_Descr *newd;
|
|
1120
|
+
static char *kwlist[] = {"axis", "kind", "order", NULL};
|
|
1121
|
+
|
|
1122
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO&O", kwlist,
|
|
1123
|
+
&axis,
|
|
1124
|
+
PyArray_SortkindConverter, &sortkind,
|
|
1125
|
+
&order)) {
|
|
1126
|
+
return NULL;
|
|
1127
|
+
}
|
|
1128
|
+
if (order == Py_None) {
|
|
1129
|
+
order = NULL;
|
|
1130
|
+
}
|
|
1131
|
+
if (order != NULL) {
|
|
1132
|
+
PyObject *new_name;
|
|
1133
|
+
PyObject *_numpy_internal;
|
|
1134
|
+
saved = PyArray_DESCR(self);
|
|
1135
|
+
if (!PyDataType_HASFIELDS(saved)) {
|
|
1136
|
+
PyErr_SetString(PyExc_ValueError, "Cannot specify " \
|
|
1137
|
+
"order when the array has no fields.");
|
|
1138
|
+
return NULL;
|
|
1139
|
+
}
|
|
1140
|
+
_numpy_internal = PyImport_ImportModule("numpy.core._internal");
|
|
1141
|
+
if (_numpy_internal == NULL) {
|
|
1142
|
+
return NULL;
|
|
1143
|
+
}
|
|
1144
|
+
new_name = PyObject_CallMethod(_numpy_internal, "_newnames",
|
|
1145
|
+
"OO", saved, order);
|
|
1146
|
+
Py_DECREF(_numpy_internal);
|
|
1147
|
+
if (new_name == NULL) {
|
|
1148
|
+
return NULL;
|
|
1149
|
+
}
|
|
1150
|
+
newd = PyArray_DescrNew(saved);
|
|
1151
|
+
Py_DECREF(newd->names);
|
|
1152
|
+
newd->names = new_name;
|
|
1153
|
+
((PyArrayObject_fields *)self)->descr = newd;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
val = PyArray_Sort(self, axis, sortkind);
|
|
1157
|
+
if (order != NULL) {
|
|
1158
|
+
Py_XDECREF(PyArray_DESCR(self));
|
|
1159
|
+
((PyArrayObject_fields *)self)->descr = saved;
|
|
1160
|
+
}
|
|
1161
|
+
if (val < 0) {
|
|
1162
|
+
return NULL;
|
|
1163
|
+
}
|
|
1164
|
+
Py_RETURN_NONE;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
static PyObject *
|
|
1168
|
+
array_partition(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1169
|
+
{
|
|
1170
|
+
int axis=-1;
|
|
1171
|
+
int val;
|
|
1172
|
+
NPY_SELECTKIND sortkind = NPY_INTROSELECT;
|
|
1173
|
+
PyObject *order = NULL;
|
|
1174
|
+
PyArray_Descr *saved = NULL;
|
|
1175
|
+
PyArray_Descr *newd;
|
|
1176
|
+
static char *kwlist[] = {"kth", "axis", "kind", "order", NULL};
|
|
1177
|
+
PyArrayObject * ktharray;
|
|
1178
|
+
PyObject * kthobj;
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|iO&O", kwlist,
|
|
1182
|
+
&kthobj,
|
|
1183
|
+
&axis,
|
|
1184
|
+
PyArray_SelectkindConverter, &sortkind,
|
|
1185
|
+
&order)) {
|
|
1186
|
+
return NULL;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
if (order == Py_None) {
|
|
1190
|
+
order = NULL;
|
|
1191
|
+
}
|
|
1192
|
+
if (order != NULL) {
|
|
1193
|
+
PyObject *new_name;
|
|
1194
|
+
PyObject *_numpy_internal;
|
|
1195
|
+
saved = PyArray_DESCR(self);
|
|
1196
|
+
if (!PyDataType_HASFIELDS(saved)) {
|
|
1197
|
+
PyErr_SetString(PyExc_ValueError, "Cannot specify " \
|
|
1198
|
+
"order when the array has no fields.");
|
|
1199
|
+
return NULL;
|
|
1200
|
+
}
|
|
1201
|
+
_numpy_internal = PyImport_ImportModule("numpy.core._internal");
|
|
1202
|
+
if (_numpy_internal == NULL) {
|
|
1203
|
+
return NULL;
|
|
1204
|
+
}
|
|
1205
|
+
new_name = PyObject_CallMethod(_numpy_internal, "_newnames",
|
|
1206
|
+
"OO", saved, order);
|
|
1207
|
+
Py_DECREF(_numpy_internal);
|
|
1208
|
+
if (new_name == NULL) {
|
|
1209
|
+
return NULL;
|
|
1210
|
+
}
|
|
1211
|
+
newd = PyArray_DescrNew(saved);
|
|
1212
|
+
Py_DECREF(newd->names);
|
|
1213
|
+
newd->names = new_name;
|
|
1214
|
+
((PyArrayObject_fields *)self)->descr = newd;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
ktharray = (PyArrayObject *)PyArray_FromAny(kthobj, NULL, 0, 1,
|
|
1218
|
+
NPY_ARRAY_DEFAULT, NULL);
|
|
1219
|
+
if (ktharray == NULL)
|
|
1220
|
+
return NULL;
|
|
1221
|
+
|
|
1222
|
+
val = PyArray_Partition(self, ktharray, axis, sortkind);
|
|
1223
|
+
Py_DECREF(ktharray);
|
|
1224
|
+
|
|
1225
|
+
if (order != NULL) {
|
|
1226
|
+
Py_XDECREF(PyArray_DESCR(self));
|
|
1227
|
+
((PyArrayObject_fields *)self)->descr = saved;
|
|
1228
|
+
}
|
|
1229
|
+
if (val < 0) {
|
|
1230
|
+
return NULL;
|
|
1231
|
+
}
|
|
1232
|
+
Py_RETURN_NONE;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
static PyObject *
|
|
1236
|
+
array_argsort(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1237
|
+
{
|
|
1238
|
+
int axis = -1;
|
|
1239
|
+
NPY_SORTKIND sortkind = NPY_QUICKSORT;
|
|
1240
|
+
PyObject *order = NULL, *res;
|
|
1241
|
+
PyArray_Descr *newd, *saved=NULL;
|
|
1242
|
+
static char *kwlist[] = {"axis", "kind", "order", NULL};
|
|
1243
|
+
|
|
1244
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&O", kwlist,
|
|
1245
|
+
PyArray_AxisConverter, &axis,
|
|
1246
|
+
PyArray_SortkindConverter, &sortkind,
|
|
1247
|
+
&order)) {
|
|
1248
|
+
return NULL;
|
|
1249
|
+
}
|
|
1250
|
+
if (order == Py_None) {
|
|
1251
|
+
order = NULL;
|
|
1252
|
+
}
|
|
1253
|
+
if (order != NULL) {
|
|
1254
|
+
PyObject *new_name;
|
|
1255
|
+
PyObject *_numpy_internal;
|
|
1256
|
+
saved = PyArray_DESCR(self);
|
|
1257
|
+
if (!PyDataType_HASFIELDS(saved)) {
|
|
1258
|
+
PyErr_SetString(PyExc_ValueError, "Cannot specify "
|
|
1259
|
+
"order when the array has no fields.");
|
|
1260
|
+
return NULL;
|
|
1261
|
+
}
|
|
1262
|
+
_numpy_internal = PyImport_ImportModule("numpy.core._internal");
|
|
1263
|
+
if (_numpy_internal == NULL) {
|
|
1264
|
+
return NULL;
|
|
1265
|
+
}
|
|
1266
|
+
new_name = PyObject_CallMethod(_numpy_internal, "_newnames",
|
|
1267
|
+
"OO", saved, order);
|
|
1268
|
+
Py_DECREF(_numpy_internal);
|
|
1269
|
+
if (new_name == NULL) {
|
|
1270
|
+
return NULL;
|
|
1271
|
+
}
|
|
1272
|
+
newd = PyArray_DescrNew(saved);
|
|
1273
|
+
newd->names = new_name;
|
|
1274
|
+
((PyArrayObject_fields *)self)->descr = newd;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
res = PyArray_ArgSort(self, axis, sortkind);
|
|
1278
|
+
if (order != NULL) {
|
|
1279
|
+
Py_XDECREF(PyArray_DESCR(self));
|
|
1280
|
+
((PyArrayObject_fields *)self)->descr = saved;
|
|
1281
|
+
}
|
|
1282
|
+
return PyArray_Return((PyArrayObject *)res);
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
static PyObject *
|
|
1287
|
+
array_argpartition(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1288
|
+
{
|
|
1289
|
+
int axis = -1;
|
|
1290
|
+
NPY_SELECTKIND sortkind = NPY_INTROSELECT;
|
|
1291
|
+
PyObject *order = NULL, *res;
|
|
1292
|
+
PyArray_Descr *newd, *saved=NULL;
|
|
1293
|
+
static char *kwlist[] = {"kth", "axis", "kind", "order", NULL};
|
|
1294
|
+
PyObject * kthobj;
|
|
1295
|
+
PyArrayObject * ktharray;
|
|
1296
|
+
|
|
1297
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O&O", kwlist,
|
|
1298
|
+
&kthobj,
|
|
1299
|
+
PyArray_AxisConverter, &axis,
|
|
1300
|
+
PyArray_SelectkindConverter, &sortkind,
|
|
1301
|
+
&order)) {
|
|
1302
|
+
return NULL;
|
|
1303
|
+
}
|
|
1304
|
+
if (order == Py_None) {
|
|
1305
|
+
order = NULL;
|
|
1306
|
+
}
|
|
1307
|
+
if (order != NULL) {
|
|
1308
|
+
PyObject *new_name;
|
|
1309
|
+
PyObject *_numpy_internal;
|
|
1310
|
+
saved = PyArray_DESCR(self);
|
|
1311
|
+
if (!PyDataType_HASFIELDS(saved)) {
|
|
1312
|
+
PyErr_SetString(PyExc_ValueError, "Cannot specify "
|
|
1313
|
+
"order when the array has no fields.");
|
|
1314
|
+
return NULL;
|
|
1315
|
+
}
|
|
1316
|
+
_numpy_internal = PyImport_ImportModule("numpy.core._internal");
|
|
1317
|
+
if (_numpy_internal == NULL) {
|
|
1318
|
+
return NULL;
|
|
1319
|
+
}
|
|
1320
|
+
new_name = PyObject_CallMethod(_numpy_internal, "_newnames",
|
|
1321
|
+
"OO", saved, order);
|
|
1322
|
+
Py_DECREF(_numpy_internal);
|
|
1323
|
+
if (new_name == NULL) {
|
|
1324
|
+
return NULL;
|
|
1325
|
+
}
|
|
1326
|
+
newd = PyArray_DescrNew(saved);
|
|
1327
|
+
newd->names = new_name;
|
|
1328
|
+
((PyArrayObject_fields *)self)->descr = newd;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
ktharray = (PyArrayObject *)PyArray_FromAny(kthobj, NULL, 0, 1,
|
|
1332
|
+
NPY_ARRAY_DEFAULT, NULL);
|
|
1333
|
+
if (ktharray == NULL)
|
|
1334
|
+
return NULL;
|
|
1335
|
+
|
|
1336
|
+
res = PyArray_ArgPartition(self, ktharray, axis, sortkind);
|
|
1337
|
+
Py_DECREF(ktharray);
|
|
1338
|
+
|
|
1339
|
+
if (order != NULL) {
|
|
1340
|
+
Py_XDECREF(PyArray_DESCR(self));
|
|
1341
|
+
((PyArrayObject_fields *)self)->descr = saved;
|
|
1342
|
+
}
|
|
1343
|
+
return PyArray_Return((PyArrayObject *)res);
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
static PyObject *
|
|
1347
|
+
array_searchsorted(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1348
|
+
{
|
|
1349
|
+
static char *kwlist[] = {"keys", "side", "sorter", NULL};
|
|
1350
|
+
PyObject *keys;
|
|
1351
|
+
PyObject *sorter;
|
|
1352
|
+
NPY_SEARCHSIDE side = NPY_SEARCHLEFT;
|
|
1353
|
+
|
|
1354
|
+
sorter = NULL;
|
|
1355
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O:searchsorted",
|
|
1356
|
+
kwlist, &keys,
|
|
1357
|
+
PyArray_SearchsideConverter, &side, &sorter)) {
|
|
1358
|
+
return NULL;
|
|
1359
|
+
}
|
|
1360
|
+
if (sorter == Py_None) {
|
|
1361
|
+
sorter = NULL;
|
|
1362
|
+
}
|
|
1363
|
+
return PyArray_Return((PyArrayObject *)PyArray_SearchSorted(self, keys, side, sorter));
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
static void
|
|
1367
|
+
_deepcopy_call(char *iptr, char *optr, PyArray_Descr *dtype,
|
|
1368
|
+
PyObject *deepcopy, PyObject *visit)
|
|
1369
|
+
{
|
|
1370
|
+
if (!PyDataType_REFCHK(dtype)) {
|
|
1371
|
+
return;
|
|
1372
|
+
}
|
|
1373
|
+
else if (PyDataType_HASFIELDS(dtype)) {
|
|
1374
|
+
PyObject *key, *value, *title = NULL;
|
|
1375
|
+
PyArray_Descr *new;
|
|
1376
|
+
int offset;
|
|
1377
|
+
Py_ssize_t pos = 0;
|
|
1378
|
+
while (PyDict_Next(dtype->fields, &pos, &key, &value)) {
|
|
1379
|
+
if NPY_TITLE_KEY(key, value) {
|
|
1380
|
+
continue;
|
|
1381
|
+
}
|
|
1382
|
+
if (!PyArg_ParseTuple(value, "Oi|O", &new, &offset,
|
|
1383
|
+
&title)) {
|
|
1384
|
+
return;
|
|
1385
|
+
}
|
|
1386
|
+
_deepcopy_call(iptr + offset, optr + offset, new,
|
|
1387
|
+
deepcopy, visit);
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
else {
|
|
1391
|
+
PyObject *itemp, *otemp;
|
|
1392
|
+
PyObject *res;
|
|
1393
|
+
NPY_COPY_PYOBJECT_PTR(&itemp, iptr);
|
|
1394
|
+
NPY_COPY_PYOBJECT_PTR(&otemp, optr);
|
|
1395
|
+
Py_XINCREF(itemp);
|
|
1396
|
+
/* call deepcopy on this argument */
|
|
1397
|
+
res = PyObject_CallFunctionObjArgs(deepcopy, itemp, visit, NULL);
|
|
1398
|
+
Py_XDECREF(itemp);
|
|
1399
|
+
Py_XDECREF(otemp);
|
|
1400
|
+
NPY_COPY_PYOBJECT_PTR(optr, &res);
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
static PyObject *
|
|
1407
|
+
array_deepcopy(PyArrayObject *self, PyObject *args)
|
|
1408
|
+
{
|
|
1409
|
+
PyObject* visit;
|
|
1410
|
+
char *optr;
|
|
1411
|
+
PyArrayIterObject *it;
|
|
1412
|
+
PyObject *copy, *deepcopy;
|
|
1413
|
+
PyArrayObject *ret;
|
|
1414
|
+
|
|
1415
|
+
if (!PyArg_ParseTuple(args, "O", &visit)) {
|
|
1416
|
+
return NULL;
|
|
1417
|
+
}
|
|
1418
|
+
ret = (PyArrayObject *)PyArray_NewCopy(self, NPY_KEEPORDER);
|
|
1419
|
+
if (PyDataType_REFCHK(PyArray_DESCR(self))) {
|
|
1420
|
+
copy = PyImport_ImportModule("copy");
|
|
1421
|
+
if (copy == NULL) {
|
|
1422
|
+
return NULL;
|
|
1423
|
+
}
|
|
1424
|
+
deepcopy = PyObject_GetAttrString(copy, "deepcopy");
|
|
1425
|
+
Py_DECREF(copy);
|
|
1426
|
+
if (deepcopy == NULL) {
|
|
1427
|
+
return NULL;
|
|
1428
|
+
}
|
|
1429
|
+
it = (PyArrayIterObject *)PyArray_IterNew((PyObject *)self);
|
|
1430
|
+
if (it == NULL) {
|
|
1431
|
+
Py_DECREF(deepcopy);
|
|
1432
|
+
return NULL;
|
|
1433
|
+
}
|
|
1434
|
+
optr = PyArray_DATA(ret);
|
|
1435
|
+
while(it->index < it->size) {
|
|
1436
|
+
_deepcopy_call(it->dataptr, optr, PyArray_DESCR(self), deepcopy, visit);
|
|
1437
|
+
optr += PyArray_DESCR(self)->elsize;
|
|
1438
|
+
PyArray_ITER_NEXT(it);
|
|
1439
|
+
}
|
|
1440
|
+
Py_DECREF(deepcopy);
|
|
1441
|
+
Py_DECREF(it);
|
|
1442
|
+
}
|
|
1443
|
+
return (PyObject*)ret;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
/* Convert Array to flat list (using getitem) */
|
|
1447
|
+
static PyObject *
|
|
1448
|
+
_getlist_pkl(PyArrayObject *self)
|
|
1449
|
+
{
|
|
1450
|
+
PyObject *theobject;
|
|
1451
|
+
PyArrayIterObject *iter = NULL;
|
|
1452
|
+
PyObject *list;
|
|
1453
|
+
PyArray_GetItemFunc *getitem;
|
|
1454
|
+
|
|
1455
|
+
getitem = PyArray_DESCR(self)->f->getitem;
|
|
1456
|
+
iter = (PyArrayIterObject *)PyArray_IterNew((PyObject *)self);
|
|
1457
|
+
if (iter == NULL) {
|
|
1458
|
+
return NULL;
|
|
1459
|
+
}
|
|
1460
|
+
list = PyList_New(iter->size);
|
|
1461
|
+
if (list == NULL) {
|
|
1462
|
+
Py_DECREF(iter);
|
|
1463
|
+
return NULL;
|
|
1464
|
+
}
|
|
1465
|
+
while (iter->index < iter->size) {
|
|
1466
|
+
theobject = getitem(iter->dataptr, self);
|
|
1467
|
+
PyList_SET_ITEM(list, (int) iter->index, theobject);
|
|
1468
|
+
PyArray_ITER_NEXT(iter);
|
|
1469
|
+
}
|
|
1470
|
+
Py_DECREF(iter);
|
|
1471
|
+
return list;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
static int
|
|
1475
|
+
_setlist_pkl(PyArrayObject *self, PyObject *list)
|
|
1476
|
+
{
|
|
1477
|
+
PyObject *theobject;
|
|
1478
|
+
PyArrayIterObject *iter = NULL;
|
|
1479
|
+
PyArray_SetItemFunc *setitem;
|
|
1480
|
+
|
|
1481
|
+
setitem = PyArray_DESCR(self)->f->setitem;
|
|
1482
|
+
iter = (PyArrayIterObject *)PyArray_IterNew((PyObject *)self);
|
|
1483
|
+
if (iter == NULL) {
|
|
1484
|
+
return -1;
|
|
1485
|
+
}
|
|
1486
|
+
while(iter->index < iter->size) {
|
|
1487
|
+
theobject = PyList_GET_ITEM(list, (int) iter->index);
|
|
1488
|
+
setitem(theobject, iter->dataptr, self);
|
|
1489
|
+
PyArray_ITER_NEXT(iter);
|
|
1490
|
+
}
|
|
1491
|
+
Py_XDECREF(iter);
|
|
1492
|
+
return 0;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
static PyObject *
|
|
1497
|
+
array_reduce(PyArrayObject *self, PyObject *NPY_UNUSED(args))
|
|
1498
|
+
{
|
|
1499
|
+
/* version number of this pickle type. Increment if we need to
|
|
1500
|
+
change the format. Be sure to handle the old versions in
|
|
1501
|
+
array_setstate. */
|
|
1502
|
+
const int version = 1;
|
|
1503
|
+
PyObject *ret = NULL, *state = NULL, *obj = NULL, *mod = NULL;
|
|
1504
|
+
PyObject *mybool, *thestr = NULL;
|
|
1505
|
+
PyArray_Descr *descr;
|
|
1506
|
+
|
|
1507
|
+
/* Return a tuple of (callable object, arguments, object's state) */
|
|
1508
|
+
/* We will put everything in the object's state, so that on UnPickle
|
|
1509
|
+
it can use the string object as memory without a copy */
|
|
1510
|
+
|
|
1511
|
+
ret = PyTuple_New(3);
|
|
1512
|
+
if (ret == NULL) {
|
|
1513
|
+
return NULL;
|
|
1514
|
+
}
|
|
1515
|
+
mod = PyImport_ImportModule("numpy.core.multiarray");
|
|
1516
|
+
if (mod == NULL) {
|
|
1517
|
+
Py_DECREF(ret);
|
|
1518
|
+
return NULL;
|
|
1519
|
+
}
|
|
1520
|
+
obj = PyObject_GetAttrString(mod, "_reconstruct");
|
|
1521
|
+
Py_DECREF(mod);
|
|
1522
|
+
PyTuple_SET_ITEM(ret, 0, obj);
|
|
1523
|
+
PyTuple_SET_ITEM(ret, 1,
|
|
1524
|
+
Py_BuildValue("ONc",
|
|
1525
|
+
(PyObject *)Py_TYPE(self),
|
|
1526
|
+
Py_BuildValue("(N)",
|
|
1527
|
+
PyInt_FromLong(0)),
|
|
1528
|
+
/* dummy data-type */
|
|
1529
|
+
'b'));
|
|
1530
|
+
|
|
1531
|
+
/* Now fill in object's state. This is a tuple with
|
|
1532
|
+
5 arguments
|
|
1533
|
+
|
|
1534
|
+
1) an integer with the pickle version.
|
|
1535
|
+
2) a Tuple giving the shape
|
|
1536
|
+
3) a PyArray_Descr Object (with correct bytorder set)
|
|
1537
|
+
4) a npy_bool stating if Fortran or not
|
|
1538
|
+
5) a Python object representing the data (a string, or
|
|
1539
|
+
a list or any user-defined object).
|
|
1540
|
+
|
|
1541
|
+
Notice because Python does not describe a mechanism to write
|
|
1542
|
+
raw data to the pickle, this performs a copy to a string first
|
|
1543
|
+
*/
|
|
1544
|
+
|
|
1545
|
+
state = PyTuple_New(5);
|
|
1546
|
+
if (state == NULL) {
|
|
1547
|
+
Py_DECREF(ret);
|
|
1548
|
+
return NULL;
|
|
1549
|
+
}
|
|
1550
|
+
PyTuple_SET_ITEM(state, 0, PyInt_FromLong(version));
|
|
1551
|
+
PyTuple_SET_ITEM(state, 1, PyObject_GetAttrString((PyObject *)self,
|
|
1552
|
+
"shape"));
|
|
1553
|
+
descr = PyArray_DESCR(self);
|
|
1554
|
+
Py_INCREF(descr);
|
|
1555
|
+
PyTuple_SET_ITEM(state, 2, (PyObject *)descr);
|
|
1556
|
+
mybool = (PyArray_ISFORTRAN(self) ? Py_True : Py_False);
|
|
1557
|
+
Py_INCREF(mybool);
|
|
1558
|
+
PyTuple_SET_ITEM(state, 3, mybool);
|
|
1559
|
+
if (PyDataType_FLAGCHK(PyArray_DESCR(self), NPY_LIST_PICKLE)) {
|
|
1560
|
+
thestr = _getlist_pkl(self);
|
|
1561
|
+
}
|
|
1562
|
+
else {
|
|
1563
|
+
thestr = PyArray_ToString(self, NPY_ANYORDER);
|
|
1564
|
+
}
|
|
1565
|
+
if (thestr == NULL) {
|
|
1566
|
+
Py_DECREF(ret);
|
|
1567
|
+
Py_DECREF(state);
|
|
1568
|
+
return NULL;
|
|
1569
|
+
}
|
|
1570
|
+
PyTuple_SET_ITEM(state, 4, thestr);
|
|
1571
|
+
PyTuple_SET_ITEM(ret, 2, state);
|
|
1572
|
+
return ret;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
static PyObject *
|
|
1576
|
+
array_setstate(PyArrayObject *self, PyObject *args)
|
|
1577
|
+
{
|
|
1578
|
+
PyObject *shape;
|
|
1579
|
+
PyArray_Descr *typecode;
|
|
1580
|
+
int version = 1;
|
|
1581
|
+
int is_f_order;
|
|
1582
|
+
PyObject *rawdata = NULL;
|
|
1583
|
+
char *datastr;
|
|
1584
|
+
Py_ssize_t len;
|
|
1585
|
+
npy_intp size, dimensions[NPY_MAXDIMS];
|
|
1586
|
+
int nd;
|
|
1587
|
+
|
|
1588
|
+
PyArrayObject_fields *fa = (PyArrayObject_fields *)self;
|
|
1589
|
+
|
|
1590
|
+
/* This will free any memory associated with a and
|
|
1591
|
+
use the string in setstate as the (writeable) memory.
|
|
1592
|
+
*/
|
|
1593
|
+
if (!PyArg_ParseTuple(args, "(iO!O!iO)",
|
|
1594
|
+
&version,
|
|
1595
|
+
&PyTuple_Type, &shape,
|
|
1596
|
+
&PyArrayDescr_Type, &typecode,
|
|
1597
|
+
&is_f_order,
|
|
1598
|
+
&rawdata)) {
|
|
1599
|
+
PyErr_Clear();
|
|
1600
|
+
version = 0;
|
|
1601
|
+
if (!PyArg_ParseTuple(args, "(O!O!iO)",
|
|
1602
|
+
&PyTuple_Type, &shape,
|
|
1603
|
+
&PyArrayDescr_Type, &typecode,
|
|
1604
|
+
&is_f_order,
|
|
1605
|
+
&rawdata)) {
|
|
1606
|
+
return NULL;
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
/* If we ever need another pickle format, increment the version
|
|
1611
|
+
number. But we should still be able to handle the old versions.
|
|
1612
|
+
We've only got one right now. */
|
|
1613
|
+
if (version != 1 && version != 0) {
|
|
1614
|
+
PyErr_Format(PyExc_ValueError,
|
|
1615
|
+
"can't handle version %d of numpy.ndarray pickle",
|
|
1616
|
+
version);
|
|
1617
|
+
return NULL;
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
Py_XDECREF(PyArray_DESCR(self));
|
|
1621
|
+
fa->descr = typecode;
|
|
1622
|
+
Py_INCREF(typecode);
|
|
1623
|
+
nd = PyArray_IntpFromSequence(shape, dimensions, NPY_MAXDIMS);
|
|
1624
|
+
if (nd < 0) {
|
|
1625
|
+
return NULL;
|
|
1626
|
+
}
|
|
1627
|
+
size = PyArray_MultiplyList(dimensions, nd);
|
|
1628
|
+
if (PyArray_DESCR(self)->elsize == 0) {
|
|
1629
|
+
PyErr_SetString(PyExc_ValueError, "Invalid data-type size.");
|
|
1630
|
+
return NULL;
|
|
1631
|
+
}
|
|
1632
|
+
if (size < 0 || size > NPY_MAX_INTP / PyArray_DESCR(self)->elsize) {
|
|
1633
|
+
PyErr_NoMemory();
|
|
1634
|
+
return NULL;
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
if (PyDataType_FLAGCHK(typecode, NPY_LIST_PICKLE)) {
|
|
1638
|
+
if (!PyList_Check(rawdata)) {
|
|
1639
|
+
PyErr_SetString(PyExc_TypeError,
|
|
1640
|
+
"object pickle not returning list");
|
|
1641
|
+
return NULL;
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
else {
|
|
1645
|
+
Py_INCREF(rawdata);
|
|
1646
|
+
|
|
1647
|
+
#if defined(NPY_PY3K)
|
|
1648
|
+
/* Backward compatibility with Python 2 Numpy pickles */
|
|
1649
|
+
if (PyUnicode_Check(rawdata)) {
|
|
1650
|
+
PyObject *tmp;
|
|
1651
|
+
tmp = PyUnicode_AsLatin1String(rawdata);
|
|
1652
|
+
Py_DECREF(rawdata);
|
|
1653
|
+
rawdata = tmp;
|
|
1654
|
+
if (tmp == NULL) {
|
|
1655
|
+
/* More informative error message */
|
|
1656
|
+
PyErr_SetString(PyExc_ValueError,
|
|
1657
|
+
("Failed to encode latin1 string when unpickling a Numpy array. "
|
|
1658
|
+
"pickle.load(a, encoding='latin1') is assumed."));
|
|
1659
|
+
return NULL;
|
|
1660
|
+
}
|
|
1661
|
+
}
|
|
1662
|
+
#endif
|
|
1663
|
+
|
|
1664
|
+
if (!PyBytes_Check(rawdata)) {
|
|
1665
|
+
PyErr_SetString(PyExc_TypeError,
|
|
1666
|
+
"pickle not returning string");
|
|
1667
|
+
Py_DECREF(rawdata);
|
|
1668
|
+
return NULL;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
if (PyBytes_AsStringAndSize(rawdata, &datastr, &len) < 0) {
|
|
1672
|
+
Py_DECREF(rawdata);
|
|
1673
|
+
return NULL;
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
if ((len != (PyArray_DESCR(self)->elsize * size))) {
|
|
1677
|
+
PyErr_SetString(PyExc_ValueError,
|
|
1678
|
+
"buffer size does not" \
|
|
1679
|
+
" match array size");
|
|
1680
|
+
Py_DECREF(rawdata);
|
|
1681
|
+
return NULL;
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
if ((PyArray_FLAGS(self) & NPY_ARRAY_OWNDATA)) {
|
|
1686
|
+
PyDataMem_FREE(PyArray_DATA(self));
|
|
1687
|
+
PyArray_CLEARFLAGS(self, NPY_ARRAY_OWNDATA);
|
|
1688
|
+
}
|
|
1689
|
+
Py_XDECREF(PyArray_BASE(self));
|
|
1690
|
+
fa->base = NULL;
|
|
1691
|
+
|
|
1692
|
+
PyArray_CLEARFLAGS(self, NPY_ARRAY_UPDATEIFCOPY);
|
|
1693
|
+
|
|
1694
|
+
if (PyArray_DIMS(self) != NULL) {
|
|
1695
|
+
PyDimMem_FREE(PyArray_DIMS(self));
|
|
1696
|
+
fa->dimensions = NULL;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
fa->flags = NPY_ARRAY_DEFAULT;
|
|
1700
|
+
|
|
1701
|
+
fa->nd = nd;
|
|
1702
|
+
|
|
1703
|
+
if (nd > 0) {
|
|
1704
|
+
fa->dimensions = PyDimMem_NEW(3*nd);
|
|
1705
|
+
if (fa->dimensions == NULL) {
|
|
1706
|
+
return PyErr_NoMemory();
|
|
1707
|
+
}
|
|
1708
|
+
fa->strides = PyArray_DIMS(self) + nd;
|
|
1709
|
+
memcpy(PyArray_DIMS(self), dimensions, sizeof(npy_intp)*nd);
|
|
1710
|
+
_array_fill_strides(PyArray_STRIDES(self), dimensions, nd,
|
|
1711
|
+
PyArray_DESCR(self)->elsize,
|
|
1712
|
+
(is_f_order ? NPY_ARRAY_F_CONTIGUOUS :
|
|
1713
|
+
NPY_ARRAY_C_CONTIGUOUS),
|
|
1714
|
+
&(fa->flags));
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
if (!PyDataType_FLAGCHK(typecode, NPY_LIST_PICKLE)) {
|
|
1718
|
+
int swap=!PyArray_ISNOTSWAPPED(self);
|
|
1719
|
+
fa->data = datastr;
|
|
1720
|
+
#ifndef NPY_PY3K
|
|
1721
|
+
/* Check that the string is not interned */
|
|
1722
|
+
if (!_IsAligned(self) || swap || PyString_CHECK_INTERNED(rawdata)) {
|
|
1723
|
+
#else
|
|
1724
|
+
/* Bytes should always be considered immutable, but we just grab the
|
|
1725
|
+
* pointer if they are large, to save memory. */
|
|
1726
|
+
if (!_IsAligned(self) || swap || (len <= 1000)) {
|
|
1727
|
+
#endif
|
|
1728
|
+
npy_intp num = PyArray_NBYTES(self);
|
|
1729
|
+
fa->data = PyDataMem_NEW(num);
|
|
1730
|
+
if (PyArray_DATA(self) == NULL) {
|
|
1731
|
+
fa->nd = 0;
|
|
1732
|
+
PyDimMem_FREE(PyArray_DIMS(self));
|
|
1733
|
+
Py_DECREF(rawdata);
|
|
1734
|
+
return PyErr_NoMemory();
|
|
1735
|
+
}
|
|
1736
|
+
if (swap) {
|
|
1737
|
+
/* byte-swap on pickle-read */
|
|
1738
|
+
npy_intp numels = num / PyArray_DESCR(self)->elsize;
|
|
1739
|
+
PyArray_DESCR(self)->f->copyswapn(PyArray_DATA(self),
|
|
1740
|
+
PyArray_DESCR(self)->elsize,
|
|
1741
|
+
datastr, PyArray_DESCR(self)->elsize,
|
|
1742
|
+
numels, 1, self);
|
|
1743
|
+
if (!PyArray_ISEXTENDED(self)) {
|
|
1744
|
+
fa->descr = PyArray_DescrFromType(
|
|
1745
|
+
PyArray_DESCR(self)->type_num);
|
|
1746
|
+
}
|
|
1747
|
+
else {
|
|
1748
|
+
fa->descr = PyArray_DescrNew(typecode);
|
|
1749
|
+
if (PyArray_DESCR(self)->byteorder == NPY_BIG) {
|
|
1750
|
+
PyArray_DESCR(self)->byteorder = NPY_LITTLE;
|
|
1751
|
+
}
|
|
1752
|
+
else if (PyArray_DESCR(self)->byteorder == NPY_LITTLE) {
|
|
1753
|
+
PyArray_DESCR(self)->byteorder = NPY_BIG;
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
Py_DECREF(typecode);
|
|
1757
|
+
}
|
|
1758
|
+
else {
|
|
1759
|
+
memcpy(PyArray_DATA(self), datastr, num);
|
|
1760
|
+
}
|
|
1761
|
+
PyArray_ENABLEFLAGS(self, NPY_ARRAY_OWNDATA);
|
|
1762
|
+
fa->base = NULL;
|
|
1763
|
+
Py_DECREF(rawdata);
|
|
1764
|
+
}
|
|
1765
|
+
else {
|
|
1766
|
+
if (PyArray_SetBaseObject(self, rawdata) < 0) {
|
|
1767
|
+
return NULL;
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
else {
|
|
1772
|
+
fa->data = PyDataMem_NEW(PyArray_NBYTES(self));
|
|
1773
|
+
if (PyArray_DATA(self) == NULL) {
|
|
1774
|
+
fa->nd = 0;
|
|
1775
|
+
fa->data = PyDataMem_NEW(PyArray_DESCR(self)->elsize);
|
|
1776
|
+
PyDimMem_FREE(PyArray_DIMS(self));
|
|
1777
|
+
return PyErr_NoMemory();
|
|
1778
|
+
}
|
|
1779
|
+
if (PyDataType_FLAGCHK(PyArray_DESCR(self), NPY_NEEDS_INIT)) {
|
|
1780
|
+
memset(PyArray_DATA(self), 0, PyArray_NBYTES(self));
|
|
1781
|
+
}
|
|
1782
|
+
PyArray_ENABLEFLAGS(self, NPY_ARRAY_OWNDATA);
|
|
1783
|
+
fa->base = NULL;
|
|
1784
|
+
if (_setlist_pkl(self, rawdata) < 0) {
|
|
1785
|
+
return NULL;
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
PyArray_UpdateFlags(self, NPY_ARRAY_UPDATE_ALL);
|
|
1790
|
+
|
|
1791
|
+
Py_RETURN_NONE;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
/*NUMPY_API*/
|
|
1795
|
+
NPY_NO_EXPORT int
|
|
1796
|
+
PyArray_Dump(PyObject *self, PyObject *file, int protocol)
|
|
1797
|
+
{
|
|
1798
|
+
PyObject *cpick = NULL;
|
|
1799
|
+
PyObject *ret;
|
|
1800
|
+
if (protocol < 0) {
|
|
1801
|
+
protocol = 2;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
#if defined(NPY_PY3K)
|
|
1805
|
+
cpick = PyImport_ImportModule("pickle");
|
|
1806
|
+
#else
|
|
1807
|
+
cpick = PyImport_ImportModule("cPickle");
|
|
1808
|
+
#endif
|
|
1809
|
+
if (cpick == NULL) {
|
|
1810
|
+
return -1;
|
|
1811
|
+
}
|
|
1812
|
+
if (PyBytes_Check(file) || PyUnicode_Check(file)) {
|
|
1813
|
+
file = npy_PyFile_OpenFile(file, "wb");
|
|
1814
|
+
if (file == NULL) {
|
|
1815
|
+
Py_DECREF(cpick);
|
|
1816
|
+
return -1;
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
else {
|
|
1820
|
+
Py_INCREF(file);
|
|
1821
|
+
}
|
|
1822
|
+
ret = PyObject_CallMethod(cpick, "dump", "OOi", self, file, protocol);
|
|
1823
|
+
Py_XDECREF(ret);
|
|
1824
|
+
Py_DECREF(file);
|
|
1825
|
+
Py_DECREF(cpick);
|
|
1826
|
+
if (PyErr_Occurred()) {
|
|
1827
|
+
return -1;
|
|
1828
|
+
}
|
|
1829
|
+
return 0;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
/*NUMPY_API*/
|
|
1833
|
+
NPY_NO_EXPORT PyObject *
|
|
1834
|
+
PyArray_Dumps(PyObject *self, int protocol)
|
|
1835
|
+
{
|
|
1836
|
+
PyObject *cpick = NULL;
|
|
1837
|
+
PyObject *ret;
|
|
1838
|
+
if (protocol < 0) {
|
|
1839
|
+
protocol = 2;
|
|
1840
|
+
}
|
|
1841
|
+
#if defined(NPY_PY3K)
|
|
1842
|
+
cpick = PyImport_ImportModule("pickle");
|
|
1843
|
+
#else
|
|
1844
|
+
cpick = PyImport_ImportModule("cPickle");
|
|
1845
|
+
#endif
|
|
1846
|
+
if (cpick == NULL) {
|
|
1847
|
+
return NULL;
|
|
1848
|
+
}
|
|
1849
|
+
ret = PyObject_CallMethod(cpick, "dumps", "Oi", self, protocol);
|
|
1850
|
+
Py_DECREF(cpick);
|
|
1851
|
+
return ret;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
static PyObject *
|
|
1856
|
+
array_dump(PyArrayObject *self, PyObject *args)
|
|
1857
|
+
{
|
|
1858
|
+
PyObject *file = NULL;
|
|
1859
|
+
int ret;
|
|
1860
|
+
|
|
1861
|
+
if (!PyArg_ParseTuple(args, "O", &file)) {
|
|
1862
|
+
return NULL;
|
|
1863
|
+
}
|
|
1864
|
+
ret = PyArray_Dump((PyObject *)self, file, 2);
|
|
1865
|
+
if (ret < 0) {
|
|
1866
|
+
return NULL;
|
|
1867
|
+
}
|
|
1868
|
+
Py_RETURN_NONE;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
|
|
1872
|
+
static PyObject *
|
|
1873
|
+
array_dumps(PyArrayObject *self, PyObject *args)
|
|
1874
|
+
{
|
|
1875
|
+
if (!PyArg_ParseTuple(args, "")) {
|
|
1876
|
+
return NULL;
|
|
1877
|
+
}
|
|
1878
|
+
return PyArray_Dumps((PyObject *)self, 2);
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
static PyObject *
|
|
1883
|
+
array_sizeof(PyArrayObject *self)
|
|
1884
|
+
{
|
|
1885
|
+
/* object + dimension and strides */
|
|
1886
|
+
Py_ssize_t nbytes = NPY_SIZEOF_PYARRAYOBJECT +
|
|
1887
|
+
PyArray_NDIM(self) * sizeof(npy_intp) * 2;
|
|
1888
|
+
if (PyArray_CHKFLAGS(self, NPY_ARRAY_OWNDATA)) {
|
|
1889
|
+
nbytes += PyArray_NBYTES(self);
|
|
1890
|
+
}
|
|
1891
|
+
return PyLong_FromSsize_t(nbytes);
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
static PyObject *
|
|
1896
|
+
array_transpose(PyArrayObject *self, PyObject *args)
|
|
1897
|
+
{
|
|
1898
|
+
PyObject *shape = Py_None;
|
|
1899
|
+
Py_ssize_t n = PyTuple_Size(args);
|
|
1900
|
+
PyArray_Dims permute;
|
|
1901
|
+
PyObject *ret;
|
|
1902
|
+
|
|
1903
|
+
if (n > 1) {
|
|
1904
|
+
shape = args;
|
|
1905
|
+
}
|
|
1906
|
+
else if (n == 1) {
|
|
1907
|
+
shape = PyTuple_GET_ITEM(args, 0);
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
if (shape == Py_None) {
|
|
1911
|
+
ret = PyArray_Transpose(self, NULL);
|
|
1912
|
+
}
|
|
1913
|
+
else {
|
|
1914
|
+
if (!PyArray_IntpConverter(shape, &permute)) {
|
|
1915
|
+
return NULL;
|
|
1916
|
+
}
|
|
1917
|
+
ret = PyArray_Transpose(self, &permute);
|
|
1918
|
+
PyDimMem_FREE(permute.ptr);
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
return ret;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
#define _CHKTYPENUM(typ) ((typ) ? (typ)->type_num : NPY_NOTYPE)
|
|
1925
|
+
|
|
1926
|
+
static PyObject *
|
|
1927
|
+
array_mean(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1928
|
+
{
|
|
1929
|
+
NPY_FORWARD_NDARRAY_METHOD("_mean");
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
static PyObject *
|
|
1933
|
+
array_sum(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1934
|
+
{
|
|
1935
|
+
NPY_FORWARD_NDARRAY_METHOD("_sum");
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
|
|
1939
|
+
static PyObject *
|
|
1940
|
+
array_cumsum(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1941
|
+
{
|
|
1942
|
+
int axis = NPY_MAXDIMS;
|
|
1943
|
+
PyArray_Descr *dtype = NULL;
|
|
1944
|
+
PyArrayObject *out = NULL;
|
|
1945
|
+
int rtype;
|
|
1946
|
+
static char *kwlist[] = {"axis", "dtype", "out", NULL};
|
|
1947
|
+
|
|
1948
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&O&", kwlist,
|
|
1949
|
+
PyArray_AxisConverter, &axis,
|
|
1950
|
+
PyArray_DescrConverter2, &dtype,
|
|
1951
|
+
PyArray_OutputConverter, &out)) {
|
|
1952
|
+
Py_XDECREF(dtype);
|
|
1953
|
+
return NULL;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
rtype = _CHKTYPENUM(dtype);
|
|
1957
|
+
Py_XDECREF(dtype);
|
|
1958
|
+
return PyArray_CumSum(self, axis, rtype, out);
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
static PyObject *
|
|
1962
|
+
array_prod(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1963
|
+
{
|
|
1964
|
+
NPY_FORWARD_NDARRAY_METHOD("_prod");
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
static PyObject *
|
|
1968
|
+
array_cumprod(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1969
|
+
{
|
|
1970
|
+
int axis = NPY_MAXDIMS;
|
|
1971
|
+
PyArray_Descr *dtype = NULL;
|
|
1972
|
+
PyArrayObject *out = NULL;
|
|
1973
|
+
int rtype;
|
|
1974
|
+
static char *kwlist[] = {"axis", "dtype", "out", NULL};
|
|
1975
|
+
|
|
1976
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&O&", kwlist,
|
|
1977
|
+
PyArray_AxisConverter, &axis,
|
|
1978
|
+
PyArray_DescrConverter2, &dtype,
|
|
1979
|
+
PyArray_OutputConverter, &out)) {
|
|
1980
|
+
Py_XDECREF(dtype);
|
|
1981
|
+
return NULL;
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1984
|
+
rtype = _CHKTYPENUM(dtype);
|
|
1985
|
+
Py_XDECREF(dtype);
|
|
1986
|
+
return PyArray_CumProd(self, axis, rtype, out);
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
static PyObject *
|
|
1991
|
+
array_dot(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1992
|
+
{
|
|
1993
|
+
static PyUFuncObject *cached_npy_dot = NULL;
|
|
1994
|
+
int errval;
|
|
1995
|
+
PyObject *override = NULL;
|
|
1996
|
+
PyObject *a = (PyObject *)self, *b, *o = Py_None;
|
|
1997
|
+
PyObject *newargs;
|
|
1998
|
+
PyArrayObject *ret;
|
|
1999
|
+
char* kwlist[] = {"b", "out", NULL };
|
|
2000
|
+
|
|
2001
|
+
|
|
2002
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O", kwlist, &b, &o)) {
|
|
2003
|
+
return NULL;
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
if (cached_npy_dot == NULL) {
|
|
2007
|
+
PyObject *module = PyImport_ImportModule("numpy.core.multiarray");
|
|
2008
|
+
cached_npy_dot = (PyUFuncObject*)PyDict_GetItemString(
|
|
2009
|
+
PyModule_GetDict(module), "dot");
|
|
2010
|
+
|
|
2011
|
+
Py_INCREF(cached_npy_dot);
|
|
2012
|
+
Py_DECREF(module);
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
if ((newargs = PyTuple_Pack(3, a, b, o)) == NULL) {
|
|
2016
|
+
return NULL;
|
|
2017
|
+
}
|
|
2018
|
+
errval = PyUFunc_CheckOverride(cached_npy_dot, "__call__",
|
|
2019
|
+
newargs, NULL, &override, 2);
|
|
2020
|
+
Py_DECREF(newargs);
|
|
2021
|
+
|
|
2022
|
+
if (errval) {
|
|
2023
|
+
return NULL;
|
|
2024
|
+
}
|
|
2025
|
+
else if (override) {
|
|
2026
|
+
return override;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
if (o == Py_None) {
|
|
2030
|
+
o = NULL;
|
|
2031
|
+
}
|
|
2032
|
+
if (o != NULL && !PyArray_Check(o)) {
|
|
2033
|
+
PyErr_SetString(PyExc_TypeError,
|
|
2034
|
+
"'out' must be an array");
|
|
2035
|
+
return NULL;
|
|
2036
|
+
}
|
|
2037
|
+
ret = (PyArrayObject *)PyArray_MatrixProduct2(a, b, (PyArrayObject *)o);
|
|
2038
|
+
return PyArray_Return(ret);
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
|
|
2042
|
+
static PyObject *
|
|
2043
|
+
array_any(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2044
|
+
{
|
|
2045
|
+
NPY_FORWARD_NDARRAY_METHOD("_any");
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
|
|
2049
|
+
static PyObject *
|
|
2050
|
+
array_all(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2051
|
+
{
|
|
2052
|
+
NPY_FORWARD_NDARRAY_METHOD("_all");
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
static PyObject *
|
|
2056
|
+
array_stddev(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2057
|
+
{
|
|
2058
|
+
NPY_FORWARD_NDARRAY_METHOD("_std");
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
static PyObject *
|
|
2062
|
+
array_variance(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2063
|
+
{
|
|
2064
|
+
NPY_FORWARD_NDARRAY_METHOD("_var");
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
static PyObject *
|
|
2068
|
+
array_compress(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2069
|
+
{
|
|
2070
|
+
int axis = NPY_MAXDIMS;
|
|
2071
|
+
PyObject *condition;
|
|
2072
|
+
PyArrayObject *out = NULL;
|
|
2073
|
+
static char *kwlist[] = {"condition", "axis", "out", NULL};
|
|
2074
|
+
|
|
2075
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O&", kwlist,
|
|
2076
|
+
&condition,
|
|
2077
|
+
PyArray_AxisConverter, &axis,
|
|
2078
|
+
PyArray_OutputConverter, &out)) {
|
|
2079
|
+
return NULL;
|
|
2080
|
+
}
|
|
2081
|
+
return PyArray_Return(
|
|
2082
|
+
(PyArrayObject *)PyArray_Compress(self, condition, axis, out));
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
|
|
2086
|
+
static PyObject *
|
|
2087
|
+
array_nonzero(PyArrayObject *self, PyObject *args)
|
|
2088
|
+
{
|
|
2089
|
+
if (!PyArg_ParseTuple(args, "")) {
|
|
2090
|
+
return NULL;
|
|
2091
|
+
}
|
|
2092
|
+
return PyArray_Nonzero(self);
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
|
|
2096
|
+
static PyObject *
|
|
2097
|
+
array_trace(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2098
|
+
{
|
|
2099
|
+
int axis1 = 0, axis2 = 1, offset = 0;
|
|
2100
|
+
PyArray_Descr *dtype = NULL;
|
|
2101
|
+
PyArrayObject *out = NULL;
|
|
2102
|
+
int rtype;
|
|
2103
|
+
static char *kwlist[] = {"offset", "axis1", "axis2", "dtype", "out", NULL};
|
|
2104
|
+
|
|
2105
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iiiO&O&", kwlist,
|
|
2106
|
+
&offset,
|
|
2107
|
+
&axis1,
|
|
2108
|
+
&axis2,
|
|
2109
|
+
PyArray_DescrConverter2, &dtype,
|
|
2110
|
+
PyArray_OutputConverter, &out)) {
|
|
2111
|
+
Py_XDECREF(dtype);
|
|
2112
|
+
return NULL;
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
rtype = _CHKTYPENUM(dtype);
|
|
2116
|
+
Py_XDECREF(dtype);
|
|
2117
|
+
return PyArray_Return((PyArrayObject *)PyArray_Trace(self, offset, axis1, axis2, rtype, out));
|
|
2118
|
+
}
|
|
2119
|
+
|
|
2120
|
+
#undef _CHKTYPENUM
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
static PyObject *
|
|
2124
|
+
array_clip(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2125
|
+
{
|
|
2126
|
+
PyObject *min = NULL, *max = NULL;
|
|
2127
|
+
PyArrayObject *out = NULL;
|
|
2128
|
+
static char *kwlist[] = {"min", "max", "out", NULL};
|
|
2129
|
+
|
|
2130
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOO&", kwlist,
|
|
2131
|
+
&min,
|
|
2132
|
+
&max,
|
|
2133
|
+
PyArray_OutputConverter, &out)) {
|
|
2134
|
+
return NULL;
|
|
2135
|
+
}
|
|
2136
|
+
if (max == NULL && min == NULL) {
|
|
2137
|
+
PyErr_SetString(PyExc_ValueError, "One of max or min must be given.");
|
|
2138
|
+
return NULL;
|
|
2139
|
+
}
|
|
2140
|
+
return PyArray_Return((PyArrayObject *)PyArray_Clip(self, min, max, out));
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
static PyObject *
|
|
2145
|
+
array_conjugate(PyArrayObject *self, PyObject *args)
|
|
2146
|
+
{
|
|
2147
|
+
|
|
2148
|
+
PyArrayObject *out = NULL;
|
|
2149
|
+
if (!PyArg_ParseTuple(args, "|O&",
|
|
2150
|
+
PyArray_OutputConverter,
|
|
2151
|
+
&out)) {
|
|
2152
|
+
return NULL;
|
|
2153
|
+
}
|
|
2154
|
+
return PyArray_Conjugate(self, out);
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
|
|
2158
|
+
static PyObject *
|
|
2159
|
+
array_diagonal(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2160
|
+
{
|
|
2161
|
+
int axis1 = 0, axis2 = 1, offset = 0;
|
|
2162
|
+
static char *kwlist[] = {"offset", "axis1", "axis2", NULL};
|
|
2163
|
+
PyArrayObject *ret;
|
|
2164
|
+
|
|
2165
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iii", kwlist,
|
|
2166
|
+
&offset,
|
|
2167
|
+
&axis1,
|
|
2168
|
+
&axis2)) {
|
|
2169
|
+
return NULL;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
ret = (PyArrayObject *)PyArray_Diagonal(self, offset, axis1, axis2);
|
|
2173
|
+
return PyArray_Return(ret);
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
|
|
2177
|
+
static PyObject *
|
|
2178
|
+
array_flatten(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2179
|
+
{
|
|
2180
|
+
NPY_ORDER order = NPY_CORDER;
|
|
2181
|
+
static char *kwlist[] = {"order", NULL};
|
|
2182
|
+
|
|
2183
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&", kwlist,
|
|
2184
|
+
PyArray_OrderConverter, &order)) {
|
|
2185
|
+
return NULL;
|
|
2186
|
+
}
|
|
2187
|
+
return PyArray_Flatten(self, order);
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
static PyObject *
|
|
2192
|
+
array_ravel(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2193
|
+
{
|
|
2194
|
+
NPY_ORDER order = NPY_CORDER;
|
|
2195
|
+
static char *kwlist[] = {"order", NULL};
|
|
2196
|
+
|
|
2197
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&", kwlist,
|
|
2198
|
+
PyArray_OrderConverter, &order)) {
|
|
2199
|
+
return NULL;
|
|
2200
|
+
}
|
|
2201
|
+
return PyArray_Ravel(self, order);
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
static PyObject *
|
|
2206
|
+
array_round(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2207
|
+
{
|
|
2208
|
+
int decimals = 0;
|
|
2209
|
+
PyArrayObject *out = NULL;
|
|
2210
|
+
static char *kwlist[] = {"decimals", "out", NULL};
|
|
2211
|
+
|
|
2212
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO&", kwlist,
|
|
2213
|
+
&decimals,
|
|
2214
|
+
PyArray_OutputConverter, &out)) {
|
|
2215
|
+
return NULL;
|
|
2216
|
+
}
|
|
2217
|
+
return PyArray_Return((PyArrayObject *)PyArray_Round(self, decimals, out));
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
static PyObject *
|
|
2223
|
+
array_setflags(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2224
|
+
{
|
|
2225
|
+
static char *kwlist[] = {"write", "align", "uic", NULL};
|
|
2226
|
+
PyObject *write_flag = Py_None;
|
|
2227
|
+
PyObject *align_flag = Py_None;
|
|
2228
|
+
PyObject *uic = Py_None;
|
|
2229
|
+
int flagback = PyArray_FLAGS(self);
|
|
2230
|
+
|
|
2231
|
+
PyArrayObject_fields *fa = (PyArrayObject_fields *)self;
|
|
2232
|
+
|
|
2233
|
+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOO", kwlist,
|
|
2234
|
+
&write_flag,
|
|
2235
|
+
&align_flag,
|
|
2236
|
+
&uic))
|
|
2237
|
+
return NULL;
|
|
2238
|
+
|
|
2239
|
+
if (align_flag != Py_None) {
|
|
2240
|
+
if (PyObject_Not(align_flag)) {
|
|
2241
|
+
PyArray_CLEARFLAGS(self, NPY_ARRAY_ALIGNED);
|
|
2242
|
+
}
|
|
2243
|
+
else if (_IsAligned(self)) {
|
|
2244
|
+
PyArray_ENABLEFLAGS(self, NPY_ARRAY_ALIGNED);
|
|
2245
|
+
}
|
|
2246
|
+
else {
|
|
2247
|
+
PyErr_SetString(PyExc_ValueError,
|
|
2248
|
+
"cannot set aligned flag of mis-"\
|
|
2249
|
+
"aligned array to True");
|
|
2250
|
+
return NULL;
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
if (uic != Py_None) {
|
|
2255
|
+
if (PyObject_IsTrue(uic)) {
|
|
2256
|
+
fa->flags = flagback;
|
|
2257
|
+
PyErr_SetString(PyExc_ValueError,
|
|
2258
|
+
"cannot set UPDATEIFCOPY " \
|
|
2259
|
+
"flag to True");
|
|
2260
|
+
return NULL;
|
|
2261
|
+
}
|
|
2262
|
+
else {
|
|
2263
|
+
PyArray_CLEARFLAGS(self, NPY_ARRAY_UPDATEIFCOPY);
|
|
2264
|
+
Py_XDECREF(fa->base);
|
|
2265
|
+
fa->base = NULL;
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
if (write_flag != Py_None) {
|
|
2270
|
+
if (PyObject_IsTrue(write_flag)) {
|
|
2271
|
+
if (_IsWriteable(self)) {
|
|
2272
|
+
PyArray_ENABLEFLAGS(self, NPY_ARRAY_WRITEABLE);
|
|
2273
|
+
}
|
|
2274
|
+
else {
|
|
2275
|
+
fa->flags = flagback;
|
|
2276
|
+
PyErr_SetString(PyExc_ValueError,
|
|
2277
|
+
"cannot set WRITEABLE "
|
|
2278
|
+
"flag to True of this "
|
|
2279
|
+
"array");
|
|
2280
|
+
return NULL;
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
else {
|
|
2284
|
+
PyArray_CLEARFLAGS(self, NPY_ARRAY_WRITEABLE);
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
Py_RETURN_NONE;
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
|
|
2292
|
+
static PyObject *
|
|
2293
|
+
array_newbyteorder(PyArrayObject *self, PyObject *args)
|
|
2294
|
+
{
|
|
2295
|
+
char endian = NPY_SWAP;
|
|
2296
|
+
PyArray_Descr *new;
|
|
2297
|
+
|
|
2298
|
+
if (!PyArg_ParseTuple(args, "|O&", PyArray_ByteorderConverter,
|
|
2299
|
+
&endian)) {
|
|
2300
|
+
return NULL;
|
|
2301
|
+
}
|
|
2302
|
+
new = PyArray_DescrNewByteorder(PyArray_DESCR(self), endian);
|
|
2303
|
+
if (!new) {
|
|
2304
|
+
return NULL;
|
|
2305
|
+
}
|
|
2306
|
+
return PyArray_View(self, new, NULL);
|
|
2307
|
+
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
NPY_NO_EXPORT PyMethodDef array_methods[] = {
|
|
2311
|
+
|
|
2312
|
+
/* for subtypes */
|
|
2313
|
+
{"__array__",
|
|
2314
|
+
(PyCFunction)array_getarray,
|
|
2315
|
+
METH_VARARGS, NULL},
|
|
2316
|
+
{"__array_prepare__",
|
|
2317
|
+
(PyCFunction)array_preparearray,
|
|
2318
|
+
METH_VARARGS, NULL},
|
|
2319
|
+
{"__array_wrap__",
|
|
2320
|
+
(PyCFunction)array_wraparray,
|
|
2321
|
+
METH_VARARGS, NULL},
|
|
2322
|
+
|
|
2323
|
+
/* for the sys module */
|
|
2324
|
+
{"__sizeof__",
|
|
2325
|
+
(PyCFunction) array_sizeof,
|
|
2326
|
+
METH_NOARGS, NULL},
|
|
2327
|
+
|
|
2328
|
+
/* for the copy module */
|
|
2329
|
+
{"__copy__",
|
|
2330
|
+
(PyCFunction)array_copy_keeporder,
|
|
2331
|
+
METH_VARARGS, NULL},
|
|
2332
|
+
{"__deepcopy__",
|
|
2333
|
+
(PyCFunction)array_deepcopy,
|
|
2334
|
+
METH_VARARGS, NULL},
|
|
2335
|
+
|
|
2336
|
+
/* for Pickling */
|
|
2337
|
+
{"__reduce__",
|
|
2338
|
+
(PyCFunction) array_reduce,
|
|
2339
|
+
METH_VARARGS, NULL},
|
|
2340
|
+
{"__setstate__",
|
|
2341
|
+
(PyCFunction) array_setstate,
|
|
2342
|
+
METH_VARARGS, NULL},
|
|
2343
|
+
{"dumps",
|
|
2344
|
+
(PyCFunction) array_dumps,
|
|
2345
|
+
METH_VARARGS, NULL},
|
|
2346
|
+
{"dump",
|
|
2347
|
+
(PyCFunction) array_dump,
|
|
2348
|
+
METH_VARARGS, NULL},
|
|
2349
|
+
|
|
2350
|
+
/* Original and Extended methods added 2005 */
|
|
2351
|
+
{"all",
|
|
2352
|
+
(PyCFunction)array_all,
|
|
2353
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2354
|
+
{"any",
|
|
2355
|
+
(PyCFunction)array_any,
|
|
2356
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2357
|
+
{"argmax",
|
|
2358
|
+
(PyCFunction)array_argmax,
|
|
2359
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2360
|
+
{"argmin",
|
|
2361
|
+
(PyCFunction)array_argmin,
|
|
2362
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2363
|
+
{"argpartition",
|
|
2364
|
+
(PyCFunction)array_argpartition,
|
|
2365
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2366
|
+
{"argsort",
|
|
2367
|
+
(PyCFunction)array_argsort,
|
|
2368
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2369
|
+
{"astype",
|
|
2370
|
+
(PyCFunction)array_astype,
|
|
2371
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2372
|
+
{"byteswap",
|
|
2373
|
+
(PyCFunction)array_byteswap,
|
|
2374
|
+
METH_VARARGS, NULL},
|
|
2375
|
+
{"choose",
|
|
2376
|
+
(PyCFunction)array_choose,
|
|
2377
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2378
|
+
{"clip",
|
|
2379
|
+
(PyCFunction)array_clip,
|
|
2380
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2381
|
+
{"compress",
|
|
2382
|
+
(PyCFunction)array_compress,
|
|
2383
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2384
|
+
{"conj",
|
|
2385
|
+
(PyCFunction)array_conjugate,
|
|
2386
|
+
METH_VARARGS, NULL},
|
|
2387
|
+
{"conjugate",
|
|
2388
|
+
(PyCFunction)array_conjugate,
|
|
2389
|
+
METH_VARARGS, NULL},
|
|
2390
|
+
{"copy",
|
|
2391
|
+
(PyCFunction)array_copy,
|
|
2392
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2393
|
+
{"cumprod",
|
|
2394
|
+
(PyCFunction)array_cumprod,
|
|
2395
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2396
|
+
{"cumsum",
|
|
2397
|
+
(PyCFunction)array_cumsum,
|
|
2398
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2399
|
+
{"diagonal",
|
|
2400
|
+
(PyCFunction)array_diagonal,
|
|
2401
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2402
|
+
{"dot",
|
|
2403
|
+
(PyCFunction)array_dot,
|
|
2404
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2405
|
+
{"fill",
|
|
2406
|
+
(PyCFunction)array_fill,
|
|
2407
|
+
METH_VARARGS, NULL},
|
|
2408
|
+
{"flatten",
|
|
2409
|
+
(PyCFunction)array_flatten,
|
|
2410
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2411
|
+
{"getfield",
|
|
2412
|
+
(PyCFunction)array_getfield,
|
|
2413
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2414
|
+
{"item",
|
|
2415
|
+
(PyCFunction)array_toscalar,
|
|
2416
|
+
METH_VARARGS, NULL},
|
|
2417
|
+
{"itemset",
|
|
2418
|
+
(PyCFunction) array_setscalar,
|
|
2419
|
+
METH_VARARGS, NULL},
|
|
2420
|
+
{"max",
|
|
2421
|
+
(PyCFunction)array_max,
|
|
2422
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2423
|
+
{"mean",
|
|
2424
|
+
(PyCFunction)array_mean,
|
|
2425
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2426
|
+
{"min",
|
|
2427
|
+
(PyCFunction)array_min,
|
|
2428
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2429
|
+
{"newbyteorder",
|
|
2430
|
+
(PyCFunction)array_newbyteorder,
|
|
2431
|
+
METH_VARARGS, NULL},
|
|
2432
|
+
{"nonzero",
|
|
2433
|
+
(PyCFunction)array_nonzero,
|
|
2434
|
+
METH_VARARGS, NULL},
|
|
2435
|
+
{"partition",
|
|
2436
|
+
(PyCFunction)array_partition,
|
|
2437
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2438
|
+
{"prod",
|
|
2439
|
+
(PyCFunction)array_prod,
|
|
2440
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2441
|
+
{"ptp",
|
|
2442
|
+
(PyCFunction)array_ptp,
|
|
2443
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2444
|
+
{"put",
|
|
2445
|
+
(PyCFunction)array_put,
|
|
2446
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2447
|
+
{"ravel",
|
|
2448
|
+
(PyCFunction)array_ravel,
|
|
2449
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2450
|
+
{"repeat",
|
|
2451
|
+
(PyCFunction)array_repeat,
|
|
2452
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2453
|
+
{"reshape",
|
|
2454
|
+
(PyCFunction)array_reshape,
|
|
2455
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2456
|
+
{"resize",
|
|
2457
|
+
(PyCFunction)array_resize,
|
|
2458
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2459
|
+
{"round",
|
|
2460
|
+
(PyCFunction)array_round,
|
|
2461
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2462
|
+
{"searchsorted",
|
|
2463
|
+
(PyCFunction)array_searchsorted,
|
|
2464
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2465
|
+
{"setfield",
|
|
2466
|
+
(PyCFunction)array_setfield,
|
|
2467
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2468
|
+
{"setflags",
|
|
2469
|
+
(PyCFunction)array_setflags,
|
|
2470
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2471
|
+
{"sort",
|
|
2472
|
+
(PyCFunction)array_sort,
|
|
2473
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2474
|
+
{"squeeze",
|
|
2475
|
+
(PyCFunction)array_squeeze,
|
|
2476
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2477
|
+
{"std",
|
|
2478
|
+
(PyCFunction)array_stddev,
|
|
2479
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2480
|
+
{"sum",
|
|
2481
|
+
(PyCFunction)array_sum,
|
|
2482
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2483
|
+
{"swapaxes",
|
|
2484
|
+
(PyCFunction)array_swapaxes,
|
|
2485
|
+
METH_VARARGS, NULL},
|
|
2486
|
+
{"take",
|
|
2487
|
+
(PyCFunction)array_take,
|
|
2488
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2489
|
+
{"tobytes",
|
|
2490
|
+
(PyCFunction)array_tobytes,
|
|
2491
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2492
|
+
{"tofile",
|
|
2493
|
+
(PyCFunction)array_tofile,
|
|
2494
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2495
|
+
{"tolist",
|
|
2496
|
+
(PyCFunction)array_tolist,
|
|
2497
|
+
METH_VARARGS, NULL},
|
|
2498
|
+
{"tostring",
|
|
2499
|
+
(PyCFunction)array_tobytes,
|
|
2500
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2501
|
+
{"trace",
|
|
2502
|
+
(PyCFunction)array_trace,
|
|
2503
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2504
|
+
{"transpose",
|
|
2505
|
+
(PyCFunction)array_transpose,
|
|
2506
|
+
METH_VARARGS, NULL},
|
|
2507
|
+
{"var",
|
|
2508
|
+
(PyCFunction)array_variance,
|
|
2509
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2510
|
+
{"view",
|
|
2511
|
+
(PyCFunction)array_view,
|
|
2512
|
+
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2513
|
+
{NULL, NULL, 0, NULL} /* sentinel */
|
|
2514
|
+
};
|