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.
Potentially problematic release.
This version of numpy might be problematic. Click here for more details.
- 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
|
@@ -1,2497 +0,0 @@
|
|
|
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
|
-
|
|
13
|
-
#include "npy_pycompat.h"
|
|
14
|
-
|
|
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_INCREF(Py_None);
|
|
154
|
-
return Py_None;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
static PyObject *
|
|
158
|
-
array_put(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
159
|
-
{
|
|
160
|
-
PyObject *indices, *values;
|
|
161
|
-
NPY_CLIPMODE mode = NPY_RAISE;
|
|
162
|
-
static char *kwlist[] = {"indices", "values", "mode", NULL};
|
|
163
|
-
|
|
164
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO|O&", kwlist,
|
|
165
|
-
&indices,
|
|
166
|
-
&values,
|
|
167
|
-
PyArray_ClipmodeConverter, &mode))
|
|
168
|
-
return NULL;
|
|
169
|
-
return PyArray_PutTo(self, values, indices, mode);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
static PyObject *
|
|
173
|
-
array_reshape(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
174
|
-
{
|
|
175
|
-
static char *keywords[] = {"order", NULL};
|
|
176
|
-
PyArray_Dims newshape;
|
|
177
|
-
PyObject *ret;
|
|
178
|
-
NPY_ORDER order = NPY_CORDER;
|
|
179
|
-
Py_ssize_t n = PyTuple_Size(args);
|
|
180
|
-
|
|
181
|
-
if (!NpyArg_ParseKeywords(kwds, "|O&", keywords,
|
|
182
|
-
PyArray_OrderConverter, &order)) {
|
|
183
|
-
return NULL;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
if (n <= 1) {
|
|
187
|
-
if (PyTuple_GET_ITEM(args, 0) == Py_None) {
|
|
188
|
-
return PyArray_View(self, NULL, NULL);
|
|
189
|
-
}
|
|
190
|
-
if (!PyArg_ParseTuple(args, "O&", PyArray_IntpConverter,
|
|
191
|
-
&newshape)) {
|
|
192
|
-
return NULL;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
else {
|
|
196
|
-
if (!PyArray_IntpConverter(args, &newshape)) {
|
|
197
|
-
if (!PyErr_Occurred()) {
|
|
198
|
-
PyErr_SetString(PyExc_TypeError,
|
|
199
|
-
"invalid shape");
|
|
200
|
-
}
|
|
201
|
-
goto fail;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
ret = PyArray_Newshape(self, &newshape, order);
|
|
205
|
-
PyDimMem_FREE(newshape.ptr);
|
|
206
|
-
return ret;
|
|
207
|
-
|
|
208
|
-
fail:
|
|
209
|
-
PyDimMem_FREE(newshape.ptr);
|
|
210
|
-
return NULL;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
static PyObject *
|
|
214
|
-
array_squeeze(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
215
|
-
{
|
|
216
|
-
PyObject *axis_in = NULL;
|
|
217
|
-
npy_bool axis_flags[NPY_MAXDIMS];
|
|
218
|
-
|
|
219
|
-
static char *kwlist[] = {"axis", NULL};
|
|
220
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O", kwlist,
|
|
221
|
-
&axis_in)) {
|
|
222
|
-
return NULL;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
if (axis_in == NULL || axis_in == Py_None) {
|
|
226
|
-
return PyArray_Squeeze(self);
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
if (PyArray_ConvertMultiAxis(axis_in, PyArray_NDIM(self),
|
|
230
|
-
axis_flags) != NPY_SUCCEED) {
|
|
231
|
-
return NULL;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
return PyArray_SqueezeSelected(self, axis_flags);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
static PyObject *
|
|
239
|
-
array_view(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
240
|
-
{
|
|
241
|
-
PyObject *out_dtype = NULL;
|
|
242
|
-
PyObject *out_type = NULL;
|
|
243
|
-
PyArray_Descr *dtype = NULL;
|
|
244
|
-
|
|
245
|
-
static char *kwlist[] = {"dtype", "type", NULL};
|
|
246
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OO", kwlist,
|
|
247
|
-
&out_dtype,
|
|
248
|
-
&out_type)) {
|
|
249
|
-
return NULL;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/* If user specified a positional argument, guess whether it
|
|
253
|
-
represents a type or a dtype for backward compatibility. */
|
|
254
|
-
if (out_dtype) {
|
|
255
|
-
/* type specified? */
|
|
256
|
-
if (PyType_Check(out_dtype) &&
|
|
257
|
-
PyType_IsSubtype((PyTypeObject *)out_dtype,
|
|
258
|
-
&PyArray_Type)) {
|
|
259
|
-
if (out_type) {
|
|
260
|
-
PyErr_SetString(PyExc_ValueError,
|
|
261
|
-
"Cannot specify output type twice.");
|
|
262
|
-
return NULL;
|
|
263
|
-
}
|
|
264
|
-
out_type = out_dtype;
|
|
265
|
-
out_dtype = NULL;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
if ((out_type) && (!PyType_Check(out_type) ||
|
|
270
|
-
!PyType_IsSubtype((PyTypeObject *)out_type,
|
|
271
|
-
&PyArray_Type))) {
|
|
272
|
-
PyErr_SetString(PyExc_ValueError,
|
|
273
|
-
"Type must be a sub-type of ndarray type");
|
|
274
|
-
return NULL;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
if ((out_dtype) &&
|
|
278
|
-
(PyArray_DescrConverter(out_dtype, &dtype) == NPY_FAIL)) {
|
|
279
|
-
return NULL;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
return PyArray_View(self, dtype, (PyTypeObject*)out_type);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
static PyObject *
|
|
286
|
-
array_argmax(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
287
|
-
{
|
|
288
|
-
int axis = NPY_MAXDIMS;
|
|
289
|
-
PyArrayObject *out = NULL;
|
|
290
|
-
static char *kwlist[] = {"axis", "out", NULL};
|
|
291
|
-
|
|
292
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&", kwlist,
|
|
293
|
-
PyArray_AxisConverter, &axis,
|
|
294
|
-
PyArray_OutputConverter, &out))
|
|
295
|
-
return NULL;
|
|
296
|
-
|
|
297
|
-
return PyArray_Return((PyArrayObject *)PyArray_ArgMax(self, axis, out));
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
static PyObject *
|
|
301
|
-
array_argmin(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
302
|
-
{
|
|
303
|
-
int axis = NPY_MAXDIMS;
|
|
304
|
-
PyArrayObject *out = NULL;
|
|
305
|
-
static char *kwlist[] = {"axis", "out", NULL};
|
|
306
|
-
|
|
307
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&", kwlist,
|
|
308
|
-
PyArray_AxisConverter, &axis,
|
|
309
|
-
PyArray_OutputConverter, &out))
|
|
310
|
-
return NULL;
|
|
311
|
-
|
|
312
|
-
return PyArray_Return((PyArrayObject *)PyArray_ArgMin(self, axis, out));
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
static PyObject *
|
|
316
|
-
array_max(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
317
|
-
{
|
|
318
|
-
NPY_FORWARD_NDARRAY_METHOD("_amax");
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
static PyObject *
|
|
322
|
-
array_min(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
323
|
-
{
|
|
324
|
-
NPY_FORWARD_NDARRAY_METHOD("_amin");
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
static PyObject *
|
|
328
|
-
array_ptp(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
329
|
-
{
|
|
330
|
-
int axis = NPY_MAXDIMS;
|
|
331
|
-
PyArrayObject *out = NULL;
|
|
332
|
-
static char *kwlist[] = {"axis", "out", NULL};
|
|
333
|
-
|
|
334
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&", kwlist,
|
|
335
|
-
PyArray_AxisConverter, &axis,
|
|
336
|
-
PyArray_OutputConverter, &out))
|
|
337
|
-
return NULL;
|
|
338
|
-
|
|
339
|
-
return PyArray_Ptp(self, axis, out);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
static PyObject *
|
|
344
|
-
array_swapaxes(PyArrayObject *self, PyObject *args)
|
|
345
|
-
{
|
|
346
|
-
int axis1, axis2;
|
|
347
|
-
|
|
348
|
-
if (!PyArg_ParseTuple(args, "ii", &axis1, &axis2)) {
|
|
349
|
-
return NULL;
|
|
350
|
-
}
|
|
351
|
-
return PyArray_SwapAxes(self, axis1, axis2);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
/*NUMPY_API
|
|
356
|
-
Get a subset of bytes from each element of the array
|
|
357
|
-
steals reference to typed, must not be NULL
|
|
358
|
-
*/
|
|
359
|
-
NPY_NO_EXPORT PyObject *
|
|
360
|
-
PyArray_GetField(PyArrayObject *self, PyArray_Descr *typed, int offset)
|
|
361
|
-
{
|
|
362
|
-
PyObject *ret = NULL;
|
|
363
|
-
|
|
364
|
-
if (offset < 0 || (offset + typed->elsize) > PyArray_DESCR(self)->elsize) {
|
|
365
|
-
PyErr_Format(PyExc_ValueError,
|
|
366
|
-
"Need 0 <= offset <= %d for requested type "
|
|
367
|
-
"but received offset = %d",
|
|
368
|
-
PyArray_DESCR(self)->elsize-typed->elsize, offset);
|
|
369
|
-
Py_DECREF(typed);
|
|
370
|
-
return NULL;
|
|
371
|
-
}
|
|
372
|
-
ret = PyArray_NewFromDescr(Py_TYPE(self),
|
|
373
|
-
typed,
|
|
374
|
-
PyArray_NDIM(self), PyArray_DIMS(self),
|
|
375
|
-
PyArray_STRIDES(self),
|
|
376
|
-
PyArray_BYTES(self) + offset,
|
|
377
|
-
PyArray_FLAGS(self)&(~NPY_ARRAY_F_CONTIGUOUS),
|
|
378
|
-
(PyObject *)self);
|
|
379
|
-
if (ret == NULL) {
|
|
380
|
-
return NULL;
|
|
381
|
-
}
|
|
382
|
-
Py_INCREF(self);
|
|
383
|
-
if (PyArray_SetBaseObject(((PyArrayObject *)ret), (PyObject *)self) < 0) {
|
|
384
|
-
Py_DECREF(ret);
|
|
385
|
-
return NULL;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
PyArray_UpdateFlags((PyArrayObject *)ret, NPY_ARRAY_UPDATE_ALL);
|
|
389
|
-
return ret;
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
static PyObject *
|
|
393
|
-
array_getfield(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
394
|
-
{
|
|
395
|
-
|
|
396
|
-
PyArray_Descr *dtype = NULL;
|
|
397
|
-
int offset = 0;
|
|
398
|
-
static char *kwlist[] = {"dtype", "offset", 0};
|
|
399
|
-
|
|
400
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&|i", kwlist,
|
|
401
|
-
PyArray_DescrConverter, &dtype,
|
|
402
|
-
&offset)) {
|
|
403
|
-
Py_XDECREF(dtype);
|
|
404
|
-
return NULL;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
return PyArray_GetField(self, dtype, offset);
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
/*NUMPY_API
|
|
412
|
-
Set a subset of bytes from each element of the array
|
|
413
|
-
steals reference to dtype, must not be NULL
|
|
414
|
-
*/
|
|
415
|
-
NPY_NO_EXPORT int
|
|
416
|
-
PyArray_SetField(PyArrayObject *self, PyArray_Descr *dtype,
|
|
417
|
-
int offset, PyObject *val)
|
|
418
|
-
{
|
|
419
|
-
PyObject *ret = NULL;
|
|
420
|
-
int retval = 0;
|
|
421
|
-
|
|
422
|
-
if (offset < 0 || (offset + dtype->elsize) > PyArray_DESCR(self)->elsize) {
|
|
423
|
-
PyErr_Format(PyExc_ValueError,
|
|
424
|
-
"Need 0 <= offset <= %d for requested type "
|
|
425
|
-
"but received offset = %d",
|
|
426
|
-
PyArray_DESCR(self)->elsize-dtype->elsize, offset);
|
|
427
|
-
Py_DECREF(dtype);
|
|
428
|
-
return -1;
|
|
429
|
-
}
|
|
430
|
-
ret = PyArray_NewFromDescr(Py_TYPE(self),
|
|
431
|
-
dtype, PyArray_NDIM(self), PyArray_DIMS(self),
|
|
432
|
-
PyArray_STRIDES(self), PyArray_BYTES(self) + offset,
|
|
433
|
-
PyArray_FLAGS(self), (PyObject *)self);
|
|
434
|
-
if (ret == NULL) {
|
|
435
|
-
return -1;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
PyArray_UpdateFlags((PyArrayObject *)ret, NPY_ARRAY_UPDATE_ALL);
|
|
439
|
-
retval = PyArray_CopyObject((PyArrayObject *)ret, val);
|
|
440
|
-
Py_DECREF(ret);
|
|
441
|
-
return retval;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
static PyObject *
|
|
445
|
-
array_setfield(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
446
|
-
{
|
|
447
|
-
PyArray_Descr *dtype = NULL;
|
|
448
|
-
int offset = 0;
|
|
449
|
-
PyObject *value;
|
|
450
|
-
static char *kwlist[] = {"value", "dtype", "offset", 0};
|
|
451
|
-
|
|
452
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OO&|i", kwlist,
|
|
453
|
-
&value,
|
|
454
|
-
PyArray_DescrConverter, &dtype,
|
|
455
|
-
&offset)) {
|
|
456
|
-
Py_XDECREF(dtype);
|
|
457
|
-
return NULL;
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
if (PyDataType_REFCHK(PyArray_DESCR(self))) {
|
|
461
|
-
PyErr_SetString(PyExc_RuntimeError,
|
|
462
|
-
"cannot call setfield on an object array");
|
|
463
|
-
Py_DECREF(dtype);
|
|
464
|
-
return NULL;
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
if (PyArray_SetField(self, dtype, offset, value) < 0) {
|
|
468
|
-
return NULL;
|
|
469
|
-
}
|
|
470
|
-
Py_INCREF(Py_None);
|
|
471
|
-
return Py_None;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/* This doesn't change the descriptor just the actual data...
|
|
475
|
-
*/
|
|
476
|
-
|
|
477
|
-
/*NUMPY_API*/
|
|
478
|
-
NPY_NO_EXPORT PyObject *
|
|
479
|
-
PyArray_Byteswap(PyArrayObject *self, npy_bool inplace)
|
|
480
|
-
{
|
|
481
|
-
PyArrayObject *ret;
|
|
482
|
-
npy_intp size;
|
|
483
|
-
PyArray_CopySwapNFunc *copyswapn;
|
|
484
|
-
PyArrayIterObject *it;
|
|
485
|
-
|
|
486
|
-
copyswapn = PyArray_DESCR(self)->f->copyswapn;
|
|
487
|
-
if (inplace) {
|
|
488
|
-
if (PyArray_FailUnlessWriteable(self, "array to be byte-swapped") < 0) {
|
|
489
|
-
return NULL;
|
|
490
|
-
}
|
|
491
|
-
size = PyArray_SIZE(self);
|
|
492
|
-
if (PyArray_ISONESEGMENT(self)) {
|
|
493
|
-
copyswapn(PyArray_DATA(self), PyArray_DESCR(self)->elsize, NULL, -1, size, 1, self);
|
|
494
|
-
}
|
|
495
|
-
else { /* Use iterator */
|
|
496
|
-
int axis = -1;
|
|
497
|
-
npy_intp stride;
|
|
498
|
-
it = (PyArrayIterObject *) \
|
|
499
|
-
PyArray_IterAllButAxis((PyObject *)self, &axis);
|
|
500
|
-
stride = PyArray_STRIDES(self)[axis];
|
|
501
|
-
size = PyArray_DIMS(self)[axis];
|
|
502
|
-
while (it->index < it->size) {
|
|
503
|
-
copyswapn(it->dataptr, stride, NULL, -1, size, 1, self);
|
|
504
|
-
PyArray_ITER_NEXT(it);
|
|
505
|
-
}
|
|
506
|
-
Py_DECREF(it);
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
Py_INCREF(self);
|
|
510
|
-
return (PyObject *)self;
|
|
511
|
-
}
|
|
512
|
-
else {
|
|
513
|
-
PyObject *new;
|
|
514
|
-
if ((ret = (PyArrayObject *)PyArray_NewCopy(self,-1)) == NULL) {
|
|
515
|
-
return NULL;
|
|
516
|
-
}
|
|
517
|
-
new = PyArray_Byteswap(ret, NPY_TRUE);
|
|
518
|
-
Py_DECREF(new);
|
|
519
|
-
return (PyObject *)ret;
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
static PyObject *
|
|
525
|
-
array_byteswap(PyArrayObject *self, PyObject *args)
|
|
526
|
-
{
|
|
527
|
-
npy_bool inplace = NPY_FALSE;
|
|
528
|
-
|
|
529
|
-
if (!PyArg_ParseTuple(args, "|O&",
|
|
530
|
-
PyArray_BoolConverter, &inplace)) {
|
|
531
|
-
return NULL;
|
|
532
|
-
}
|
|
533
|
-
return PyArray_Byteswap(self, inplace);
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
static PyObject *
|
|
537
|
-
array_tolist(PyArrayObject *self, PyObject *args)
|
|
538
|
-
{
|
|
539
|
-
if (!PyArg_ParseTuple(args, "")) {
|
|
540
|
-
return NULL;
|
|
541
|
-
}
|
|
542
|
-
return PyArray_ToList(self);
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
static PyObject *
|
|
547
|
-
array_tobytes(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
548
|
-
{
|
|
549
|
-
NPY_ORDER order = NPY_CORDER;
|
|
550
|
-
static char *kwlist[] = {"order", NULL};
|
|
551
|
-
|
|
552
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&", kwlist,
|
|
553
|
-
PyArray_OrderConverter, &order)) {
|
|
554
|
-
return NULL;
|
|
555
|
-
}
|
|
556
|
-
return PyArray_ToString(self, order);
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
/* This should grow an order= keyword to be consistent
|
|
561
|
-
*/
|
|
562
|
-
|
|
563
|
-
static PyObject *
|
|
564
|
-
array_tofile(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
565
|
-
{
|
|
566
|
-
int own;
|
|
567
|
-
PyObject *file;
|
|
568
|
-
FILE *fd;
|
|
569
|
-
char *sep = "";
|
|
570
|
-
char *format = "";
|
|
571
|
-
npy_off_t orig_pos;
|
|
572
|
-
static char *kwlist[] = {"file", "sep", "format", NULL};
|
|
573
|
-
|
|
574
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|ss", kwlist,
|
|
575
|
-
&file,
|
|
576
|
-
&sep,
|
|
577
|
-
&format)) {
|
|
578
|
-
return NULL;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
if (PyBytes_Check(file) || PyUnicode_Check(file)) {
|
|
582
|
-
file = npy_PyFile_OpenFile(file, "wb");
|
|
583
|
-
if (file == NULL) {
|
|
584
|
-
return NULL;
|
|
585
|
-
}
|
|
586
|
-
own = 1;
|
|
587
|
-
}
|
|
588
|
-
else {
|
|
589
|
-
Py_INCREF(file);
|
|
590
|
-
own = 0;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
fd = npy_PyFile_Dup2(file, "wb", &orig_pos);
|
|
594
|
-
if (fd == NULL) {
|
|
595
|
-
PyErr_SetString(PyExc_IOError,
|
|
596
|
-
"first argument must be a string or open file");
|
|
597
|
-
goto fail;
|
|
598
|
-
}
|
|
599
|
-
if (PyArray_ToFile(self, fd, sep, format) < 0) {
|
|
600
|
-
goto fail;
|
|
601
|
-
}
|
|
602
|
-
if (npy_PyFile_DupClose2(file, fd, orig_pos) < 0) {
|
|
603
|
-
goto fail;
|
|
604
|
-
}
|
|
605
|
-
if (own && npy_PyFile_CloseFile(file) < 0) {
|
|
606
|
-
goto fail;
|
|
607
|
-
}
|
|
608
|
-
Py_DECREF(file);
|
|
609
|
-
Py_INCREF(Py_None);
|
|
610
|
-
return Py_None;
|
|
611
|
-
|
|
612
|
-
fail:
|
|
613
|
-
Py_DECREF(file);
|
|
614
|
-
return NULL;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
static PyObject *
|
|
618
|
-
array_toscalar(PyArrayObject *self, PyObject *args)
|
|
619
|
-
{
|
|
620
|
-
npy_intp multi_index[NPY_MAXDIMS];
|
|
621
|
-
int n = PyTuple_GET_SIZE(args);
|
|
622
|
-
int idim, ndim = PyArray_NDIM(self);
|
|
623
|
-
|
|
624
|
-
/* If there is a tuple as a single argument, treat it as the argument */
|
|
625
|
-
if (n == 1 && PyTuple_Check(PyTuple_GET_ITEM(args, 0))) {
|
|
626
|
-
args = PyTuple_GET_ITEM(args, 0);
|
|
627
|
-
n = PyTuple_GET_SIZE(args);
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
if (n == 0) {
|
|
631
|
-
if (PyArray_SIZE(self) == 1) {
|
|
632
|
-
for (idim = 0; idim < ndim; ++idim) {
|
|
633
|
-
multi_index[idim] = 0;
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
else {
|
|
637
|
-
PyErr_SetString(PyExc_ValueError,
|
|
638
|
-
"can only convert an array of size 1 to a Python scalar");
|
|
639
|
-
return NULL;
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
/* Special case of C-order flat indexing... :| */
|
|
643
|
-
else if (n == 1 && ndim != 1) {
|
|
644
|
-
npy_intp *shape = PyArray_SHAPE(self);
|
|
645
|
-
npy_intp value, size = PyArray_SIZE(self);
|
|
646
|
-
|
|
647
|
-
value = PyArray_PyIntAsIntp(PyTuple_GET_ITEM(args, 0));
|
|
648
|
-
if (value == -1 && PyErr_Occurred()) {
|
|
649
|
-
return NULL;
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
if (check_and_adjust_index(&value, size, -1, NULL) < 0) {
|
|
653
|
-
return NULL;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
/* Convert the flat index into a multi-index */
|
|
657
|
-
for (idim = ndim-1; idim >= 0; --idim) {
|
|
658
|
-
multi_index[idim] = value % shape[idim];
|
|
659
|
-
value /= shape[idim];
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
/* A multi-index tuple */
|
|
663
|
-
else if (n == ndim) {
|
|
664
|
-
npy_intp value;
|
|
665
|
-
|
|
666
|
-
for (idim = 0; idim < ndim; ++idim) {
|
|
667
|
-
value = PyArray_PyIntAsIntp(PyTuple_GET_ITEM(args, idim));
|
|
668
|
-
if (value == -1 && PyErr_Occurred()) {
|
|
669
|
-
return NULL;
|
|
670
|
-
}
|
|
671
|
-
multi_index[idim] = value;
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
else {
|
|
675
|
-
PyErr_SetString(PyExc_ValueError,
|
|
676
|
-
"incorrect number of indices for array");
|
|
677
|
-
return NULL;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
return PyArray_MultiIndexGetItem(self, multi_index);
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
static PyObject *
|
|
684
|
-
array_setscalar(PyArrayObject *self, PyObject *args)
|
|
685
|
-
{
|
|
686
|
-
npy_intp multi_index[NPY_MAXDIMS];
|
|
687
|
-
int n = PyTuple_GET_SIZE(args) - 1;
|
|
688
|
-
int idim, ndim = PyArray_NDIM(self);
|
|
689
|
-
PyObject *obj;
|
|
690
|
-
|
|
691
|
-
if (n < 0) {
|
|
692
|
-
PyErr_SetString(PyExc_ValueError,
|
|
693
|
-
"itemset must have at least one argument");
|
|
694
|
-
return NULL;
|
|
695
|
-
}
|
|
696
|
-
if (PyArray_FailUnlessWriteable(self, "assignment destination") < 0) {
|
|
697
|
-
return NULL;
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
obj = PyTuple_GET_ITEM(args, n);
|
|
701
|
-
|
|
702
|
-
/* If there is a tuple as a single argument, treat it as the argument */
|
|
703
|
-
if (n == 1 && PyTuple_Check(PyTuple_GET_ITEM(args, 0))) {
|
|
704
|
-
args = PyTuple_GET_ITEM(args, 0);
|
|
705
|
-
n = PyTuple_GET_SIZE(args);
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
if (n == 0) {
|
|
709
|
-
if (PyArray_SIZE(self) == 1) {
|
|
710
|
-
for (idim = 0; idim < ndim; ++idim) {
|
|
711
|
-
multi_index[idim] = 0;
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
else {
|
|
715
|
-
PyErr_SetString(PyExc_ValueError,
|
|
716
|
-
"can only convert an array of size 1 to a Python scalar");
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
/* Special case of C-order flat indexing... :| */
|
|
720
|
-
else if (n == 1 && ndim != 1) {
|
|
721
|
-
npy_intp *shape = PyArray_SHAPE(self);
|
|
722
|
-
npy_intp value, size = PyArray_SIZE(self);
|
|
723
|
-
|
|
724
|
-
value = PyArray_PyIntAsIntp(PyTuple_GET_ITEM(args, 0));
|
|
725
|
-
if (value == -1 && PyErr_Occurred()) {
|
|
726
|
-
return NULL;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
if (check_and_adjust_index(&value, size, -1, NULL) < 0) {
|
|
730
|
-
return NULL;
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
/* Convert the flat index into a multi-index */
|
|
734
|
-
for (idim = ndim-1; idim >= 0; --idim) {
|
|
735
|
-
multi_index[idim] = value % shape[idim];
|
|
736
|
-
value /= shape[idim];
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
/* A multi-index tuple */
|
|
740
|
-
else if (n == ndim) {
|
|
741
|
-
npy_intp value;
|
|
742
|
-
|
|
743
|
-
for (idim = 0; idim < ndim; ++idim) {
|
|
744
|
-
value = PyArray_PyIntAsIntp(PyTuple_GET_ITEM(args, idim));
|
|
745
|
-
if (value == -1 && PyErr_Occurred()) {
|
|
746
|
-
return NULL;
|
|
747
|
-
}
|
|
748
|
-
multi_index[idim] = value;
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
else {
|
|
752
|
-
PyErr_SetString(PyExc_ValueError,
|
|
753
|
-
"incorrect number of indices for array");
|
|
754
|
-
return NULL;
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
if (PyArray_MultiIndexSetItem(self, multi_index, obj) < 0) {
|
|
758
|
-
return NULL;
|
|
759
|
-
}
|
|
760
|
-
else {
|
|
761
|
-
Py_INCREF(Py_None);
|
|
762
|
-
return Py_None;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
NPY_NO_EXPORT const char *
|
|
767
|
-
npy_casting_to_string(NPY_CASTING casting)
|
|
768
|
-
{
|
|
769
|
-
switch (casting) {
|
|
770
|
-
case NPY_NO_CASTING:
|
|
771
|
-
return "'no'";
|
|
772
|
-
case NPY_EQUIV_CASTING:
|
|
773
|
-
return "'equiv'";
|
|
774
|
-
case NPY_SAFE_CASTING:
|
|
775
|
-
return "'safe'";
|
|
776
|
-
case NPY_SAME_KIND_CASTING:
|
|
777
|
-
return "'same_kind'";
|
|
778
|
-
case NPY_UNSAFE_CASTING:
|
|
779
|
-
return "'unsafe'";
|
|
780
|
-
default:
|
|
781
|
-
return "<unknown>";
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
static PyObject *
|
|
786
|
-
array_astype(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
787
|
-
{
|
|
788
|
-
static char *kwlist[] = {"dtype", "order", "casting",
|
|
789
|
-
"subok", "copy", NULL};
|
|
790
|
-
PyArray_Descr *dtype = NULL;
|
|
791
|
-
/*
|
|
792
|
-
* TODO: UNSAFE default for compatibility, I think
|
|
793
|
-
* switching to SAME_KIND by default would be good.
|
|
794
|
-
*/
|
|
795
|
-
NPY_CASTING casting = NPY_UNSAFE_CASTING;
|
|
796
|
-
NPY_ORDER order = NPY_KEEPORDER;
|
|
797
|
-
int forcecopy = 1, subok = 1;
|
|
798
|
-
|
|
799
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O&|O&O&ii", kwlist,
|
|
800
|
-
PyArray_DescrConverter, &dtype,
|
|
801
|
-
PyArray_OrderConverter, &order,
|
|
802
|
-
PyArray_CastingConverter, &casting,
|
|
803
|
-
&subok,
|
|
804
|
-
&forcecopy)) {
|
|
805
|
-
Py_XDECREF(dtype);
|
|
806
|
-
return NULL;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
/*
|
|
810
|
-
* If the memory layout matches and, data types are equivalent,
|
|
811
|
-
* and it's not a subtype if subok is False, then we
|
|
812
|
-
* can skip the copy.
|
|
813
|
-
*/
|
|
814
|
-
if (!forcecopy && (order == NPY_KEEPORDER ||
|
|
815
|
-
(order == NPY_ANYORDER &&
|
|
816
|
-
(PyArray_IS_C_CONTIGUOUS(self) ||
|
|
817
|
-
PyArray_IS_F_CONTIGUOUS(self))) ||
|
|
818
|
-
(order == NPY_CORDER &&
|
|
819
|
-
PyArray_IS_C_CONTIGUOUS(self)) ||
|
|
820
|
-
(order == NPY_FORTRANORDER &&
|
|
821
|
-
PyArray_IS_F_CONTIGUOUS(self))) &&
|
|
822
|
-
(subok || PyArray_CheckExact(self)) &&
|
|
823
|
-
PyArray_EquivTypes(dtype, PyArray_DESCR(self))) {
|
|
824
|
-
Py_DECREF(dtype);
|
|
825
|
-
Py_INCREF(self);
|
|
826
|
-
return (PyObject *)self;
|
|
827
|
-
}
|
|
828
|
-
else if (PyArray_CanCastArrayTo(self, dtype, casting)) {
|
|
829
|
-
PyArrayObject *ret;
|
|
830
|
-
|
|
831
|
-
/* If the requested dtype is flexible, adapt it */
|
|
832
|
-
PyArray_AdaptFlexibleDType((PyObject *)self, PyArray_DESCR(self),
|
|
833
|
-
&dtype);
|
|
834
|
-
if (dtype == NULL) {
|
|
835
|
-
return NULL;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
/* This steals the reference to dtype, so no DECREF of dtype */
|
|
839
|
-
ret = (PyArrayObject *)PyArray_NewLikeArray(
|
|
840
|
-
self, order, dtype, subok);
|
|
841
|
-
if (ret == NULL) {
|
|
842
|
-
return NULL;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
if (PyArray_CopyInto(ret, self) < 0) {
|
|
846
|
-
Py_DECREF(ret);
|
|
847
|
-
return NULL;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
return (PyObject *)ret;
|
|
851
|
-
}
|
|
852
|
-
else {
|
|
853
|
-
PyObject *errmsg;
|
|
854
|
-
errmsg = PyUString_FromString("Cannot cast array from ");
|
|
855
|
-
PyUString_ConcatAndDel(&errmsg,
|
|
856
|
-
PyObject_Repr((PyObject *)PyArray_DESCR(self)));
|
|
857
|
-
PyUString_ConcatAndDel(&errmsg,
|
|
858
|
-
PyUString_FromString(" to "));
|
|
859
|
-
PyUString_ConcatAndDel(&errmsg,
|
|
860
|
-
PyObject_Repr((PyObject *)dtype));
|
|
861
|
-
PyUString_ConcatAndDel(&errmsg,
|
|
862
|
-
PyUString_FromFormat(" according to the rule %s",
|
|
863
|
-
npy_casting_to_string(casting)));
|
|
864
|
-
PyErr_SetObject(PyExc_TypeError, errmsg);
|
|
865
|
-
Py_DECREF(errmsg);
|
|
866
|
-
Py_DECREF(dtype);
|
|
867
|
-
return NULL;
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
/* default sub-type implementation */
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
static PyObject *
|
|
875
|
-
array_wraparray(PyArrayObject *self, PyObject *args)
|
|
876
|
-
{
|
|
877
|
-
PyArrayObject *arr, *ret;
|
|
878
|
-
PyObject *obj;
|
|
879
|
-
|
|
880
|
-
if (PyTuple_Size(args) < 1) {
|
|
881
|
-
PyErr_SetString(PyExc_TypeError,
|
|
882
|
-
"only accepts 1 argument");
|
|
883
|
-
return NULL;
|
|
884
|
-
}
|
|
885
|
-
obj = PyTuple_GET_ITEM(args, 0);
|
|
886
|
-
if (obj == NULL) {
|
|
887
|
-
return NULL;
|
|
888
|
-
}
|
|
889
|
-
if (!PyArray_Check(obj)) {
|
|
890
|
-
PyErr_SetString(PyExc_TypeError,
|
|
891
|
-
"can only be called with ndarray object");
|
|
892
|
-
return NULL;
|
|
893
|
-
}
|
|
894
|
-
arr = (PyArrayObject *)obj;
|
|
895
|
-
|
|
896
|
-
if (Py_TYPE(self) != Py_TYPE(arr)){
|
|
897
|
-
PyArray_Descr *dtype = PyArray_DESCR(arr);
|
|
898
|
-
Py_INCREF(dtype);
|
|
899
|
-
ret = (PyArrayObject *)PyArray_NewFromDescr(Py_TYPE(self),
|
|
900
|
-
dtype,
|
|
901
|
-
PyArray_NDIM(arr),
|
|
902
|
-
PyArray_DIMS(arr),
|
|
903
|
-
PyArray_STRIDES(arr), PyArray_DATA(arr),
|
|
904
|
-
PyArray_FLAGS(arr), (PyObject *)self);
|
|
905
|
-
if (ret == NULL) {
|
|
906
|
-
return NULL;
|
|
907
|
-
}
|
|
908
|
-
Py_INCREF(obj);
|
|
909
|
-
if (PyArray_SetBaseObject(ret, obj) < 0) {
|
|
910
|
-
Py_DECREF(ret);
|
|
911
|
-
return NULL;
|
|
912
|
-
}
|
|
913
|
-
return (PyObject *)ret;
|
|
914
|
-
} else {
|
|
915
|
-
/*The type was set in __array_prepare__*/
|
|
916
|
-
Py_INCREF(arr);
|
|
917
|
-
return (PyObject *)arr;
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
static PyObject *
|
|
923
|
-
array_preparearray(PyArrayObject *self, PyObject *args)
|
|
924
|
-
{
|
|
925
|
-
PyObject *obj;
|
|
926
|
-
PyArrayObject *arr, *ret;
|
|
927
|
-
PyArray_Descr *dtype;
|
|
928
|
-
|
|
929
|
-
if (PyTuple_Size(args) < 1) {
|
|
930
|
-
PyErr_SetString(PyExc_TypeError,
|
|
931
|
-
"only accepts 1 argument");
|
|
932
|
-
return NULL;
|
|
933
|
-
}
|
|
934
|
-
obj = PyTuple_GET_ITEM(args, 0);
|
|
935
|
-
if (!PyArray_Check(obj)) {
|
|
936
|
-
PyErr_SetString(PyExc_TypeError,
|
|
937
|
-
"can only be called with ndarray object");
|
|
938
|
-
return NULL;
|
|
939
|
-
}
|
|
940
|
-
arr = (PyArrayObject *)obj;
|
|
941
|
-
|
|
942
|
-
if (Py_TYPE(self) == Py_TYPE(arr)) {
|
|
943
|
-
/* No need to create a new view */
|
|
944
|
-
Py_INCREF(arr);
|
|
945
|
-
return (PyObject *)arr;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
dtype = PyArray_DESCR(arr);
|
|
949
|
-
Py_INCREF(dtype);
|
|
950
|
-
ret = (PyArrayObject *)PyArray_NewFromDescr(Py_TYPE(self),
|
|
951
|
-
dtype,
|
|
952
|
-
PyArray_NDIM(arr),
|
|
953
|
-
PyArray_DIMS(arr),
|
|
954
|
-
PyArray_STRIDES(arr), PyArray_DATA(arr),
|
|
955
|
-
PyArray_FLAGS(arr), (PyObject *)self);
|
|
956
|
-
if (ret == NULL) {
|
|
957
|
-
return NULL;
|
|
958
|
-
}
|
|
959
|
-
Py_INCREF(arr);
|
|
960
|
-
if (PyArray_SetBaseObject(ret, (PyObject *)arr) < 0) {
|
|
961
|
-
Py_DECREF(ret);
|
|
962
|
-
return NULL;
|
|
963
|
-
}
|
|
964
|
-
return (PyObject *)ret;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
static PyObject *
|
|
969
|
-
array_getarray(PyArrayObject *self, PyObject *args)
|
|
970
|
-
{
|
|
971
|
-
PyArray_Descr *newtype = NULL;
|
|
972
|
-
PyObject *ret;
|
|
973
|
-
|
|
974
|
-
if (!PyArg_ParseTuple(args, "|O&",
|
|
975
|
-
PyArray_DescrConverter, &newtype)) {
|
|
976
|
-
Py_XDECREF(newtype);
|
|
977
|
-
return NULL;
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
/* convert to PyArray_Type */
|
|
981
|
-
if (!PyArray_CheckExact(self)) {
|
|
982
|
-
PyArrayObject *new;
|
|
983
|
-
PyTypeObject *subtype = &PyArray_Type;
|
|
984
|
-
|
|
985
|
-
if (!PyType_IsSubtype(Py_TYPE(self), &PyArray_Type)) {
|
|
986
|
-
subtype = &PyArray_Type;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
Py_INCREF(PyArray_DESCR(self));
|
|
990
|
-
new = (PyArrayObject *)PyArray_NewFromDescr(subtype,
|
|
991
|
-
PyArray_DESCR(self),
|
|
992
|
-
PyArray_NDIM(self),
|
|
993
|
-
PyArray_DIMS(self),
|
|
994
|
-
PyArray_STRIDES(self),
|
|
995
|
-
PyArray_DATA(self),
|
|
996
|
-
PyArray_FLAGS(self), NULL);
|
|
997
|
-
if (new == NULL) {
|
|
998
|
-
return NULL;
|
|
999
|
-
}
|
|
1000
|
-
Py_INCREF(self);
|
|
1001
|
-
PyArray_SetBaseObject(new, (PyObject *)self);
|
|
1002
|
-
self = new;
|
|
1003
|
-
}
|
|
1004
|
-
else {
|
|
1005
|
-
Py_INCREF(self);
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
if ((newtype == NULL) || PyArray_EquivTypes(PyArray_DESCR(self), newtype)) {
|
|
1009
|
-
return (PyObject *)self;
|
|
1010
|
-
}
|
|
1011
|
-
else {
|
|
1012
|
-
ret = PyArray_CastToType(self, newtype, 0);
|
|
1013
|
-
Py_DECREF(self);
|
|
1014
|
-
return ret;
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
static PyObject *
|
|
1020
|
-
array_copy(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1021
|
-
{
|
|
1022
|
-
NPY_ORDER order = NPY_CORDER;
|
|
1023
|
-
static char *kwlist[] = {"order", NULL};
|
|
1024
|
-
|
|
1025
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&", kwlist,
|
|
1026
|
-
PyArray_OrderConverter, &order)) {
|
|
1027
|
-
return NULL;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
return PyArray_NewCopy(self, order);
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
/* Separate from array_copy to make __copy__ preserve Fortran contiguity. */
|
|
1034
|
-
static PyObject *
|
|
1035
|
-
array_copy_keeporder(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1036
|
-
{
|
|
1037
|
-
if (!PyArg_ParseTuple(args, "")) {
|
|
1038
|
-
return NULL;
|
|
1039
|
-
}
|
|
1040
|
-
return PyArray_NewCopy(self, NPY_KEEPORDER);
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
#include <stdio.h>
|
|
1044
|
-
static PyObject *
|
|
1045
|
-
array_resize(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1046
|
-
{
|
|
1047
|
-
static char *kwlist[] = {"refcheck", NULL};
|
|
1048
|
-
Py_ssize_t size = PyTuple_Size(args);
|
|
1049
|
-
int refcheck = 1;
|
|
1050
|
-
PyArray_Dims newshape;
|
|
1051
|
-
PyObject *ret, *obj;
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
if (!NpyArg_ParseKeywords(kwds, "|i", kwlist, &refcheck)) {
|
|
1055
|
-
return NULL;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
if (size == 0) {
|
|
1059
|
-
Py_INCREF(Py_None);
|
|
1060
|
-
return Py_None;
|
|
1061
|
-
}
|
|
1062
|
-
else if (size == 1) {
|
|
1063
|
-
obj = PyTuple_GET_ITEM(args, 0);
|
|
1064
|
-
if (obj == Py_None) {
|
|
1065
|
-
Py_INCREF(Py_None);
|
|
1066
|
-
return Py_None;
|
|
1067
|
-
}
|
|
1068
|
-
args = obj;
|
|
1069
|
-
}
|
|
1070
|
-
if (!PyArray_IntpConverter(args, &newshape)) {
|
|
1071
|
-
if (!PyErr_Occurred()) {
|
|
1072
|
-
PyErr_SetString(PyExc_TypeError, "invalid shape");
|
|
1073
|
-
}
|
|
1074
|
-
return NULL;
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
|
-
ret = PyArray_Resize(self, &newshape, refcheck, NPY_CORDER);
|
|
1078
|
-
PyDimMem_FREE(newshape.ptr);
|
|
1079
|
-
if (ret == NULL) {
|
|
1080
|
-
return NULL;
|
|
1081
|
-
}
|
|
1082
|
-
Py_DECREF(ret);
|
|
1083
|
-
Py_INCREF(Py_None);
|
|
1084
|
-
return Py_None;
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
static PyObject *
|
|
1088
|
-
array_repeat(PyArrayObject *self, PyObject *args, PyObject *kwds) {
|
|
1089
|
-
PyObject *repeats;
|
|
1090
|
-
int axis = NPY_MAXDIMS;
|
|
1091
|
-
static char *kwlist[] = {"repeats", "axis", NULL};
|
|
1092
|
-
|
|
1093
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&", kwlist,
|
|
1094
|
-
&repeats,
|
|
1095
|
-
PyArray_AxisConverter, &axis)) {
|
|
1096
|
-
return NULL;
|
|
1097
|
-
}
|
|
1098
|
-
return PyArray_Return((PyArrayObject *)PyArray_Repeat(self, repeats, axis));
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
static PyObject *
|
|
1102
|
-
array_choose(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1103
|
-
{
|
|
1104
|
-
static char *keywords[] = {"out", "mode", NULL};
|
|
1105
|
-
PyObject *choices;
|
|
1106
|
-
PyArrayObject *out = NULL;
|
|
1107
|
-
NPY_CLIPMODE clipmode = NPY_RAISE;
|
|
1108
|
-
Py_ssize_t n = PyTuple_Size(args);
|
|
1109
|
-
|
|
1110
|
-
if (n <= 1) {
|
|
1111
|
-
if (!PyArg_ParseTuple(args, "O", &choices)) {
|
|
1112
|
-
return NULL;
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
else {
|
|
1116
|
-
choices = args;
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
if (!NpyArg_ParseKeywords(kwds, "|O&O&", keywords,
|
|
1120
|
-
PyArray_OutputConverter, &out,
|
|
1121
|
-
PyArray_ClipmodeConverter, &clipmode)) {
|
|
1122
|
-
return NULL;
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
return PyArray_Return((PyArrayObject *)PyArray_Choose(self, choices, out, clipmode));
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
static PyObject *
|
|
1129
|
-
array_sort(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1130
|
-
{
|
|
1131
|
-
int axis=-1;
|
|
1132
|
-
int val;
|
|
1133
|
-
NPY_SORTKIND sortkind = NPY_QUICKSORT;
|
|
1134
|
-
PyObject *order = NULL;
|
|
1135
|
-
PyArray_Descr *saved = NULL;
|
|
1136
|
-
PyArray_Descr *newd;
|
|
1137
|
-
static char *kwlist[] = {"axis", "kind", "order", NULL};
|
|
1138
|
-
|
|
1139
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO&O", kwlist,
|
|
1140
|
-
&axis,
|
|
1141
|
-
PyArray_SortkindConverter, &sortkind,
|
|
1142
|
-
&order)) {
|
|
1143
|
-
return NULL;
|
|
1144
|
-
}
|
|
1145
|
-
if (order == Py_None) {
|
|
1146
|
-
order = NULL;
|
|
1147
|
-
}
|
|
1148
|
-
if (order != NULL) {
|
|
1149
|
-
PyObject *new_name;
|
|
1150
|
-
PyObject *_numpy_internal;
|
|
1151
|
-
saved = PyArray_DESCR(self);
|
|
1152
|
-
if (!PyDataType_HASFIELDS(saved)) {
|
|
1153
|
-
PyErr_SetString(PyExc_ValueError, "Cannot specify " \
|
|
1154
|
-
"order when the array has no fields.");
|
|
1155
|
-
return NULL;
|
|
1156
|
-
}
|
|
1157
|
-
_numpy_internal = PyImport_ImportModule("numpy.core._internal");
|
|
1158
|
-
if (_numpy_internal == NULL) {
|
|
1159
|
-
return NULL;
|
|
1160
|
-
}
|
|
1161
|
-
new_name = PyObject_CallMethod(_numpy_internal, "_newnames",
|
|
1162
|
-
"OO", saved, order);
|
|
1163
|
-
Py_DECREF(_numpy_internal);
|
|
1164
|
-
if (new_name == NULL) {
|
|
1165
|
-
return NULL;
|
|
1166
|
-
}
|
|
1167
|
-
newd = PyArray_DescrNew(saved);
|
|
1168
|
-
Py_DECREF(newd->names);
|
|
1169
|
-
newd->names = new_name;
|
|
1170
|
-
((PyArrayObject_fields *)self)->descr = newd;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
val = PyArray_Sort(self, axis, sortkind);
|
|
1174
|
-
if (order != NULL) {
|
|
1175
|
-
Py_XDECREF(PyArray_DESCR(self));
|
|
1176
|
-
((PyArrayObject_fields *)self)->descr = saved;
|
|
1177
|
-
}
|
|
1178
|
-
if (val < 0) {
|
|
1179
|
-
return NULL;
|
|
1180
|
-
}
|
|
1181
|
-
Py_INCREF(Py_None);
|
|
1182
|
-
return Py_None;
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
static PyObject *
|
|
1186
|
-
array_partition(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1187
|
-
{
|
|
1188
|
-
int axis=-1;
|
|
1189
|
-
int val;
|
|
1190
|
-
NPY_SELECTKIND sortkind = NPY_INTROSELECT;
|
|
1191
|
-
PyObject *order = NULL;
|
|
1192
|
-
PyArray_Descr *saved = NULL;
|
|
1193
|
-
PyArray_Descr *newd;
|
|
1194
|
-
static char *kwlist[] = {"kth", "axis", "kind", "order", NULL};
|
|
1195
|
-
PyArrayObject * ktharray;
|
|
1196
|
-
PyObject * kthobj;
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|iO&O", kwlist,
|
|
1200
|
-
&kthobj,
|
|
1201
|
-
&axis,
|
|
1202
|
-
PyArray_SelectkindConverter, &sortkind,
|
|
1203
|
-
&order)) {
|
|
1204
|
-
return NULL;
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
if (order == Py_None) {
|
|
1208
|
-
order = NULL;
|
|
1209
|
-
}
|
|
1210
|
-
if (order != NULL) {
|
|
1211
|
-
PyObject *new_name;
|
|
1212
|
-
PyObject *_numpy_internal;
|
|
1213
|
-
saved = PyArray_DESCR(self);
|
|
1214
|
-
if (!PyDataType_HASFIELDS(saved)) {
|
|
1215
|
-
PyErr_SetString(PyExc_ValueError, "Cannot specify " \
|
|
1216
|
-
"order when the array has no fields.");
|
|
1217
|
-
return NULL;
|
|
1218
|
-
}
|
|
1219
|
-
_numpy_internal = PyImport_ImportModule("numpy.core._internal");
|
|
1220
|
-
if (_numpy_internal == NULL) {
|
|
1221
|
-
return NULL;
|
|
1222
|
-
}
|
|
1223
|
-
new_name = PyObject_CallMethod(_numpy_internal, "_newnames",
|
|
1224
|
-
"OO", saved, order);
|
|
1225
|
-
Py_DECREF(_numpy_internal);
|
|
1226
|
-
if (new_name == NULL) {
|
|
1227
|
-
return NULL;
|
|
1228
|
-
}
|
|
1229
|
-
newd = PyArray_DescrNew(saved);
|
|
1230
|
-
Py_DECREF(newd->names);
|
|
1231
|
-
newd->names = new_name;
|
|
1232
|
-
((PyArrayObject_fields *)self)->descr = newd;
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
ktharray = (PyArrayObject *)PyArray_FromAny(kthobj, NULL, 0, 1,
|
|
1236
|
-
NPY_ARRAY_DEFAULT, NULL);
|
|
1237
|
-
if (ktharray == NULL)
|
|
1238
|
-
return NULL;
|
|
1239
|
-
|
|
1240
|
-
val = PyArray_Partition(self, ktharray, axis, sortkind);
|
|
1241
|
-
Py_DECREF(ktharray);
|
|
1242
|
-
|
|
1243
|
-
if (order != NULL) {
|
|
1244
|
-
Py_XDECREF(PyArray_DESCR(self));
|
|
1245
|
-
((PyArrayObject_fields *)self)->descr = saved;
|
|
1246
|
-
}
|
|
1247
|
-
if (val < 0) {
|
|
1248
|
-
return NULL;
|
|
1249
|
-
}
|
|
1250
|
-
Py_INCREF(Py_None);
|
|
1251
|
-
return Py_None;
|
|
1252
|
-
}
|
|
1253
|
-
|
|
1254
|
-
static PyObject *
|
|
1255
|
-
array_argsort(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1256
|
-
{
|
|
1257
|
-
int axis = -1;
|
|
1258
|
-
NPY_SORTKIND sortkind = NPY_QUICKSORT;
|
|
1259
|
-
PyObject *order = NULL, *res;
|
|
1260
|
-
PyArray_Descr *newd, *saved=NULL;
|
|
1261
|
-
static char *kwlist[] = {"axis", "kind", "order", NULL};
|
|
1262
|
-
|
|
1263
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&O", kwlist,
|
|
1264
|
-
PyArray_AxisConverter, &axis,
|
|
1265
|
-
PyArray_SortkindConverter, &sortkind,
|
|
1266
|
-
&order)) {
|
|
1267
|
-
return NULL;
|
|
1268
|
-
}
|
|
1269
|
-
if (order == Py_None) {
|
|
1270
|
-
order = NULL;
|
|
1271
|
-
}
|
|
1272
|
-
if (order != NULL) {
|
|
1273
|
-
PyObject *new_name;
|
|
1274
|
-
PyObject *_numpy_internal;
|
|
1275
|
-
saved = PyArray_DESCR(self);
|
|
1276
|
-
if (!PyDataType_HASFIELDS(saved)) {
|
|
1277
|
-
PyErr_SetString(PyExc_ValueError, "Cannot specify "
|
|
1278
|
-
"order when the array has no fields.");
|
|
1279
|
-
return NULL;
|
|
1280
|
-
}
|
|
1281
|
-
_numpy_internal = PyImport_ImportModule("numpy.core._internal");
|
|
1282
|
-
if (_numpy_internal == NULL) {
|
|
1283
|
-
return NULL;
|
|
1284
|
-
}
|
|
1285
|
-
new_name = PyObject_CallMethod(_numpy_internal, "_newnames",
|
|
1286
|
-
"OO", saved, order);
|
|
1287
|
-
Py_DECREF(_numpy_internal);
|
|
1288
|
-
if (new_name == NULL) {
|
|
1289
|
-
return NULL;
|
|
1290
|
-
}
|
|
1291
|
-
newd = PyArray_DescrNew(saved);
|
|
1292
|
-
newd->names = new_name;
|
|
1293
|
-
((PyArrayObject_fields *)self)->descr = newd;
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
res = PyArray_ArgSort(self, axis, sortkind);
|
|
1297
|
-
if (order != NULL) {
|
|
1298
|
-
Py_XDECREF(PyArray_DESCR(self));
|
|
1299
|
-
((PyArrayObject_fields *)self)->descr = saved;
|
|
1300
|
-
}
|
|
1301
|
-
return PyArray_Return((PyArrayObject *)res);
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
static PyObject *
|
|
1306
|
-
array_argpartition(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1307
|
-
{
|
|
1308
|
-
int axis = -1;
|
|
1309
|
-
NPY_SELECTKIND sortkind = NPY_INTROSELECT;
|
|
1310
|
-
PyObject *order = NULL, *res;
|
|
1311
|
-
PyArray_Descr *newd, *saved=NULL;
|
|
1312
|
-
static char *kwlist[] = {"kth", "axis", "kind", "order", NULL};
|
|
1313
|
-
PyObject * kthobj;
|
|
1314
|
-
PyArrayObject * ktharray;
|
|
1315
|
-
|
|
1316
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O&O", kwlist,
|
|
1317
|
-
&kthobj,
|
|
1318
|
-
PyArray_AxisConverter, &axis,
|
|
1319
|
-
PyArray_SelectkindConverter, &sortkind,
|
|
1320
|
-
&order)) {
|
|
1321
|
-
return NULL;
|
|
1322
|
-
}
|
|
1323
|
-
if (order == Py_None) {
|
|
1324
|
-
order = NULL;
|
|
1325
|
-
}
|
|
1326
|
-
if (order != NULL) {
|
|
1327
|
-
PyObject *new_name;
|
|
1328
|
-
PyObject *_numpy_internal;
|
|
1329
|
-
saved = PyArray_DESCR(self);
|
|
1330
|
-
if (!PyDataType_HASFIELDS(saved)) {
|
|
1331
|
-
PyErr_SetString(PyExc_ValueError, "Cannot specify "
|
|
1332
|
-
"order when the array has no fields.");
|
|
1333
|
-
return NULL;
|
|
1334
|
-
}
|
|
1335
|
-
_numpy_internal = PyImport_ImportModule("numpy.core._internal");
|
|
1336
|
-
if (_numpy_internal == NULL) {
|
|
1337
|
-
return NULL;
|
|
1338
|
-
}
|
|
1339
|
-
new_name = PyObject_CallMethod(_numpy_internal, "_newnames",
|
|
1340
|
-
"OO", saved, order);
|
|
1341
|
-
Py_DECREF(_numpy_internal);
|
|
1342
|
-
if (new_name == NULL) {
|
|
1343
|
-
return NULL;
|
|
1344
|
-
}
|
|
1345
|
-
newd = PyArray_DescrNew(saved);
|
|
1346
|
-
newd->names = new_name;
|
|
1347
|
-
((PyArrayObject_fields *)self)->descr = newd;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
ktharray = (PyArrayObject *)PyArray_FromAny(kthobj, NULL, 0, 1,
|
|
1351
|
-
NPY_ARRAY_DEFAULT, NULL);
|
|
1352
|
-
if (ktharray == NULL)
|
|
1353
|
-
return NULL;
|
|
1354
|
-
|
|
1355
|
-
res = PyArray_ArgPartition(self, ktharray, axis, sortkind);
|
|
1356
|
-
Py_DECREF(ktharray);
|
|
1357
|
-
|
|
1358
|
-
if (order != NULL) {
|
|
1359
|
-
Py_XDECREF(PyArray_DESCR(self));
|
|
1360
|
-
((PyArrayObject_fields *)self)->descr = saved;
|
|
1361
|
-
}
|
|
1362
|
-
return PyArray_Return((PyArrayObject *)res);
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
static PyObject *
|
|
1366
|
-
array_searchsorted(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1367
|
-
{
|
|
1368
|
-
static char *kwlist[] = {"keys", "side", "sorter", NULL};
|
|
1369
|
-
PyObject *keys;
|
|
1370
|
-
PyObject *sorter;
|
|
1371
|
-
NPY_SEARCHSIDE side = NPY_SEARCHLEFT;
|
|
1372
|
-
|
|
1373
|
-
sorter = NULL;
|
|
1374
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O:searchsorted",
|
|
1375
|
-
kwlist, &keys,
|
|
1376
|
-
PyArray_SearchsideConverter, &side, &sorter)) {
|
|
1377
|
-
return NULL;
|
|
1378
|
-
}
|
|
1379
|
-
if (sorter == Py_None) {
|
|
1380
|
-
sorter = NULL;
|
|
1381
|
-
}
|
|
1382
|
-
return PyArray_Return((PyArrayObject *)PyArray_SearchSorted(self, keys, side, sorter));
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
static void
|
|
1386
|
-
_deepcopy_call(char *iptr, char *optr, PyArray_Descr *dtype,
|
|
1387
|
-
PyObject *deepcopy, PyObject *visit)
|
|
1388
|
-
{
|
|
1389
|
-
if (!PyDataType_REFCHK(dtype)) {
|
|
1390
|
-
return;
|
|
1391
|
-
}
|
|
1392
|
-
else if (PyDataType_HASFIELDS(dtype)) {
|
|
1393
|
-
PyObject *key, *value, *title = NULL;
|
|
1394
|
-
PyArray_Descr *new;
|
|
1395
|
-
int offset;
|
|
1396
|
-
Py_ssize_t pos = 0;
|
|
1397
|
-
while (PyDict_Next(dtype->fields, &pos, &key, &value)) {
|
|
1398
|
-
if NPY_TITLE_KEY(key, value) {
|
|
1399
|
-
continue;
|
|
1400
|
-
}
|
|
1401
|
-
if (!PyArg_ParseTuple(value, "Oi|O", &new, &offset,
|
|
1402
|
-
&title)) {
|
|
1403
|
-
return;
|
|
1404
|
-
}
|
|
1405
|
-
_deepcopy_call(iptr + offset, optr + offset, new,
|
|
1406
|
-
deepcopy, visit);
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
else {
|
|
1410
|
-
PyObject *itemp, *otemp;
|
|
1411
|
-
PyObject *res;
|
|
1412
|
-
NPY_COPY_PYOBJECT_PTR(&itemp, iptr);
|
|
1413
|
-
NPY_COPY_PYOBJECT_PTR(&otemp, optr);
|
|
1414
|
-
Py_XINCREF(itemp);
|
|
1415
|
-
/* call deepcopy on this argument */
|
|
1416
|
-
res = PyObject_CallFunctionObjArgs(deepcopy, itemp, visit, NULL);
|
|
1417
|
-
Py_XDECREF(itemp);
|
|
1418
|
-
Py_XDECREF(otemp);
|
|
1419
|
-
NPY_COPY_PYOBJECT_PTR(optr, &res);
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
}
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
static PyObject *
|
|
1426
|
-
array_deepcopy(PyArrayObject *self, PyObject *args)
|
|
1427
|
-
{
|
|
1428
|
-
PyObject* visit;
|
|
1429
|
-
char *optr;
|
|
1430
|
-
PyArrayIterObject *it;
|
|
1431
|
-
PyObject *copy, *deepcopy;
|
|
1432
|
-
PyArrayObject *ret;
|
|
1433
|
-
|
|
1434
|
-
if (!PyArg_ParseTuple(args, "O", &visit)) {
|
|
1435
|
-
return NULL;
|
|
1436
|
-
}
|
|
1437
|
-
ret = (PyArrayObject *)PyArray_NewCopy(self, NPY_KEEPORDER);
|
|
1438
|
-
if (PyDataType_REFCHK(PyArray_DESCR(self))) {
|
|
1439
|
-
copy = PyImport_ImportModule("copy");
|
|
1440
|
-
if (copy == NULL) {
|
|
1441
|
-
return NULL;
|
|
1442
|
-
}
|
|
1443
|
-
deepcopy = PyObject_GetAttrString(copy, "deepcopy");
|
|
1444
|
-
Py_DECREF(copy);
|
|
1445
|
-
if (deepcopy == NULL) {
|
|
1446
|
-
return NULL;
|
|
1447
|
-
}
|
|
1448
|
-
it = (PyArrayIterObject *)PyArray_IterNew((PyObject *)self);
|
|
1449
|
-
if (it == NULL) {
|
|
1450
|
-
Py_DECREF(deepcopy);
|
|
1451
|
-
return NULL;
|
|
1452
|
-
}
|
|
1453
|
-
optr = PyArray_DATA(ret);
|
|
1454
|
-
while(it->index < it->size) {
|
|
1455
|
-
_deepcopy_call(it->dataptr, optr, PyArray_DESCR(self), deepcopy, visit);
|
|
1456
|
-
optr += PyArray_DESCR(self)->elsize;
|
|
1457
|
-
PyArray_ITER_NEXT(it);
|
|
1458
|
-
}
|
|
1459
|
-
Py_DECREF(deepcopy);
|
|
1460
|
-
Py_DECREF(it);
|
|
1461
|
-
}
|
|
1462
|
-
return (PyObject*)ret;
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
/* Convert Array to flat list (using getitem) */
|
|
1466
|
-
static PyObject *
|
|
1467
|
-
_getlist_pkl(PyArrayObject *self)
|
|
1468
|
-
{
|
|
1469
|
-
PyObject *theobject;
|
|
1470
|
-
PyArrayIterObject *iter = NULL;
|
|
1471
|
-
PyObject *list;
|
|
1472
|
-
PyArray_GetItemFunc *getitem;
|
|
1473
|
-
|
|
1474
|
-
getitem = PyArray_DESCR(self)->f->getitem;
|
|
1475
|
-
iter = (PyArrayIterObject *)PyArray_IterNew((PyObject *)self);
|
|
1476
|
-
if (iter == NULL) {
|
|
1477
|
-
return NULL;
|
|
1478
|
-
}
|
|
1479
|
-
list = PyList_New(iter->size);
|
|
1480
|
-
if (list == NULL) {
|
|
1481
|
-
Py_DECREF(iter);
|
|
1482
|
-
return NULL;
|
|
1483
|
-
}
|
|
1484
|
-
while (iter->index < iter->size) {
|
|
1485
|
-
theobject = getitem(iter->dataptr, self);
|
|
1486
|
-
PyList_SET_ITEM(list, (int) iter->index, theobject);
|
|
1487
|
-
PyArray_ITER_NEXT(iter);
|
|
1488
|
-
}
|
|
1489
|
-
Py_DECREF(iter);
|
|
1490
|
-
return list;
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
static int
|
|
1494
|
-
_setlist_pkl(PyArrayObject *self, PyObject *list)
|
|
1495
|
-
{
|
|
1496
|
-
PyObject *theobject;
|
|
1497
|
-
PyArrayIterObject *iter = NULL;
|
|
1498
|
-
PyArray_SetItemFunc *setitem;
|
|
1499
|
-
|
|
1500
|
-
setitem = PyArray_DESCR(self)->f->setitem;
|
|
1501
|
-
iter = (PyArrayIterObject *)PyArray_IterNew((PyObject *)self);
|
|
1502
|
-
if (iter == NULL) {
|
|
1503
|
-
return -1;
|
|
1504
|
-
}
|
|
1505
|
-
while(iter->index < iter->size) {
|
|
1506
|
-
theobject = PyList_GET_ITEM(list, (int) iter->index);
|
|
1507
|
-
setitem(theobject, iter->dataptr, self);
|
|
1508
|
-
PyArray_ITER_NEXT(iter);
|
|
1509
|
-
}
|
|
1510
|
-
Py_XDECREF(iter);
|
|
1511
|
-
return 0;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
static PyObject *
|
|
1516
|
-
array_reduce(PyArrayObject *self, PyObject *NPY_UNUSED(args))
|
|
1517
|
-
{
|
|
1518
|
-
/* version number of this pickle type. Increment if we need to
|
|
1519
|
-
change the format. Be sure to handle the old versions in
|
|
1520
|
-
array_setstate. */
|
|
1521
|
-
const int version = 1;
|
|
1522
|
-
PyObject *ret = NULL, *state = NULL, *obj = NULL, *mod = NULL;
|
|
1523
|
-
PyObject *mybool, *thestr = NULL;
|
|
1524
|
-
PyArray_Descr *descr;
|
|
1525
|
-
|
|
1526
|
-
/* Return a tuple of (callable object, arguments, object's state) */
|
|
1527
|
-
/* We will put everything in the object's state, so that on UnPickle
|
|
1528
|
-
it can use the string object as memory without a copy */
|
|
1529
|
-
|
|
1530
|
-
ret = PyTuple_New(3);
|
|
1531
|
-
if (ret == NULL) {
|
|
1532
|
-
return NULL;
|
|
1533
|
-
}
|
|
1534
|
-
mod = PyImport_ImportModule("numpy.core.multiarray");
|
|
1535
|
-
if (mod == NULL) {
|
|
1536
|
-
Py_DECREF(ret);
|
|
1537
|
-
return NULL;
|
|
1538
|
-
}
|
|
1539
|
-
obj = PyObject_GetAttrString(mod, "_reconstruct");
|
|
1540
|
-
Py_DECREF(mod);
|
|
1541
|
-
PyTuple_SET_ITEM(ret, 0, obj);
|
|
1542
|
-
PyTuple_SET_ITEM(ret, 1,
|
|
1543
|
-
Py_BuildValue("ONc",
|
|
1544
|
-
(PyObject *)Py_TYPE(self),
|
|
1545
|
-
Py_BuildValue("(N)",
|
|
1546
|
-
PyInt_FromLong(0)),
|
|
1547
|
-
/* dummy data-type */
|
|
1548
|
-
'b'));
|
|
1549
|
-
|
|
1550
|
-
/* Now fill in object's state. This is a tuple with
|
|
1551
|
-
5 arguments
|
|
1552
|
-
|
|
1553
|
-
1) an integer with the pickle version.
|
|
1554
|
-
2) a Tuple giving the shape
|
|
1555
|
-
3) a PyArray_Descr Object (with correct bytorder set)
|
|
1556
|
-
4) a npy_bool stating if Fortran or not
|
|
1557
|
-
5) a Python object representing the data (a string, or
|
|
1558
|
-
a list or any user-defined object).
|
|
1559
|
-
|
|
1560
|
-
Notice because Python does not describe a mechanism to write
|
|
1561
|
-
raw data to the pickle, this performs a copy to a string first
|
|
1562
|
-
*/
|
|
1563
|
-
|
|
1564
|
-
state = PyTuple_New(5);
|
|
1565
|
-
if (state == NULL) {
|
|
1566
|
-
Py_DECREF(ret);
|
|
1567
|
-
return NULL;
|
|
1568
|
-
}
|
|
1569
|
-
PyTuple_SET_ITEM(state, 0, PyInt_FromLong(version));
|
|
1570
|
-
PyTuple_SET_ITEM(state, 1, PyObject_GetAttrString((PyObject *)self,
|
|
1571
|
-
"shape"));
|
|
1572
|
-
descr = PyArray_DESCR(self);
|
|
1573
|
-
Py_INCREF(descr);
|
|
1574
|
-
PyTuple_SET_ITEM(state, 2, (PyObject *)descr);
|
|
1575
|
-
mybool = (PyArray_ISFORTRAN(self) ? Py_True : Py_False);
|
|
1576
|
-
Py_INCREF(mybool);
|
|
1577
|
-
PyTuple_SET_ITEM(state, 3, mybool);
|
|
1578
|
-
if (PyDataType_FLAGCHK(PyArray_DESCR(self), NPY_LIST_PICKLE)) {
|
|
1579
|
-
thestr = _getlist_pkl(self);
|
|
1580
|
-
}
|
|
1581
|
-
else {
|
|
1582
|
-
thestr = PyArray_ToString(self, NPY_ANYORDER);
|
|
1583
|
-
}
|
|
1584
|
-
if (thestr == NULL) {
|
|
1585
|
-
Py_DECREF(ret);
|
|
1586
|
-
Py_DECREF(state);
|
|
1587
|
-
return NULL;
|
|
1588
|
-
}
|
|
1589
|
-
PyTuple_SET_ITEM(state, 4, thestr);
|
|
1590
|
-
PyTuple_SET_ITEM(ret, 2, state);
|
|
1591
|
-
return ret;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
static PyObject *
|
|
1595
|
-
array_setstate(PyArrayObject *self, PyObject *args)
|
|
1596
|
-
{
|
|
1597
|
-
PyObject *shape;
|
|
1598
|
-
PyArray_Descr *typecode;
|
|
1599
|
-
int version = 1;
|
|
1600
|
-
int is_f_order;
|
|
1601
|
-
PyObject *rawdata = NULL;
|
|
1602
|
-
char *datastr;
|
|
1603
|
-
Py_ssize_t len;
|
|
1604
|
-
npy_intp size, dimensions[NPY_MAXDIMS];
|
|
1605
|
-
int nd;
|
|
1606
|
-
|
|
1607
|
-
PyArrayObject_fields *fa = (PyArrayObject_fields *)self;
|
|
1608
|
-
|
|
1609
|
-
/* This will free any memory associated with a and
|
|
1610
|
-
use the string in setstate as the (writeable) memory.
|
|
1611
|
-
*/
|
|
1612
|
-
if (!PyArg_ParseTuple(args, "(iO!O!iO)",
|
|
1613
|
-
&version,
|
|
1614
|
-
&PyTuple_Type, &shape,
|
|
1615
|
-
&PyArrayDescr_Type, &typecode,
|
|
1616
|
-
&is_f_order,
|
|
1617
|
-
&rawdata)) {
|
|
1618
|
-
PyErr_Clear();
|
|
1619
|
-
version = 0;
|
|
1620
|
-
if (!PyArg_ParseTuple(args, "(O!O!iO)",
|
|
1621
|
-
&PyTuple_Type, &shape,
|
|
1622
|
-
&PyArrayDescr_Type, &typecode,
|
|
1623
|
-
&is_f_order,
|
|
1624
|
-
&rawdata)) {
|
|
1625
|
-
return NULL;
|
|
1626
|
-
}
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
/* If we ever need another pickle format, increment the version
|
|
1630
|
-
number. But we should still be able to handle the old versions.
|
|
1631
|
-
We've only got one right now. */
|
|
1632
|
-
if (version != 1 && version != 0) {
|
|
1633
|
-
PyErr_Format(PyExc_ValueError,
|
|
1634
|
-
"can't handle version %d of numpy.ndarray pickle",
|
|
1635
|
-
version);
|
|
1636
|
-
return NULL;
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
Py_XDECREF(PyArray_DESCR(self));
|
|
1640
|
-
fa->descr = typecode;
|
|
1641
|
-
Py_INCREF(typecode);
|
|
1642
|
-
nd = PyArray_IntpFromSequence(shape, dimensions, NPY_MAXDIMS);
|
|
1643
|
-
if (nd < 0) {
|
|
1644
|
-
return NULL;
|
|
1645
|
-
}
|
|
1646
|
-
size = PyArray_MultiplyList(dimensions, nd);
|
|
1647
|
-
if (PyArray_DESCR(self)->elsize == 0) {
|
|
1648
|
-
PyErr_SetString(PyExc_ValueError, "Invalid data-type size.");
|
|
1649
|
-
return NULL;
|
|
1650
|
-
}
|
|
1651
|
-
if (size < 0 || size > NPY_MAX_INTP / PyArray_DESCR(self)->elsize) {
|
|
1652
|
-
PyErr_NoMemory();
|
|
1653
|
-
return NULL;
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
if (PyDataType_FLAGCHK(typecode, NPY_LIST_PICKLE)) {
|
|
1657
|
-
if (!PyList_Check(rawdata)) {
|
|
1658
|
-
PyErr_SetString(PyExc_TypeError,
|
|
1659
|
-
"object pickle not returning list");
|
|
1660
|
-
return NULL;
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
else {
|
|
1664
|
-
Py_INCREF(rawdata);
|
|
1665
|
-
|
|
1666
|
-
#if defined(NPY_PY3K)
|
|
1667
|
-
/* Backward compatibility with Python 2 Numpy pickles */
|
|
1668
|
-
if (PyUnicode_Check(rawdata)) {
|
|
1669
|
-
PyObject *tmp;
|
|
1670
|
-
tmp = PyUnicode_AsLatin1String(rawdata);
|
|
1671
|
-
Py_DECREF(rawdata);
|
|
1672
|
-
rawdata = tmp;
|
|
1673
|
-
if (tmp == NULL) {
|
|
1674
|
-
/* More informative error message */
|
|
1675
|
-
PyErr_SetString(PyExc_ValueError,
|
|
1676
|
-
("Failed to encode latin1 string when unpickling a Numpy array. "
|
|
1677
|
-
"pickle.load(a, encoding='latin1') is assumed."));
|
|
1678
|
-
return NULL;
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
#endif
|
|
1682
|
-
|
|
1683
|
-
if (!PyBytes_Check(rawdata)) {
|
|
1684
|
-
PyErr_SetString(PyExc_TypeError,
|
|
1685
|
-
"pickle not returning string");
|
|
1686
|
-
Py_DECREF(rawdata);
|
|
1687
|
-
return NULL;
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
|
-
if (PyBytes_AsStringAndSize(rawdata, &datastr, &len) == -1) {
|
|
1691
|
-
Py_DECREF(rawdata);
|
|
1692
|
-
return NULL;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
if ((len != (PyArray_DESCR(self)->elsize * size))) {
|
|
1696
|
-
PyErr_SetString(PyExc_ValueError,
|
|
1697
|
-
"buffer size does not" \
|
|
1698
|
-
" match array size");
|
|
1699
|
-
Py_DECREF(rawdata);
|
|
1700
|
-
return NULL;
|
|
1701
|
-
}
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
if ((PyArray_FLAGS(self) & NPY_ARRAY_OWNDATA)) {
|
|
1705
|
-
PyDataMem_FREE(PyArray_DATA(self));
|
|
1706
|
-
PyArray_CLEARFLAGS(self, NPY_ARRAY_OWNDATA);
|
|
1707
|
-
}
|
|
1708
|
-
Py_XDECREF(PyArray_BASE(self));
|
|
1709
|
-
fa->base = NULL;
|
|
1710
|
-
|
|
1711
|
-
PyArray_CLEARFLAGS(self, NPY_ARRAY_UPDATEIFCOPY);
|
|
1712
|
-
|
|
1713
|
-
if (PyArray_DIMS(self) != NULL) {
|
|
1714
|
-
PyDimMem_FREE(PyArray_DIMS(self));
|
|
1715
|
-
fa->dimensions = NULL;
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
fa->flags = NPY_ARRAY_DEFAULT;
|
|
1719
|
-
|
|
1720
|
-
fa->nd = nd;
|
|
1721
|
-
|
|
1722
|
-
if (nd > 0) {
|
|
1723
|
-
fa->dimensions = PyDimMem_NEW(3*nd);
|
|
1724
|
-
if (fa->dimensions == NULL) {
|
|
1725
|
-
return PyErr_NoMemory();
|
|
1726
|
-
}
|
|
1727
|
-
fa->strides = PyArray_DIMS(self) + nd;
|
|
1728
|
-
memcpy(PyArray_DIMS(self), dimensions, sizeof(npy_intp)*nd);
|
|
1729
|
-
_array_fill_strides(PyArray_STRIDES(self), dimensions, nd,
|
|
1730
|
-
PyArray_DESCR(self)->elsize,
|
|
1731
|
-
(is_f_order ? NPY_ARRAY_F_CONTIGUOUS :
|
|
1732
|
-
NPY_ARRAY_C_CONTIGUOUS),
|
|
1733
|
-
&(fa->flags));
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
if (!PyDataType_FLAGCHK(typecode, NPY_LIST_PICKLE)) {
|
|
1737
|
-
int swap=!PyArray_ISNOTSWAPPED(self);
|
|
1738
|
-
fa->data = datastr;
|
|
1739
|
-
#ifndef NPY_PY3K
|
|
1740
|
-
/* Check that the string is not interned */
|
|
1741
|
-
if (!_IsAligned(self) || swap || PyString_CHECK_INTERNED(rawdata)) {
|
|
1742
|
-
#else
|
|
1743
|
-
/* Bytes should always be considered immutable, but we just grab the
|
|
1744
|
-
* pointer if they are large, to save memory. */
|
|
1745
|
-
if (!_IsAligned(self) || swap || (len <= 1000)) {
|
|
1746
|
-
#endif
|
|
1747
|
-
npy_intp num = PyArray_NBYTES(self);
|
|
1748
|
-
fa->data = PyDataMem_NEW(num);
|
|
1749
|
-
if (PyArray_DATA(self) == NULL) {
|
|
1750
|
-
fa->nd = 0;
|
|
1751
|
-
PyDimMem_FREE(PyArray_DIMS(self));
|
|
1752
|
-
Py_DECREF(rawdata);
|
|
1753
|
-
return PyErr_NoMemory();
|
|
1754
|
-
}
|
|
1755
|
-
if (swap) {
|
|
1756
|
-
/* byte-swap on pickle-read */
|
|
1757
|
-
npy_intp numels = num / PyArray_DESCR(self)->elsize;
|
|
1758
|
-
PyArray_DESCR(self)->f->copyswapn(PyArray_DATA(self),
|
|
1759
|
-
PyArray_DESCR(self)->elsize,
|
|
1760
|
-
datastr, PyArray_DESCR(self)->elsize,
|
|
1761
|
-
numels, 1, self);
|
|
1762
|
-
if (!PyArray_ISEXTENDED(self)) {
|
|
1763
|
-
fa->descr = PyArray_DescrFromType(
|
|
1764
|
-
PyArray_DESCR(self)->type_num);
|
|
1765
|
-
}
|
|
1766
|
-
else {
|
|
1767
|
-
fa->descr = PyArray_DescrNew(typecode);
|
|
1768
|
-
if (PyArray_DESCR(self)->byteorder == NPY_BIG) {
|
|
1769
|
-
PyArray_DESCR(self)->byteorder = NPY_LITTLE;
|
|
1770
|
-
}
|
|
1771
|
-
else if (PyArray_DESCR(self)->byteorder == NPY_LITTLE) {
|
|
1772
|
-
PyArray_DESCR(self)->byteorder = NPY_BIG;
|
|
1773
|
-
}
|
|
1774
|
-
}
|
|
1775
|
-
Py_DECREF(typecode);
|
|
1776
|
-
}
|
|
1777
|
-
else {
|
|
1778
|
-
memcpy(PyArray_DATA(self), datastr, num);
|
|
1779
|
-
}
|
|
1780
|
-
PyArray_ENABLEFLAGS(self, NPY_ARRAY_OWNDATA);
|
|
1781
|
-
fa->base = NULL;
|
|
1782
|
-
Py_DECREF(rawdata);
|
|
1783
|
-
}
|
|
1784
|
-
else {
|
|
1785
|
-
if (PyArray_SetBaseObject(self, rawdata) < 0) {
|
|
1786
|
-
return NULL;
|
|
1787
|
-
}
|
|
1788
|
-
}
|
|
1789
|
-
}
|
|
1790
|
-
else {
|
|
1791
|
-
fa->data = PyDataMem_NEW(PyArray_NBYTES(self));
|
|
1792
|
-
if (PyArray_DATA(self) == NULL) {
|
|
1793
|
-
fa->nd = 0;
|
|
1794
|
-
fa->data = PyDataMem_NEW(PyArray_DESCR(self)->elsize);
|
|
1795
|
-
PyDimMem_FREE(PyArray_DIMS(self));
|
|
1796
|
-
return PyErr_NoMemory();
|
|
1797
|
-
}
|
|
1798
|
-
if (PyDataType_FLAGCHK(PyArray_DESCR(self), NPY_NEEDS_INIT)) {
|
|
1799
|
-
memset(PyArray_DATA(self), 0, PyArray_NBYTES(self));
|
|
1800
|
-
}
|
|
1801
|
-
PyArray_ENABLEFLAGS(self, NPY_ARRAY_OWNDATA);
|
|
1802
|
-
fa->base = NULL;
|
|
1803
|
-
if (_setlist_pkl(self, rawdata) < 0) {
|
|
1804
|
-
return NULL;
|
|
1805
|
-
}
|
|
1806
|
-
}
|
|
1807
|
-
|
|
1808
|
-
PyArray_UpdateFlags(self, NPY_ARRAY_UPDATE_ALL);
|
|
1809
|
-
|
|
1810
|
-
Py_INCREF(Py_None);
|
|
1811
|
-
return Py_None;
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
/*NUMPY_API*/
|
|
1815
|
-
NPY_NO_EXPORT int
|
|
1816
|
-
PyArray_Dump(PyObject *self, PyObject *file, int protocol)
|
|
1817
|
-
{
|
|
1818
|
-
PyObject *cpick = NULL;
|
|
1819
|
-
PyObject *ret;
|
|
1820
|
-
if (protocol < 0) {
|
|
1821
|
-
protocol = 2;
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
#if defined(NPY_PY3K)
|
|
1825
|
-
cpick = PyImport_ImportModule("pickle");
|
|
1826
|
-
#else
|
|
1827
|
-
cpick = PyImport_ImportModule("cPickle");
|
|
1828
|
-
#endif
|
|
1829
|
-
if (cpick == NULL) {
|
|
1830
|
-
return -1;
|
|
1831
|
-
}
|
|
1832
|
-
if (PyBytes_Check(file) || PyUnicode_Check(file)) {
|
|
1833
|
-
file = npy_PyFile_OpenFile(file, "wb");
|
|
1834
|
-
if (file == NULL) {
|
|
1835
|
-
Py_DECREF(cpick);
|
|
1836
|
-
return -1;
|
|
1837
|
-
}
|
|
1838
|
-
}
|
|
1839
|
-
else {
|
|
1840
|
-
Py_INCREF(file);
|
|
1841
|
-
}
|
|
1842
|
-
ret = PyObject_CallMethod(cpick, "dump", "OOi", self, file, protocol);
|
|
1843
|
-
Py_XDECREF(ret);
|
|
1844
|
-
Py_DECREF(file);
|
|
1845
|
-
Py_DECREF(cpick);
|
|
1846
|
-
if (PyErr_Occurred()) {
|
|
1847
|
-
return -1;
|
|
1848
|
-
}
|
|
1849
|
-
return 0;
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
|
-
/*NUMPY_API*/
|
|
1853
|
-
NPY_NO_EXPORT PyObject *
|
|
1854
|
-
PyArray_Dumps(PyObject *self, int protocol)
|
|
1855
|
-
{
|
|
1856
|
-
PyObject *cpick = NULL;
|
|
1857
|
-
PyObject *ret;
|
|
1858
|
-
if (protocol < 0) {
|
|
1859
|
-
protocol = 2;
|
|
1860
|
-
}
|
|
1861
|
-
#if defined(NPY_PY3K)
|
|
1862
|
-
cpick = PyImport_ImportModule("pickle");
|
|
1863
|
-
#else
|
|
1864
|
-
cpick = PyImport_ImportModule("cPickle");
|
|
1865
|
-
#endif
|
|
1866
|
-
if (cpick == NULL) {
|
|
1867
|
-
return NULL;
|
|
1868
|
-
}
|
|
1869
|
-
ret = PyObject_CallMethod(cpick, "dumps", "Oi", self, protocol);
|
|
1870
|
-
Py_DECREF(cpick);
|
|
1871
|
-
return ret;
|
|
1872
|
-
}
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
static PyObject *
|
|
1876
|
-
array_dump(PyArrayObject *self, PyObject *args)
|
|
1877
|
-
{
|
|
1878
|
-
PyObject *file = NULL;
|
|
1879
|
-
int ret;
|
|
1880
|
-
|
|
1881
|
-
if (!PyArg_ParseTuple(args, "O", &file)) {
|
|
1882
|
-
return NULL;
|
|
1883
|
-
}
|
|
1884
|
-
ret = PyArray_Dump((PyObject *)self, file, 2);
|
|
1885
|
-
if (ret < 0) {
|
|
1886
|
-
return NULL;
|
|
1887
|
-
}
|
|
1888
|
-
Py_INCREF(Py_None);
|
|
1889
|
-
return Py_None;
|
|
1890
|
-
}
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
static PyObject *
|
|
1894
|
-
array_dumps(PyArrayObject *self, PyObject *args)
|
|
1895
|
-
{
|
|
1896
|
-
if (!PyArg_ParseTuple(args, "")) {
|
|
1897
|
-
return NULL;
|
|
1898
|
-
}
|
|
1899
|
-
return PyArray_Dumps((PyObject *)self, 2);
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
static PyObject *
|
|
1904
|
-
array_transpose(PyArrayObject *self, PyObject *args)
|
|
1905
|
-
{
|
|
1906
|
-
PyObject *shape = Py_None;
|
|
1907
|
-
Py_ssize_t n = PyTuple_Size(args);
|
|
1908
|
-
PyArray_Dims permute;
|
|
1909
|
-
PyObject *ret;
|
|
1910
|
-
|
|
1911
|
-
if (n > 1) {
|
|
1912
|
-
shape = args;
|
|
1913
|
-
}
|
|
1914
|
-
else if (n == 1) {
|
|
1915
|
-
shape = PyTuple_GET_ITEM(args, 0);
|
|
1916
|
-
}
|
|
1917
|
-
|
|
1918
|
-
if (shape == Py_None) {
|
|
1919
|
-
ret = PyArray_Transpose(self, NULL);
|
|
1920
|
-
}
|
|
1921
|
-
else {
|
|
1922
|
-
if (!PyArray_IntpConverter(shape, &permute)) {
|
|
1923
|
-
return NULL;
|
|
1924
|
-
}
|
|
1925
|
-
ret = PyArray_Transpose(self, &permute);
|
|
1926
|
-
PyDimMem_FREE(permute.ptr);
|
|
1927
|
-
}
|
|
1928
|
-
|
|
1929
|
-
return ret;
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
#define _CHKTYPENUM(typ) ((typ) ? (typ)->type_num : NPY_NOTYPE)
|
|
1933
|
-
|
|
1934
|
-
static PyObject *
|
|
1935
|
-
array_mean(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1936
|
-
{
|
|
1937
|
-
NPY_FORWARD_NDARRAY_METHOD("_mean");
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
static PyObject *
|
|
1941
|
-
array_sum(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1942
|
-
{
|
|
1943
|
-
NPY_FORWARD_NDARRAY_METHOD("_sum");
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
static PyObject *
|
|
1948
|
-
array_cumsum(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1949
|
-
{
|
|
1950
|
-
int axis = NPY_MAXDIMS;
|
|
1951
|
-
PyArray_Descr *dtype = NULL;
|
|
1952
|
-
PyArrayObject *out = NULL;
|
|
1953
|
-
int rtype;
|
|
1954
|
-
static char *kwlist[] = {"axis", "dtype", "out", NULL};
|
|
1955
|
-
|
|
1956
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&O&", kwlist,
|
|
1957
|
-
PyArray_AxisConverter, &axis,
|
|
1958
|
-
PyArray_DescrConverter2, &dtype,
|
|
1959
|
-
PyArray_OutputConverter, &out)) {
|
|
1960
|
-
Py_XDECREF(dtype);
|
|
1961
|
-
return NULL;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
rtype = _CHKTYPENUM(dtype);
|
|
1965
|
-
Py_XDECREF(dtype);
|
|
1966
|
-
return PyArray_CumSum(self, axis, rtype, out);
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
static PyObject *
|
|
1970
|
-
array_prod(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1971
|
-
{
|
|
1972
|
-
NPY_FORWARD_NDARRAY_METHOD("_prod");
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
static PyObject *
|
|
1976
|
-
array_cumprod(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
1977
|
-
{
|
|
1978
|
-
int axis = NPY_MAXDIMS;
|
|
1979
|
-
PyArray_Descr *dtype = NULL;
|
|
1980
|
-
PyArrayObject *out = NULL;
|
|
1981
|
-
int rtype;
|
|
1982
|
-
static char *kwlist[] = {"axis", "dtype", "out", NULL};
|
|
1983
|
-
|
|
1984
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&O&O&", kwlist,
|
|
1985
|
-
PyArray_AxisConverter, &axis,
|
|
1986
|
-
PyArray_DescrConverter2, &dtype,
|
|
1987
|
-
PyArray_OutputConverter, &out)) {
|
|
1988
|
-
Py_XDECREF(dtype);
|
|
1989
|
-
return NULL;
|
|
1990
|
-
}
|
|
1991
|
-
|
|
1992
|
-
rtype = _CHKTYPENUM(dtype);
|
|
1993
|
-
Py_XDECREF(dtype);
|
|
1994
|
-
return PyArray_CumProd(self, axis, rtype, out);
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
static PyObject *
|
|
1999
|
-
array_dot(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2000
|
-
{
|
|
2001
|
-
PyObject *fname, *ret, *b, *out = NULL;
|
|
2002
|
-
static PyObject *numpycore = NULL;
|
|
2003
|
-
char * kwords[] = {"b", "out", NULL };
|
|
2004
|
-
|
|
2005
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O", kwords, &b, &out)) {
|
|
2006
|
-
return NULL;
|
|
2007
|
-
}
|
|
2008
|
-
|
|
2009
|
-
/* Since blas-dot is exposed only on the Python side, we need to grab it
|
|
2010
|
-
* from there */
|
|
2011
|
-
if (numpycore == NULL) {
|
|
2012
|
-
numpycore = PyImport_ImportModule("numpy.core");
|
|
2013
|
-
if (numpycore == NULL) {
|
|
2014
|
-
return NULL;
|
|
2015
|
-
}
|
|
2016
|
-
}
|
|
2017
|
-
fname = PyUString_FromString("dot");
|
|
2018
|
-
if (out == NULL) {
|
|
2019
|
-
ret = PyObject_CallMethodObjArgs(numpycore, fname, self, b, NULL);
|
|
2020
|
-
}
|
|
2021
|
-
else {
|
|
2022
|
-
ret = PyObject_CallMethodObjArgs(numpycore, fname, self, b, out, NULL);
|
|
2023
|
-
}
|
|
2024
|
-
Py_DECREF(fname);
|
|
2025
|
-
return ret;
|
|
2026
|
-
}
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
static PyObject *
|
|
2030
|
-
array_any(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2031
|
-
{
|
|
2032
|
-
NPY_FORWARD_NDARRAY_METHOD("_any");
|
|
2033
|
-
}
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
static PyObject *
|
|
2037
|
-
array_all(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2038
|
-
{
|
|
2039
|
-
NPY_FORWARD_NDARRAY_METHOD("_all");
|
|
2040
|
-
}
|
|
2041
|
-
|
|
2042
|
-
static PyObject *
|
|
2043
|
-
array_stddev(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2044
|
-
{
|
|
2045
|
-
NPY_FORWARD_NDARRAY_METHOD("_std");
|
|
2046
|
-
}
|
|
2047
|
-
|
|
2048
|
-
static PyObject *
|
|
2049
|
-
array_variance(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2050
|
-
{
|
|
2051
|
-
NPY_FORWARD_NDARRAY_METHOD("_var");
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
static PyObject *
|
|
2055
|
-
array_compress(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2056
|
-
{
|
|
2057
|
-
int axis = NPY_MAXDIMS;
|
|
2058
|
-
PyObject *condition;
|
|
2059
|
-
PyArrayObject *out = NULL;
|
|
2060
|
-
static char *kwlist[] = {"condition", "axis", "out", NULL};
|
|
2061
|
-
|
|
2062
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|O&O&", kwlist,
|
|
2063
|
-
&condition,
|
|
2064
|
-
PyArray_AxisConverter, &axis,
|
|
2065
|
-
PyArray_OutputConverter, &out)) {
|
|
2066
|
-
return NULL;
|
|
2067
|
-
}
|
|
2068
|
-
return PyArray_Return(
|
|
2069
|
-
(PyArrayObject *)PyArray_Compress(self, condition, axis, out));
|
|
2070
|
-
}
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
static PyObject *
|
|
2074
|
-
array_nonzero(PyArrayObject *self, PyObject *args)
|
|
2075
|
-
{
|
|
2076
|
-
if (!PyArg_ParseTuple(args, "")) {
|
|
2077
|
-
return NULL;
|
|
2078
|
-
}
|
|
2079
|
-
return PyArray_Nonzero(self);
|
|
2080
|
-
}
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
static PyObject *
|
|
2084
|
-
array_trace(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2085
|
-
{
|
|
2086
|
-
int axis1 = 0, axis2 = 1, offset = 0;
|
|
2087
|
-
PyArray_Descr *dtype = NULL;
|
|
2088
|
-
PyArrayObject *out = NULL;
|
|
2089
|
-
int rtype;
|
|
2090
|
-
static char *kwlist[] = {"offset", "axis1", "axis2", "dtype", "out", NULL};
|
|
2091
|
-
|
|
2092
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iiiO&O&", kwlist,
|
|
2093
|
-
&offset,
|
|
2094
|
-
&axis1,
|
|
2095
|
-
&axis2,
|
|
2096
|
-
PyArray_DescrConverter2, &dtype,
|
|
2097
|
-
PyArray_OutputConverter, &out)) {
|
|
2098
|
-
Py_XDECREF(dtype);
|
|
2099
|
-
return NULL;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
rtype = _CHKTYPENUM(dtype);
|
|
2103
|
-
Py_XDECREF(dtype);
|
|
2104
|
-
return PyArray_Return((PyArrayObject *)PyArray_Trace(self, offset, axis1, axis2, rtype, out));
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
#undef _CHKTYPENUM
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
static PyObject *
|
|
2111
|
-
array_clip(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2112
|
-
{
|
|
2113
|
-
PyObject *min = NULL, *max = NULL;
|
|
2114
|
-
PyArrayObject *out = NULL;
|
|
2115
|
-
static char *kwlist[] = {"min", "max", "out", NULL};
|
|
2116
|
-
|
|
2117
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOO&", kwlist,
|
|
2118
|
-
&min,
|
|
2119
|
-
&max,
|
|
2120
|
-
PyArray_OutputConverter, &out)) {
|
|
2121
|
-
return NULL;
|
|
2122
|
-
}
|
|
2123
|
-
if (max == NULL && min == NULL) {
|
|
2124
|
-
PyErr_SetString(PyExc_ValueError, "One of max or min must be given.");
|
|
2125
|
-
return NULL;
|
|
2126
|
-
}
|
|
2127
|
-
return PyArray_Return((PyArrayObject *)PyArray_Clip(self, min, max, out));
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
static PyObject *
|
|
2132
|
-
array_conjugate(PyArrayObject *self, PyObject *args)
|
|
2133
|
-
{
|
|
2134
|
-
|
|
2135
|
-
PyArrayObject *out = NULL;
|
|
2136
|
-
if (!PyArg_ParseTuple(args, "|O&",
|
|
2137
|
-
PyArray_OutputConverter,
|
|
2138
|
-
&out)) {
|
|
2139
|
-
return NULL;
|
|
2140
|
-
}
|
|
2141
|
-
return PyArray_Conjugate(self, out);
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
static PyObject *
|
|
2146
|
-
array_diagonal(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2147
|
-
{
|
|
2148
|
-
int axis1 = 0, axis2 = 1, offset = 0;
|
|
2149
|
-
static char *kwlist[] = {"offset", "axis1", "axis2", NULL};
|
|
2150
|
-
PyArrayObject *ret;
|
|
2151
|
-
|
|
2152
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iii", kwlist,
|
|
2153
|
-
&offset,
|
|
2154
|
-
&axis1,
|
|
2155
|
-
&axis2)) {
|
|
2156
|
-
return NULL;
|
|
2157
|
-
}
|
|
2158
|
-
|
|
2159
|
-
ret = (PyArrayObject *)PyArray_Diagonal(self, offset, axis1, axis2);
|
|
2160
|
-
return PyArray_Return(ret);
|
|
2161
|
-
}
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
static PyObject *
|
|
2165
|
-
array_flatten(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2166
|
-
{
|
|
2167
|
-
NPY_ORDER order = NPY_CORDER;
|
|
2168
|
-
static char *kwlist[] = {"order", NULL};
|
|
2169
|
-
|
|
2170
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&", kwlist,
|
|
2171
|
-
PyArray_OrderConverter, &order)) {
|
|
2172
|
-
return NULL;
|
|
2173
|
-
}
|
|
2174
|
-
return PyArray_Flatten(self, order);
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
static PyObject *
|
|
2179
|
-
array_ravel(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2180
|
-
{
|
|
2181
|
-
NPY_ORDER order = NPY_CORDER;
|
|
2182
|
-
static char *kwlist[] = {"order", NULL};
|
|
2183
|
-
|
|
2184
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|O&", kwlist,
|
|
2185
|
-
PyArray_OrderConverter, &order)) {
|
|
2186
|
-
return NULL;
|
|
2187
|
-
}
|
|
2188
|
-
return PyArray_Ravel(self, order);
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
static PyObject *
|
|
2193
|
-
array_round(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2194
|
-
{
|
|
2195
|
-
int decimals = 0;
|
|
2196
|
-
PyArrayObject *out = NULL;
|
|
2197
|
-
static char *kwlist[] = {"decimals", "out", NULL};
|
|
2198
|
-
|
|
2199
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iO&", kwlist,
|
|
2200
|
-
&decimals,
|
|
2201
|
-
PyArray_OutputConverter, &out)) {
|
|
2202
|
-
return NULL;
|
|
2203
|
-
}
|
|
2204
|
-
return PyArray_Return((PyArrayObject *)PyArray_Round(self, decimals, out));
|
|
2205
|
-
}
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
static PyObject *
|
|
2210
|
-
array_setflags(PyArrayObject *self, PyObject *args, PyObject *kwds)
|
|
2211
|
-
{
|
|
2212
|
-
static char *kwlist[] = {"write", "align", "uic", NULL};
|
|
2213
|
-
PyObject *write_flag = Py_None;
|
|
2214
|
-
PyObject *align_flag = Py_None;
|
|
2215
|
-
PyObject *uic = Py_None;
|
|
2216
|
-
int flagback = PyArray_FLAGS(self);
|
|
2217
|
-
|
|
2218
|
-
PyArrayObject_fields *fa = (PyArrayObject_fields *)self;
|
|
2219
|
-
|
|
2220
|
-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|OOO", kwlist,
|
|
2221
|
-
&write_flag,
|
|
2222
|
-
&align_flag,
|
|
2223
|
-
&uic))
|
|
2224
|
-
return NULL;
|
|
2225
|
-
|
|
2226
|
-
if (align_flag != Py_None) {
|
|
2227
|
-
if (PyObject_Not(align_flag)) {
|
|
2228
|
-
PyArray_CLEARFLAGS(self, NPY_ARRAY_ALIGNED);
|
|
2229
|
-
}
|
|
2230
|
-
else if (_IsAligned(self)) {
|
|
2231
|
-
PyArray_ENABLEFLAGS(self, NPY_ARRAY_ALIGNED);
|
|
2232
|
-
}
|
|
2233
|
-
else {
|
|
2234
|
-
PyErr_SetString(PyExc_ValueError,
|
|
2235
|
-
"cannot set aligned flag of mis-"\
|
|
2236
|
-
"aligned array to True");
|
|
2237
|
-
return NULL;
|
|
2238
|
-
}
|
|
2239
|
-
}
|
|
2240
|
-
|
|
2241
|
-
if (uic != Py_None) {
|
|
2242
|
-
if (PyObject_IsTrue(uic)) {
|
|
2243
|
-
fa->flags = flagback;
|
|
2244
|
-
PyErr_SetString(PyExc_ValueError,
|
|
2245
|
-
"cannot set UPDATEIFCOPY " \
|
|
2246
|
-
"flag to True");
|
|
2247
|
-
return NULL;
|
|
2248
|
-
}
|
|
2249
|
-
else {
|
|
2250
|
-
PyArray_CLEARFLAGS(self, NPY_ARRAY_UPDATEIFCOPY);
|
|
2251
|
-
Py_XDECREF(fa->base);
|
|
2252
|
-
fa->base = NULL;
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
|
-
if (write_flag != Py_None) {
|
|
2257
|
-
if (PyObject_IsTrue(write_flag)) {
|
|
2258
|
-
if (_IsWriteable(self)) {
|
|
2259
|
-
PyArray_ENABLEFLAGS(self, NPY_ARRAY_WRITEABLE);
|
|
2260
|
-
}
|
|
2261
|
-
else {
|
|
2262
|
-
fa->flags = flagback;
|
|
2263
|
-
PyErr_SetString(PyExc_ValueError,
|
|
2264
|
-
"cannot set WRITEABLE "
|
|
2265
|
-
"flag to True of this "
|
|
2266
|
-
"array");
|
|
2267
|
-
return NULL;
|
|
2268
|
-
}
|
|
2269
|
-
}
|
|
2270
|
-
else {
|
|
2271
|
-
PyArray_CLEARFLAGS(self, NPY_ARRAY_WRITEABLE);
|
|
2272
|
-
}
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
Py_INCREF(Py_None);
|
|
2276
|
-
return Py_None;
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
static PyObject *
|
|
2281
|
-
array_newbyteorder(PyArrayObject *self, PyObject *args)
|
|
2282
|
-
{
|
|
2283
|
-
char endian = NPY_SWAP;
|
|
2284
|
-
PyArray_Descr *new;
|
|
2285
|
-
|
|
2286
|
-
if (!PyArg_ParseTuple(args, "|O&", PyArray_ByteorderConverter,
|
|
2287
|
-
&endian)) {
|
|
2288
|
-
return NULL;
|
|
2289
|
-
}
|
|
2290
|
-
new = PyArray_DescrNewByteorder(PyArray_DESCR(self), endian);
|
|
2291
|
-
if (!new) {
|
|
2292
|
-
return NULL;
|
|
2293
|
-
}
|
|
2294
|
-
return PyArray_View(self, new, NULL);
|
|
2295
|
-
|
|
2296
|
-
}
|
|
2297
|
-
|
|
2298
|
-
NPY_NO_EXPORT PyMethodDef array_methods[] = {
|
|
2299
|
-
|
|
2300
|
-
/* for subtypes */
|
|
2301
|
-
{"__array__",
|
|
2302
|
-
(PyCFunction)array_getarray,
|
|
2303
|
-
METH_VARARGS, NULL},
|
|
2304
|
-
{"__array_prepare__",
|
|
2305
|
-
(PyCFunction)array_preparearray,
|
|
2306
|
-
METH_VARARGS, NULL},
|
|
2307
|
-
{"__array_wrap__",
|
|
2308
|
-
(PyCFunction)array_wraparray,
|
|
2309
|
-
METH_VARARGS, NULL},
|
|
2310
|
-
|
|
2311
|
-
/* for the copy module */
|
|
2312
|
-
{"__copy__",
|
|
2313
|
-
(PyCFunction)array_copy_keeporder,
|
|
2314
|
-
METH_VARARGS, NULL},
|
|
2315
|
-
{"__deepcopy__",
|
|
2316
|
-
(PyCFunction)array_deepcopy,
|
|
2317
|
-
METH_VARARGS, NULL},
|
|
2318
|
-
|
|
2319
|
-
/* for Pickling */
|
|
2320
|
-
{"__reduce__",
|
|
2321
|
-
(PyCFunction) array_reduce,
|
|
2322
|
-
METH_VARARGS, NULL},
|
|
2323
|
-
{"__setstate__",
|
|
2324
|
-
(PyCFunction) array_setstate,
|
|
2325
|
-
METH_VARARGS, NULL},
|
|
2326
|
-
{"dumps",
|
|
2327
|
-
(PyCFunction) array_dumps,
|
|
2328
|
-
METH_VARARGS, NULL},
|
|
2329
|
-
{"dump",
|
|
2330
|
-
(PyCFunction) array_dump,
|
|
2331
|
-
METH_VARARGS, NULL},
|
|
2332
|
-
|
|
2333
|
-
/* Original and Extended methods added 2005 */
|
|
2334
|
-
{"all",
|
|
2335
|
-
(PyCFunction)array_all,
|
|
2336
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2337
|
-
{"any",
|
|
2338
|
-
(PyCFunction)array_any,
|
|
2339
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2340
|
-
{"argmax",
|
|
2341
|
-
(PyCFunction)array_argmax,
|
|
2342
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2343
|
-
{"argmin",
|
|
2344
|
-
(PyCFunction)array_argmin,
|
|
2345
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2346
|
-
{"argpartition",
|
|
2347
|
-
(PyCFunction)array_argpartition,
|
|
2348
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2349
|
-
{"argsort",
|
|
2350
|
-
(PyCFunction)array_argsort,
|
|
2351
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2352
|
-
{"astype",
|
|
2353
|
-
(PyCFunction)array_astype,
|
|
2354
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2355
|
-
{"byteswap",
|
|
2356
|
-
(PyCFunction)array_byteswap,
|
|
2357
|
-
METH_VARARGS, NULL},
|
|
2358
|
-
{"choose",
|
|
2359
|
-
(PyCFunction)array_choose,
|
|
2360
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2361
|
-
{"clip",
|
|
2362
|
-
(PyCFunction)array_clip,
|
|
2363
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2364
|
-
{"compress",
|
|
2365
|
-
(PyCFunction)array_compress,
|
|
2366
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2367
|
-
{"conj",
|
|
2368
|
-
(PyCFunction)array_conjugate,
|
|
2369
|
-
METH_VARARGS, NULL},
|
|
2370
|
-
{"conjugate",
|
|
2371
|
-
(PyCFunction)array_conjugate,
|
|
2372
|
-
METH_VARARGS, NULL},
|
|
2373
|
-
{"copy",
|
|
2374
|
-
(PyCFunction)array_copy,
|
|
2375
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2376
|
-
{"cumprod",
|
|
2377
|
-
(PyCFunction)array_cumprod,
|
|
2378
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2379
|
-
{"cumsum",
|
|
2380
|
-
(PyCFunction)array_cumsum,
|
|
2381
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2382
|
-
{"diagonal",
|
|
2383
|
-
(PyCFunction)array_diagonal,
|
|
2384
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2385
|
-
{"dot",
|
|
2386
|
-
(PyCFunction)array_dot,
|
|
2387
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2388
|
-
{"fill",
|
|
2389
|
-
(PyCFunction)array_fill,
|
|
2390
|
-
METH_VARARGS, NULL},
|
|
2391
|
-
{"flatten",
|
|
2392
|
-
(PyCFunction)array_flatten,
|
|
2393
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2394
|
-
{"getfield",
|
|
2395
|
-
(PyCFunction)array_getfield,
|
|
2396
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2397
|
-
{"item",
|
|
2398
|
-
(PyCFunction)array_toscalar,
|
|
2399
|
-
METH_VARARGS, NULL},
|
|
2400
|
-
{"itemset",
|
|
2401
|
-
(PyCFunction) array_setscalar,
|
|
2402
|
-
METH_VARARGS, NULL},
|
|
2403
|
-
{"max",
|
|
2404
|
-
(PyCFunction)array_max,
|
|
2405
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2406
|
-
{"mean",
|
|
2407
|
-
(PyCFunction)array_mean,
|
|
2408
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2409
|
-
{"min",
|
|
2410
|
-
(PyCFunction)array_min,
|
|
2411
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2412
|
-
{"newbyteorder",
|
|
2413
|
-
(PyCFunction)array_newbyteorder,
|
|
2414
|
-
METH_VARARGS, NULL},
|
|
2415
|
-
{"nonzero",
|
|
2416
|
-
(PyCFunction)array_nonzero,
|
|
2417
|
-
METH_VARARGS, NULL},
|
|
2418
|
-
{"partition",
|
|
2419
|
-
(PyCFunction)array_partition,
|
|
2420
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2421
|
-
{"prod",
|
|
2422
|
-
(PyCFunction)array_prod,
|
|
2423
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2424
|
-
{"ptp",
|
|
2425
|
-
(PyCFunction)array_ptp,
|
|
2426
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2427
|
-
{"put",
|
|
2428
|
-
(PyCFunction)array_put,
|
|
2429
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2430
|
-
{"ravel",
|
|
2431
|
-
(PyCFunction)array_ravel,
|
|
2432
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2433
|
-
{"repeat",
|
|
2434
|
-
(PyCFunction)array_repeat,
|
|
2435
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2436
|
-
{"reshape",
|
|
2437
|
-
(PyCFunction)array_reshape,
|
|
2438
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2439
|
-
{"resize",
|
|
2440
|
-
(PyCFunction)array_resize,
|
|
2441
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2442
|
-
{"round",
|
|
2443
|
-
(PyCFunction)array_round,
|
|
2444
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2445
|
-
{"searchsorted",
|
|
2446
|
-
(PyCFunction)array_searchsorted,
|
|
2447
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2448
|
-
{"setfield",
|
|
2449
|
-
(PyCFunction)array_setfield,
|
|
2450
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2451
|
-
{"setflags",
|
|
2452
|
-
(PyCFunction)array_setflags,
|
|
2453
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2454
|
-
{"sort",
|
|
2455
|
-
(PyCFunction)array_sort,
|
|
2456
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2457
|
-
{"squeeze",
|
|
2458
|
-
(PyCFunction)array_squeeze,
|
|
2459
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2460
|
-
{"std",
|
|
2461
|
-
(PyCFunction)array_stddev,
|
|
2462
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2463
|
-
{"sum",
|
|
2464
|
-
(PyCFunction)array_sum,
|
|
2465
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2466
|
-
{"swapaxes",
|
|
2467
|
-
(PyCFunction)array_swapaxes,
|
|
2468
|
-
METH_VARARGS, NULL},
|
|
2469
|
-
{"take",
|
|
2470
|
-
(PyCFunction)array_take,
|
|
2471
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2472
|
-
{"tobytes",
|
|
2473
|
-
(PyCFunction)array_tobytes,
|
|
2474
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2475
|
-
{"tofile",
|
|
2476
|
-
(PyCFunction)array_tofile,
|
|
2477
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2478
|
-
{"tolist",
|
|
2479
|
-
(PyCFunction)array_tolist,
|
|
2480
|
-
METH_VARARGS, NULL},
|
|
2481
|
-
{"tostring",
|
|
2482
|
-
(PyCFunction)array_tobytes,
|
|
2483
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2484
|
-
{"trace",
|
|
2485
|
-
(PyCFunction)array_trace,
|
|
2486
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2487
|
-
{"transpose",
|
|
2488
|
-
(PyCFunction)array_transpose,
|
|
2489
|
-
METH_VARARGS, NULL},
|
|
2490
|
-
{"var",
|
|
2491
|
-
(PyCFunction)array_variance,
|
|
2492
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2493
|
-
{"view",
|
|
2494
|
-
(PyCFunction)array_view,
|
|
2495
|
-
METH_VARARGS | METH_KEYWORDS, NULL},
|
|
2496
|
-
{NULL, NULL, 0, NULL} /* sentinel */
|
|
2497
|
-
};
|