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.

Files changed (1593) hide show
  1. numpy-1.10.0.post2/INSTALL.txt +200 -0
  2. numpy-1.10.0.post2/LICENSE.txt +30 -0
  3. numpy-1.10.0.post2/MANIFEST.in +31 -0
  4. numpy-1.10.0.post2/PKG-INFO +47 -0
  5. numpy-1.10.0.post2/cnew.txt +117 -0
  6. numpy-1.10.0.post2/cold.txt +44 -0
  7. numpy-1.10.0.post2/committers.txt +160 -0
  8. numpy-1.10.0.post2/cpre.txt +283 -0
  9. numpy-1.10.0.post2/crel.txt +161 -0
  10. numpy-1.10.0.post2/doc/release/1.10.0-notes.rst +439 -0
  11. numpy-1.10.0.post2/doc/scipy-sphinx-theme/.git +1 -0
  12. numpy-1.10.0.post2/doc/source/conf.py +331 -0
  13. numpy-1.10.0.post2/doc/source/dev/development_environment.rst +211 -0
  14. numpy-1.10.0.post2/doc/source/dev/gitwash/development_workflow.rst +534 -0
  15. numpy-1.10.0.post2/doc/source/dev/gitwash/git_links.inc +95 -0
  16. numpy-1.10.0.post2/doc/source/dev/gitwash/index.rst +14 -0
  17. numpy-1.10.0.post2/doc/source/dev/index.rst +11 -0
  18. numpy-1.10.0.post2/doc/source/reference/arrays.classes.rst +490 -0
  19. numpy-1.10.0.post2/doc/source/reference/arrays.dtypes.rst +536 -0
  20. numpy-1.10.0.post2/doc/source/reference/arrays.indexing.rst +549 -0
  21. numpy-1.10.0.post2/doc/source/reference/arrays.interface.rst +337 -0
  22. numpy-1.10.0.post2/doc/source/reference/arrays.ndarray.rst +622 -0
  23. numpy-1.10.0.post2/doc/source/reference/arrays.scalars.rst +291 -0
  24. numpy-1.10.0.post2/doc/source/reference/c-api.array.rst +3393 -0
  25. numpy-1.10.0.post2/doc/source/reference/c-api.config.rst +103 -0
  26. numpy-1.10.0.post2/doc/source/reference/c-api.coremath.rst +420 -0
  27. numpy-1.10.0.post2/doc/source/reference/c-api.dtype.rst +376 -0
  28. numpy-1.10.0.post2/doc/source/reference/c-api.generalized-ufuncs.rst +191 -0
  29. numpy-1.10.0.post2/doc/source/reference/c-api.iterator.rst +1300 -0
  30. numpy-1.10.0.post2/doc/source/reference/c-api.types-and-structures.rst +1240 -0
  31. numpy-1.10.0.post2/doc/source/reference/c-api.ufunc.rst +413 -0
  32. numpy-1.10.0.post2/doc/source/reference/index.rst +43 -0
  33. numpy-1.10.0.post2/doc/source/reference/internals.code-explanations.rst +615 -0
  34. numpy-1.10.0.post2/doc/source/reference/routines.array-manipulation.rst +115 -0
  35. numpy-1.10.0.post2/doc/source/reference/routines.io.rst +78 -0
  36. numpy-1.10.0.post2/doc/source/reference/routines.linalg.rst +91 -0
  37. numpy-1.10.0.post2/doc/source/reference/routines.ma.rst +407 -0
  38. numpy-1.10.0.post2/doc/source/reference/routines.sort.rst +41 -0
  39. numpy-1.10.0.post2/doc/source/reference/routines.statistics.rst +57 -0
  40. numpy-1.10.0.post2/doc/source/reference/swig.interface-file.rst +1066 -0
  41. numpy-1.10.0.post2/doc/source/reference/swig.testing.rst +167 -0
  42. numpy-1.10.0.post2/doc/source/reference/ufuncs.rst +666 -0
  43. numpy-1.10.0.post2/doc/source/release.rst +20 -0
  44. numpy-1.10.0.post2/doc/source/user/basics.io.genfromtxt.rst +531 -0
  45. numpy-1.10.0.post2/doc/source/user/basics.rec.rst +7 -0
  46. numpy-1.10.0.post2/doc/source/user/c-info.beyond-basics.rst +560 -0
  47. numpy-1.10.0.post2/doc/source/user/c-info.how-to-extend.rst +642 -0
  48. numpy-1.10.0.post2/doc/source/user/c-info.python-as-glue.rst +1177 -0
  49. numpy-1.10.0.post2/doc/source/user/c-info.ufunc-tutorial.rst +1211 -0
  50. numpy-1.10.0.post2/doc/source/user/install.rst +194 -0
  51. numpy-1.10.0.post2/doc/sphinxext/.git +1 -0
  52. numpy-1.10.0.post2/numpy/__init__.py +227 -0
  53. numpy-1.10.0.post2/numpy/_build_utils/README +8 -0
  54. numpy-1.10.0.post2/numpy/_build_utils/apple_accelerate.py +21 -0
  55. numpy-1.10.0.post2/numpy/_build_utils/common.py +138 -0
  56. numpy-1.10.0.post2/numpy/_build_utils/src/apple_sgemv_fix.c +227 -0
  57. numpy-1.10.0.post2/numpy/_build_utils/waf.py +531 -0
  58. numpy-1.10.0.post2/numpy/_import_tools.py +353 -0
  59. numpy-1.10.0.post2/numpy/add_newdocs.py +7611 -0
  60. numpy-1.10.0.post2/numpy/compat/_inspect.py +194 -0
  61. numpy-1.10.0.post2/numpy/compat/py3k.py +88 -0
  62. numpy-1.10.0.post2/numpy/compat/setup.py +12 -0
  63. numpy-1.10.0.post2/numpy/core/__init__.py +89 -0
  64. numpy-1.10.0.post2/numpy/core/_internal.py +761 -0
  65. numpy-1.10.0.post2/numpy/core/_methods.py +133 -0
  66. numpy-1.10.0.post2/numpy/core/arrayprint.py +760 -0
  67. numpy-1.10.0.post2/numpy/core/code_generators/cversions.txt +34 -0
  68. numpy-1.10.0.post2/numpy/core/code_generators/generate_ufunc_api.py +219 -0
  69. numpy-1.10.0.post2/numpy/core/code_generators/generate_umath.py +1017 -0
  70. numpy-1.10.0.post2/numpy/core/code_generators/numpy_api.py +415 -0
  71. numpy-1.10.0.post2/numpy/core/code_generators/ufunc_docstrings.py +3442 -0
  72. numpy-1.10.0.post2/numpy/core/defchararray.py +2689 -0
  73. numpy-1.10.0.post2/numpy/core/fromnumeric.py +3089 -0
  74. numpy-1.10.0.post2/numpy/core/function_base.py +203 -0
  75. numpy-1.10.0.post2/numpy/core/getlimits.py +308 -0
  76. numpy-1.10.0.post2/numpy/core/include/numpy/ndarrayobject.h +246 -0
  77. numpy-1.10.0.post2/numpy/core/include/numpy/ndarraytypes.h +1797 -0
  78. numpy-1.10.0.post2/numpy/core/include/numpy/npy_3kcompat.h +448 -0
  79. numpy-1.10.0.post2/numpy/core/include/numpy/npy_common.h +1051 -0
  80. numpy-1.10.0.post2/numpy/core/include/numpy/npy_cpu.h +92 -0
  81. numpy-1.10.0.post2/numpy/core/include/numpy/npy_endian.h +61 -0
  82. numpy-1.10.0.post2/numpy/core/include/numpy/npy_math.h +525 -0
  83. numpy-1.10.0.post2/numpy/core/include/numpy/numpyconfig.h +36 -0
  84. numpy-1.10.0.post2/numpy/core/machar.py +342 -0
  85. numpy-1.10.0.post2/numpy/core/memmap.py +311 -0
  86. numpy-1.10.0.post2/numpy/core/numeric.py +2893 -0
  87. numpy-1.10.0.post2/numpy/core/numerictypes.py +1036 -0
  88. numpy-1.10.0.post2/numpy/core/records.py +846 -0
  89. numpy-1.10.0.post2/numpy/core/setup.py +983 -0
  90. numpy-1.10.0.post2/numpy/core/setup_common.py +352 -0
  91. numpy-1.10.0.post2/numpy/core/shape_base.py +350 -0
  92. numpy-1.10.0.post2/numpy/core/src/multiarray/alloc.c +244 -0
  93. numpy-1.10.0.post2/numpy/core/src/multiarray/arrayobject.c +1858 -0
  94. numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.c.src +4738 -0
  95. numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.h +37 -0
  96. numpy-1.10.0.post2/numpy/core/src/multiarray/buffer.c +981 -0
  97. numpy-1.10.0.post2/numpy/core/src/multiarray/calculation.c +1224 -0
  98. numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.c +812 -0
  99. numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.h +10 -0
  100. numpy-1.10.0.post2/numpy/core/src/multiarray/common.c +911 -0
  101. numpy-1.10.0.post2/numpy/core/src/multiarray/common.h +250 -0
  102. numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.c +1664 -0
  103. numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.h +24 -0
  104. numpy-1.10.0.post2/numpy/core/src/multiarray/conversion_utils.c +1217 -0
  105. numpy-1.10.0.post2/numpy/core/src/multiarray/convert.c +590 -0
  106. numpy-1.10.0.post2/numpy/core/src/multiarray/convert_datatype.c +2155 -0
  107. numpy-1.10.0.post2/numpy/core/src/multiarray/ctors.c +3838 -0
  108. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime.c +3821 -0
  109. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busday.c +1322 -0
  110. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busdaycal.c +552 -0
  111. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_strings.c +1772 -0
  112. numpy-1.10.0.post2/numpy/core/src/multiarray/descriptor.c +3719 -0
  113. numpy-1.10.0.post2/numpy/core/src/multiarray/dtype_transfer.c +4239 -0
  114. numpy-1.10.0.post2/numpy/core/src/multiarray/einsum.c.src +3005 -0
  115. numpy-1.10.0.post2/numpy/core/src/multiarray/getset.c +986 -0
  116. numpy-1.10.0.post2/numpy/core/src/multiarray/hashdescr.c +318 -0
  117. numpy-1.10.0.post2/numpy/core/src/multiarray/item_selection.c +2413 -0
  118. numpy-1.10.0.post2/numpy/core/src/multiarray/iterators.c +2192 -0
  119. numpy-1.10.0.post2/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +1769 -0
  120. numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.c +3380 -0
  121. numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.h +77 -0
  122. numpy-1.10.0.post2/numpy/core/src/multiarray/methods.c +2514 -0
  123. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarray_tests.c.src +1035 -0
  124. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.c +4628 -0
  125. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.h +15 -0
  126. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_api.c +2809 -0
  127. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_constr.c +3160 -0
  128. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_pywrap.c +2499 -0
  129. numpy-1.10.0.post2/numpy/core/src/multiarray/number.c +1106 -0
  130. numpy-1.10.0.post2/numpy/core/src/multiarray/number.h +77 -0
  131. numpy-1.10.0.post2/numpy/core/src/multiarray/numpymemoryview.c +308 -0
  132. numpy-1.10.0.post2/numpy/core/src/multiarray/numpyos.c +683 -0
  133. numpy-1.10.0.post2/numpy/core/src/multiarray/scalarapi.c +870 -0
  134. numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.c.src +4343 -0
  135. numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.h +55 -0
  136. numpy-1.10.0.post2/numpy/core/src/multiarray/shape.c +1131 -0
  137. numpy-1.10.0.post2/numpy/core/src/multiarray/ucsnarrow.c +174 -0
  138. numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.c +180 -0
  139. numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.h +18 -0
  140. numpy-1.10.0.post2/numpy/core/src/npymath/ieee754.c.src +808 -0
  141. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math.c.src +597 -0
  142. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_complex.c.src +1788 -0
  143. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_private.h +544 -0
  144. numpy-1.10.0.post2/numpy/core/src/npysort/heapsort.c.src +402 -0
  145. numpy-1.10.0.post2/numpy/core/src/npysort/mergesort.c.src +488 -0
  146. numpy-1.10.0.post2/numpy/core/src/npysort/npysort_common.h +360 -0
  147. numpy-1.10.0.post2/numpy/core/src/npysort/quicksort.c.src +523 -0
  148. numpy-1.10.0.post2/numpy/core/src/npysort/selection.c.src +426 -0
  149. numpy-1.10.0.post2/numpy/core/src/private/npy_cblas.h +584 -0
  150. numpy-1.10.0.post2/numpy/core/src/private/npy_config.h +101 -0
  151. numpy-1.10.0.post2/numpy/core/src/private/npy_import.h +32 -0
  152. numpy-1.10.0.post2/numpy/core/src/private/npy_partition.h.src +122 -0
  153. numpy-1.10.0.post2/numpy/core/src/private/npy_sort.h +196 -0
  154. numpy-1.10.0.post2/numpy/core/src/private/templ_common.h.src +43 -0
  155. numpy-1.10.0.post2/numpy/core/src/private/ufunc_override.h +397 -0
  156. numpy-1.10.0.post2/numpy/core/src/umath/funcs.inc.src +356 -0
  157. numpy-1.10.0.post2/numpy/core/src/umath/loops.c.src +2675 -0
  158. numpy-1.10.0.post2/numpy/core/src/umath/loops.h.src +497 -0
  159. numpy-1.10.0.post2/numpy/core/src/umath/operand_flag_tests.c.src +105 -0
  160. numpy-1.10.0.post2/numpy/core/src/umath/scalarmath.c.src +1738 -0
  161. numpy-1.10.0.post2/numpy/core/src/umath/simd.inc.src +903 -0
  162. numpy-1.10.0.post2/numpy/core/src/umath/test_rational.c.src +1404 -0
  163. numpy-1.10.0.post2/numpy/core/src/umath/ufunc_object.c +5703 -0
  164. numpy-1.10.0.post2/numpy/core/src/umath/ufunc_type_resolution.c +2159 -0
  165. numpy-1.10.0.post2/numpy/core/src/umath/umath_tests.c.src +392 -0
  166. numpy-1.10.0.post2/numpy/core/src/umath/umathmodule.c +443 -0
  167. numpy-1.10.0.post2/numpy/core/tests/test_abc.py +47 -0
  168. numpy-1.10.0.post2/numpy/core/tests/test_api.py +515 -0
  169. numpy-1.10.0.post2/numpy/core/tests/test_arrayprint.py +171 -0
  170. numpy-1.10.0.post2/numpy/core/tests/test_datetime.py +1820 -0
  171. numpy-1.10.0.post2/numpy/core/tests/test_defchararray.py +703 -0
  172. numpy-1.10.0.post2/numpy/core/tests/test_deprecations.py +619 -0
  173. numpy-1.10.0.post2/numpy/core/tests/test_dtype.py +578 -0
  174. numpy-1.10.0.post2/numpy/core/tests/test_einsum.py +627 -0
  175. numpy-1.10.0.post2/numpy/core/tests/test_errstate.py +52 -0
  176. numpy-1.10.0.post2/numpy/core/tests/test_function_base.py +142 -0
  177. numpy-1.10.0.post2/numpy/core/tests/test_getlimits.py +77 -0
  178. numpy-1.10.0.post2/numpy/core/tests/test_half.py +436 -0
  179. numpy-1.10.0.post2/numpy/core/tests/test_indexerrors.py +126 -0
  180. numpy-1.10.0.post2/numpy/core/tests/test_indexing.py +1047 -0
  181. numpy-1.10.0.post2/numpy/core/tests/test_item_selection.py +73 -0
  182. numpy-1.10.0.post2/numpy/core/tests/test_machar.py +29 -0
  183. numpy-1.10.0.post2/numpy/core/tests/test_memmap.py +130 -0
  184. numpy-1.10.0.post2/numpy/core/tests/test_multiarray.py +5924 -0
  185. numpy-1.10.0.post2/numpy/core/tests/test_multiarray_assignment.py +84 -0
  186. numpy-1.10.0.post2/numpy/core/tests/test_nditer.py +2638 -0
  187. numpy-1.10.0.post2/numpy/core/tests/test_numeric.py +2204 -0
  188. numpy-1.10.0.post2/numpy/core/tests/test_numerictypes.py +382 -0
  189. numpy-1.10.0.post2/numpy/core/tests/test_print.py +248 -0
  190. numpy-1.10.0.post2/numpy/core/tests/test_records.py +299 -0
  191. numpy-1.10.0.post2/numpy/core/tests/test_regression.py +2177 -0
  192. numpy-1.10.0.post2/numpy/core/tests/test_scalarinherit.py +41 -0
  193. numpy-1.10.0.post2/numpy/core/tests/test_scalarmath.py +316 -0
  194. numpy-1.10.0.post2/numpy/core/tests/test_shape_base.py +319 -0
  195. numpy-1.10.0.post2/numpy/core/tests/test_ufunc.py +1227 -0
  196. numpy-1.10.0.post2/numpy/core/tests/test_umath.py +1933 -0
  197. numpy-1.10.0.post2/numpy/core/tests/test_umath_complex.py +538 -0
  198. numpy-1.10.0.post2/numpy/core/tests/test_unicode.py +360 -0
  199. numpy-1.10.0.post2/numpy/distutils/__init__.py +23 -0
  200. numpy-1.10.0.post2/numpy/distutils/ccompiler.py +690 -0
  201. numpy-1.10.0.post2/numpy/distutils/command/autodist.py +94 -0
  202. numpy-1.10.0.post2/numpy/distutils/command/build.py +47 -0
  203. numpy-1.10.0.post2/numpy/distutils/command/build_clib.py +295 -0
  204. numpy-1.10.0.post2/numpy/distutils/command/build_ext.py +522 -0
  205. numpy-1.10.0.post2/numpy/distutils/command/config.py +437 -0
  206. numpy-1.10.0.post2/numpy/distutils/exec_command.py +651 -0
  207. numpy-1.10.0.post2/numpy/distutils/fcompiler/compaq.py +128 -0
  208. numpy-1.10.0.post2/numpy/distutils/fcompiler/gnu.py +403 -0
  209. numpy-1.10.0.post2/numpy/distutils/fcompiler/intel.py +217 -0
  210. numpy-1.10.0.post2/numpy/distutils/fcompiler/pg.py +63 -0
  211. numpy-1.10.0.post2/numpy/distutils/fcompiler/sun.py +55 -0
  212. numpy-1.10.0.post2/numpy/distutils/intelccompiler.py +95 -0
  213. numpy-1.10.0.post2/numpy/distutils/lib2def.py +116 -0
  214. numpy-1.10.0.post2/numpy/distutils/mingw32ccompiler.py +599 -0
  215. numpy-1.10.0.post2/numpy/distutils/misc_util.py +2306 -0
  216. numpy-1.10.0.post2/numpy/distutils/msvc9compiler.py +23 -0
  217. numpy-1.10.0.post2/numpy/distutils/msvccompiler.py +17 -0
  218. numpy-1.10.0.post2/numpy/distutils/npy_pkg_config.py +451 -0
  219. numpy-1.10.0.post2/numpy/distutils/system_info.py +2397 -0
  220. numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +12 -0
  221. numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +11 -0
  222. numpy-1.10.0.post2/numpy/distutils/tests/gen_ext/tests/test_fib3.py +11 -0
  223. numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +13 -0
  224. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/__init__.py +1 -0
  225. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example.py +17 -0
  226. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example2.py +15 -0
  227. numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_gnu.py +60 -0
  228. numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_intel.py +36 -0
  229. numpy-1.10.0.post2/numpy/distutils/tests/test_misc_util.py +79 -0
  230. numpy-1.10.0.post2/numpy/distutils/tests/test_npy_pkg_config.py +102 -0
  231. numpy-1.10.0.post2/numpy/distutils/tests/test_system_info.py +209 -0
  232. numpy-1.10.0.post2/numpy/distutils/unixccompiler.py +125 -0
  233. numpy-1.10.0.post2/numpy/doc/byteswapping.py +156 -0
  234. numpy-1.10.0.post2/numpy/doc/creation.py +144 -0
  235. numpy-1.10.0.post2/numpy/doc/glossary.py +423 -0
  236. numpy-1.10.0.post2/numpy/doc/indexing.py +439 -0
  237. numpy-1.10.0.post2/numpy/doc/structured_arrays.py +290 -0
  238. numpy-1.10.0.post2/numpy/f2py/__init__.py +49 -0
  239. numpy-1.10.0.post2/numpy/f2py/__main__.py +25 -0
  240. numpy-1.10.0.post2/numpy/f2py/auxfuncs.py +858 -0
  241. numpy-1.10.0.post2/numpy/f2py/capi_maps.py +851 -0
  242. numpy-1.10.0.post2/numpy/f2py/cb_rules.py +554 -0
  243. numpy-1.10.0.post2/numpy/f2py/cfuncs.py +1261 -0
  244. numpy-1.10.0.post2/numpy/f2py/common_rules.py +150 -0
  245. numpy-1.10.0.post2/numpy/f2py/crackfortran.py +3314 -0
  246. numpy-1.10.0.post2/numpy/f2py/diagnose.py +156 -0
  247. numpy-1.10.0.post2/numpy/f2py/f2py2e.py +656 -0
  248. numpy-1.10.0.post2/numpy/f2py/f2py_testing.py +48 -0
  249. numpy-1.10.0.post2/numpy/f2py/f90mod_rules.py +272 -0
  250. numpy-1.10.0.post2/numpy/f2py/func2subr.py +299 -0
  251. numpy-1.10.0.post2/numpy/f2py/rules.py +1475 -0
  252. numpy-1.10.0.post2/numpy/f2py/setup.py +117 -0
  253. numpy-1.10.0.post2/numpy/f2py/src/fortranobject.c +1037 -0
  254. numpy-1.10.0.post2/numpy/f2py/src/fortranobject.h +162 -0
  255. numpy-1.10.0.post2/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +223 -0
  256. numpy-1.10.0.post2/numpy/f2py/tests/test_array_from_pyobj.py +593 -0
  257. numpy-1.10.0.post2/numpy/f2py/tests/test_assumed_shape.py +35 -0
  258. numpy-1.10.0.post2/numpy/f2py/tests/test_callback.py +136 -0
  259. numpy-1.10.0.post2/numpy/f2py/tests/test_kind.py +36 -0
  260. numpy-1.10.0.post2/numpy/f2py/tests/test_mixed.py +40 -0
  261. numpy-1.10.0.post2/numpy/f2py/tests/test_regression.py +34 -0
  262. numpy-1.10.0.post2/numpy/f2py/tests/test_return_character.py +148 -0
  263. numpy-1.10.0.post2/numpy/f2py/tests/test_return_complex.py +170 -0
  264. numpy-1.10.0.post2/numpy/f2py/tests/test_return_integer.py +180 -0
  265. numpy-1.10.0.post2/numpy/f2py/tests/test_return_logical.py +189 -0
  266. numpy-1.10.0.post2/numpy/f2py/tests/test_return_real.py +206 -0
  267. numpy-1.10.0.post2/numpy/f2py/tests/test_size.py +44 -0
  268. numpy-1.10.0.post2/numpy/f2py/tests/util.py +367 -0
  269. numpy-1.10.0.post2/numpy/f2py/use_rules.py +115 -0
  270. numpy-1.10.0.post2/numpy/fft/fftpack.c +1501 -0
  271. numpy-1.10.0.post2/numpy/fft/fftpack.h +28 -0
  272. numpy-1.10.0.post2/numpy/fft/fftpack.py +1241 -0
  273. numpy-1.10.0.post2/numpy/fft/fftpack_litemodule.c +363 -0
  274. numpy-1.10.0.post2/numpy/fft/info.py +187 -0
  275. numpy-1.10.0.post2/numpy/fft/setup.py +19 -0
  276. numpy-1.10.0.post2/numpy/fft/tests/test_fftpack.py +166 -0
  277. numpy-1.10.0.post2/numpy/fft/tests/test_helper.py +78 -0
  278. numpy-1.10.0.post2/numpy/lib/_iotools.py +917 -0
  279. numpy-1.10.0.post2/numpy/lib/arraypad.py +1497 -0
  280. numpy-1.10.0.post2/numpy/lib/arraysetops.py +480 -0
  281. numpy-1.10.0.post2/numpy/lib/arrayterator.py +226 -0
  282. numpy-1.10.0.post2/numpy/lib/financial.py +737 -0
  283. numpy-1.10.0.post2/numpy/lib/format.py +814 -0
  284. numpy-1.10.0.post2/numpy/lib/function_base.py +4150 -0
  285. numpy-1.10.0.post2/numpy/lib/index_tricks.py +874 -0
  286. numpy-1.10.0.post2/numpy/lib/info.py +152 -0
  287. numpy-1.10.0.post2/numpy/lib/nanfunctions.py +1237 -0
  288. numpy-1.10.0.post2/numpy/lib/npyio.py +1992 -0
  289. numpy-1.10.0.post2/numpy/lib/polynomial.py +1277 -0
  290. numpy-1.10.0.post2/numpy/lib/recfunctions.py +1003 -0
  291. numpy-1.10.0.post2/numpy/lib/setup.py +12 -0
  292. numpy-1.10.0.post2/numpy/lib/shape_base.py +872 -0
  293. numpy-1.10.0.post2/numpy/lib/stride_tricks.py +200 -0
  294. numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npy +0 -0
  295. numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npz +0 -0
  296. numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npy +0 -0
  297. numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npz +0 -0
  298. numpy-1.10.0.post2/numpy/lib/tests/test__iotools.py +348 -0
  299. numpy-1.10.0.post2/numpy/lib/tests/test__version.py +70 -0
  300. numpy-1.10.0.post2/numpy/lib/tests/test_arraypad.py +1047 -0
  301. numpy-1.10.0.post2/numpy/lib/tests/test_arraysetops.py +309 -0
  302. numpy-1.10.0.post2/numpy/lib/tests/test_financial.py +163 -0
  303. numpy-1.10.0.post2/numpy/lib/tests/test_format.py +841 -0
  304. numpy-1.10.0.post2/numpy/lib/tests/test_function_base.py +2555 -0
  305. numpy-1.10.0.post2/numpy/lib/tests/test_index_tricks.py +326 -0
  306. numpy-1.10.0.post2/numpy/lib/tests/test_io.py +1916 -0
  307. numpy-1.10.0.post2/numpy/lib/tests/test_nanfunctions.py +707 -0
  308. numpy-1.10.0.post2/numpy/lib/tests/test_packbits.py +26 -0
  309. numpy-1.10.0.post2/numpy/lib/tests/test_polynomial.py +188 -0
  310. numpy-1.10.0.post2/numpy/lib/tests/test_recfunctions.py +734 -0
  311. numpy-1.10.0.post2/numpy/lib/tests/test_shape_base.py +386 -0
  312. numpy-1.10.0.post2/numpy/lib/tests/test_stride_tricks.py +405 -0
  313. numpy-1.10.0.post2/numpy/lib/tests/test_twodim_base.py +535 -0
  314. numpy-1.10.0.post2/numpy/lib/tests/test_type_check.py +332 -0
  315. numpy-1.10.0.post2/numpy/lib/twodim_base.py +1007 -0
  316. numpy-1.10.0.post2/numpy/lib/type_check.py +596 -0
  317. numpy-1.10.0.post2/numpy/lib/utils.py +1122 -0
  318. numpy-1.10.0.post2/numpy/linalg/lapack_lite/python_xerbla.c +46 -0
  319. numpy-1.10.0.post2/numpy/linalg/lapack_litemodule.c +358 -0
  320. numpy-1.10.0.post2/numpy/linalg/linalg.py +2406 -0
  321. numpy-1.10.0.post2/numpy/linalg/tests/test_build.py +59 -0
  322. numpy-1.10.0.post2/numpy/linalg/tests/test_linalg.py +1351 -0
  323. numpy-1.10.0.post2/numpy/linalg/tests/test_regression.py +95 -0
  324. numpy-1.10.0.post2/numpy/linalg/umath_linalg.c.src +3236 -0
  325. numpy-1.10.0.post2/numpy/ma/__init__.py +56 -0
  326. numpy-1.10.0.post2/numpy/ma/bench.py +131 -0
  327. numpy-1.10.0.post2/numpy/ma/core.py +7608 -0
  328. numpy-1.10.0.post2/numpy/ma/extras.py +1953 -0
  329. numpy-1.10.0.post2/numpy/ma/mrecords.py +796 -0
  330. numpy-1.10.0.post2/numpy/ma/setup.py +13 -0
  331. numpy-1.10.0.post2/numpy/ma/tests/test_core.py +4100 -0
  332. numpy-1.10.0.post2/numpy/ma/tests/test_extras.py +1132 -0
  333. numpy-1.10.0.post2/numpy/ma/tests/test_mrecords.py +520 -0
  334. numpy-1.10.0.post2/numpy/ma/tests/test_old_ma.py +879 -0
  335. numpy-1.10.0.post2/numpy/ma/tests/test_regression.py +80 -0
  336. numpy-1.10.0.post2/numpy/ma/tests/test_subclassing.py +338 -0
  337. numpy-1.10.0.post2/numpy/ma/testutils.py +289 -0
  338. numpy-1.10.0.post2/numpy/ma/timer_comparison.py +440 -0
  339. numpy-1.10.0.post2/numpy/matlib.py +358 -0
  340. numpy-1.10.0.post2/numpy/matrixlib/defmatrix.py +1232 -0
  341. numpy-1.10.0.post2/numpy/matrixlib/tests/test_defmatrix.py +449 -0
  342. numpy-1.10.0.post2/numpy/matrixlib/tests/test_multiarray.py +23 -0
  343. numpy-1.10.0.post2/numpy/matrixlib/tests/test_numeric.py +23 -0
  344. numpy-1.10.0.post2/numpy/matrixlib/tests/test_regression.py +37 -0
  345. numpy-1.10.0.post2/numpy/polynomial/_polybase.py +962 -0
  346. numpy-1.10.0.post2/numpy/polynomial/chebyshev.py +2056 -0
  347. numpy-1.10.0.post2/numpy/polynomial/hermite.py +1831 -0
  348. numpy-1.10.0.post2/numpy/polynomial/hermite_e.py +1828 -0
  349. numpy-1.10.0.post2/numpy/polynomial/laguerre.py +1780 -0
  350. numpy-1.10.0.post2/numpy/polynomial/legendre.py +1808 -0
  351. numpy-1.10.0.post2/numpy/polynomial/polyutils.py +403 -0
  352. numpy-1.10.0.post2/numpy/random/mtrand/distributions.c +912 -0
  353. numpy-1.10.0.post2/numpy/random/mtrand/mtrand.c +34805 -0
  354. numpy-1.10.0.post2/numpy/random/mtrand/mtrand.pyx +4766 -0
  355. numpy-1.10.0.post2/numpy/random/setup.py +61 -0
  356. numpy-1.10.0.post2/numpy/random/tests/test_random.py +723 -0
  357. numpy-1.10.0.post2/numpy/random/tests/test_regression.py +117 -0
  358. numpy-1.10.0.post2/numpy/setup.py +29 -0
  359. numpy-1.10.0.post2/numpy/testing/__init__.py +15 -0
  360. numpy-1.10.0.post2/numpy/testing/decorators.py +271 -0
  361. numpy-1.10.0.post2/numpy/testing/noseclasses.py +353 -0
  362. numpy-1.10.0.post2/numpy/testing/nosetester.py +511 -0
  363. numpy-1.10.0.post2/numpy/testing/print_coercion_tables.py +91 -0
  364. numpy-1.10.0.post2/numpy/testing/setup.py +20 -0
  365. numpy-1.10.0.post2/numpy/testing/tests/test_decorators.py +182 -0
  366. numpy-1.10.0.post2/numpy/testing/tests/test_utils.py +781 -0
  367. numpy-1.10.0.post2/numpy/testing/utils.py +1831 -0
  368. numpy-1.10.0.post2/numpy/tests/test_ctypeslib.py +106 -0
  369. numpy-1.10.0.post2/numpy/tests/test_matlib.py +55 -0
  370. numpy-1.10.0.post2/numpy/tests/test_scripts.py +69 -0
  371. numpy-1.10.0.post2/numpy/version.py +10 -0
  372. numpy-1.10.0.post2/setup.py +260 -0
  373. numpy-1.10.0.post2/site.cfg.example +193 -0
  374. numpy-1.10.0.post2/tmp.txt +789 -0
  375. numpy-1.10.0.post2/tools/swig/README +145 -0
  376. numpy-1.10.0.post2/tools/swig/numpy.i +3161 -0
  377. numpy-1.10.0.post2/tools/swig/test/Array.i +135 -0
  378. numpy-1.10.0.post2/tools/swig/test/ArrayZ.cxx +131 -0
  379. numpy-1.10.0.post2/tools/swig/test/ArrayZ.h +56 -0
  380. numpy-1.10.0.post2/tools/swig/test/Flat.cxx +36 -0
  381. numpy-1.10.0.post2/tools/swig/test/Flat.h +34 -0
  382. numpy-1.10.0.post2/tools/swig/test/Flat.i +36 -0
  383. numpy-1.10.0.post2/tools/swig/test/Makefile +37 -0
  384. numpy-1.10.0.post2/tools/swig/test/setup.py +71 -0
  385. numpy-1.10.0.post2/tools/swig/test/testArray.py +385 -0
  386. numpy-1.10.0.post2/tools/swig/test/testFarray.py +159 -0
  387. numpy-1.10.0.post2/tools/swig/test/testFlat.py +200 -0
  388. numpy-1.10.0.post2/tools/swig/test/testFortran.py +173 -0
  389. numpy-1.10.0.post2/tools/swig/test/testMatrix.py +362 -0
  390. numpy-1.10.0.post2/tools/swig/test/testSuperTensor.py +388 -0
  391. numpy-1.10.0.post2/tools/swig/test/testTensor.py +402 -0
  392. numpy-1.10.0.post2/tools/swig/test/testVector.py +381 -0
  393. numpy-1.9.2/INSTALL.txt +0 -138
  394. numpy-1.9.2/LICENSE.txt +0 -30
  395. numpy-1.9.2/MANIFEST.in +0 -26
  396. numpy-1.9.2/PKG-INFO +0 -39
  397. numpy-1.9.2/doc/scipy-sphinx-theme/.git +0 -1
  398. numpy-1.9.2/doc/source/conf.py +0 -331
  399. numpy-1.9.2/doc/source/dev/gitwash/branch_list.png +0 -0
  400. numpy-1.9.2/doc/source/dev/gitwash/branch_list_compare.png +0 -0
  401. numpy-1.9.2/doc/source/dev/gitwash/development_workflow.rst +0 -568
  402. numpy-1.9.2/doc/source/dev/gitwash/git_links.inc +0 -88
  403. numpy-1.9.2/doc/source/dev/gitwash/index.rst +0 -14
  404. numpy-1.9.2/doc/source/dev/index.rst +0 -10
  405. numpy-1.9.2/doc/source/reference/arrays.classes.rst +0 -427
  406. numpy-1.9.2/doc/source/reference/arrays.dtypes.rst +0 -534
  407. numpy-1.9.2/doc/source/reference/arrays.indexing.rst +0 -550
  408. numpy-1.9.2/doc/source/reference/arrays.interface.rst +0 -336
  409. numpy-1.9.2/doc/source/reference/arrays.ndarray.rst +0 -609
  410. numpy-1.9.2/doc/source/reference/arrays.scalars.rst +0 -291
  411. numpy-1.9.2/doc/source/reference/c-api.array.rst +0 -3362
  412. numpy-1.9.2/doc/source/reference/c-api.config.rst +0 -103
  413. numpy-1.9.2/doc/source/reference/c-api.coremath.rst +0 -420
  414. numpy-1.9.2/doc/source/reference/c-api.dtype.rst +0 -376
  415. numpy-1.9.2/doc/source/reference/c-api.generalized-ufuncs.rst +0 -171
  416. numpy-1.9.2/doc/source/reference/c-api.iterator.rst +0 -1298
  417. numpy-1.9.2/doc/source/reference/c-api.types-and-structures.rst +0 -1204
  418. numpy-1.9.2/doc/source/reference/c-api.ufunc.rst +0 -399
  419. numpy-1.9.2/doc/source/reference/index.rst +0 -44
  420. numpy-1.9.2/doc/source/reference/internals.code-explanations.rst +0 -666
  421. numpy-1.9.2/doc/source/reference/routines.array-manipulation.rst +0 -113
  422. numpy-1.9.2/doc/source/reference/routines.io.rst +0 -74
  423. numpy-1.9.2/doc/source/reference/routines.linalg.rst +0 -88
  424. numpy-1.9.2/doc/source/reference/routines.ma.rst +0 -405
  425. numpy-1.9.2/doc/source/reference/routines.sort.rst +0 -42
  426. numpy-1.9.2/doc/source/reference/routines.statistics.rst +0 -55
  427. numpy-1.9.2/doc/source/reference/swig.interface-file.rst +0 -1055
  428. numpy-1.9.2/doc/source/reference/swig.testing.rst +0 -166
  429. numpy-1.9.2/doc/source/reference/ufuncs.rst +0 -651
  430. numpy-1.9.2/doc/source/release.rst +0 -19
  431. numpy-1.9.2/doc/source/user/basics.io.genfromtxt.rst +0 -531
  432. numpy-1.9.2/doc/source/user/basics.rec.rst +0 -7
  433. numpy-1.9.2/doc/source/user/c-info.beyond-basics.rst +0 -560
  434. numpy-1.9.2/doc/source/user/c-info.how-to-extend.rst +0 -642
  435. numpy-1.9.2/doc/source/user/c-info.python-as-glue.rst +0 -1528
  436. numpy-1.9.2/doc/source/user/c-info.ufunc-tutorial.rst +0 -1211
  437. numpy-1.9.2/doc/source/user/install.rst +0 -180
  438. numpy-1.9.2/doc/sphinxext/.git +0 -1
  439. numpy-1.9.2/numpy/__init__.py +0 -216
  440. numpy-1.9.2/numpy/_import_tools.py +0 -348
  441. numpy-1.9.2/numpy/add_newdocs.py +0 -7518
  442. numpy-1.9.2/numpy/compat/_inspect.py +0 -221
  443. numpy-1.9.2/numpy/compat/py3k.py +0 -89
  444. numpy-1.9.2/numpy/compat/setup.py +0 -12
  445. numpy-1.9.2/numpy/core/__init__.py +0 -78
  446. numpy-1.9.2/numpy/core/_internal.py +0 -570
  447. numpy-1.9.2/numpy/core/_methods.py +0 -134
  448. numpy-1.9.2/numpy/core/arrayprint.py +0 -752
  449. numpy-1.9.2/numpy/core/blasdot/_dotblas.c +0 -1255
  450. numpy-1.9.2/numpy/core/blasdot/apple_sgemv_patch.c +0 -216
  451. numpy-1.9.2/numpy/core/blasdot/cblas.h +0 -578
  452. numpy-1.9.2/numpy/core/code_generators/cversions.txt +0 -31
  453. numpy-1.9.2/numpy/core/code_generators/generate_ufunc_api.py +0 -219
  454. numpy-1.9.2/numpy/core/code_generators/generate_umath.py +0 -972
  455. numpy-1.9.2/numpy/core/code_generators/numpy_api.py +0 -412
  456. numpy-1.9.2/numpy/core/code_generators/ufunc_docstrings.py +0 -3419
  457. numpy-1.9.2/numpy/core/defchararray.py +0 -2687
  458. numpy-1.9.2/numpy/core/fromnumeric.py +0 -2938
  459. numpy-1.9.2/numpy/core/function_base.py +0 -190
  460. numpy-1.9.2/numpy/core/getlimits.py +0 -306
  461. numpy-1.9.2/numpy/core/include/numpy/fenv/fenv.c +0 -38
  462. numpy-1.9.2/numpy/core/include/numpy/fenv/fenv.h +0 -224
  463. numpy-1.9.2/numpy/core/include/numpy/ndarrayobject.h +0 -237
  464. numpy-1.9.2/numpy/core/include/numpy/ndarraytypes.h +0 -1820
  465. numpy-1.9.2/numpy/core/include/numpy/npy_3kcompat.h +0 -506
  466. numpy-1.9.2/numpy/core/include/numpy/npy_common.h +0 -1038
  467. numpy-1.9.2/numpy/core/include/numpy/npy_cpu.h +0 -122
  468. numpy-1.9.2/numpy/core/include/numpy/npy_endian.h +0 -49
  469. numpy-1.9.2/numpy/core/include/numpy/npy_math.h +0 -479
  470. numpy-1.9.2/numpy/core/include/numpy/numpyconfig.h +0 -35
  471. numpy-1.9.2/numpy/core/machar.py +0 -338
  472. numpy-1.9.2/numpy/core/memmap.py +0 -308
  473. numpy-1.9.2/numpy/core/numeric.py +0 -2842
  474. numpy-1.9.2/numpy/core/numerictypes.py +0 -1042
  475. numpy-1.9.2/numpy/core/records.py +0 -804
  476. numpy-1.9.2/numpy/core/setup.py +0 -1016
  477. numpy-1.9.2/numpy/core/setup_common.py +0 -321
  478. numpy-1.9.2/numpy/core/shape_base.py +0 -277
  479. numpy-1.9.2/numpy/core/src/multiarray/alloc.c +0 -241
  480. numpy-1.9.2/numpy/core/src/multiarray/arrayobject.c +0 -1791
  481. numpy-1.9.2/numpy/core/src/multiarray/arraytypes.c.src +0 -4372
  482. numpy-1.9.2/numpy/core/src/multiarray/arraytypes.h +0 -13
  483. numpy-1.9.2/numpy/core/src/multiarray/buffer.c +0 -954
  484. numpy-1.9.2/numpy/core/src/multiarray/calculation.c +0 -1229
  485. numpy-1.9.2/numpy/core/src/multiarray/common.c +0 -798
  486. numpy-1.9.2/numpy/core/src/multiarray/common.h +0 -328
  487. numpy-1.9.2/numpy/core/src/multiarray/conversion_utils.c +0 -1240
  488. numpy-1.9.2/numpy/core/src/multiarray/convert.c +0 -589
  489. numpy-1.9.2/numpy/core/src/multiarray/convert_datatype.c +0 -2199
  490. numpy-1.9.2/numpy/core/src/multiarray/ctors.c +0 -3785
  491. numpy-1.9.2/numpy/core/src/multiarray/datetime.c +0 -3823
  492. numpy-1.9.2/numpy/core/src/multiarray/datetime_busday.c +0 -1322
  493. numpy-1.9.2/numpy/core/src/multiarray/datetime_busdaycal.c +0 -552
  494. numpy-1.9.2/numpy/core/src/multiarray/datetime_strings.c +0 -1772
  495. numpy-1.9.2/numpy/core/src/multiarray/descriptor.c +0 -3658
  496. numpy-1.9.2/numpy/core/src/multiarray/dtype_transfer.c +0 -4232
  497. numpy-1.9.2/numpy/core/src/multiarray/einsum.c.src +0 -3013
  498. numpy-1.9.2/numpy/core/src/multiarray/getset.c +0 -984
  499. numpy-1.9.2/numpy/core/src/multiarray/hashdescr.c +0 -319
  500. numpy-1.9.2/numpy/core/src/multiarray/item_selection.c +0 -2711
  501. numpy-1.9.2/numpy/core/src/multiarray/iterators.c +0 -2160
  502. numpy-1.9.2/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +0 -1767
  503. numpy-1.9.2/numpy/core/src/multiarray/mapping.c +0 -3316
  504. numpy-1.9.2/numpy/core/src/multiarray/mapping.h +0 -73
  505. numpy-1.9.2/numpy/core/src/multiarray/methods.c +0 -2497
  506. numpy-1.9.2/numpy/core/src/multiarray/multiarray_tests.c.src +0 -977
  507. numpy-1.9.2/numpy/core/src/multiarray/multiarraymodule.c +0 -4202
  508. numpy-1.9.2/numpy/core/src/multiarray/multiarraymodule.h +0 -4
  509. numpy-1.9.2/numpy/core/src/multiarray/multiarraymodule_onefile.c +0 -58
  510. numpy-1.9.2/numpy/core/src/multiarray/nditer_api.c +0 -2809
  511. numpy-1.9.2/numpy/core/src/multiarray/nditer_constr.c +0 -3159
  512. numpy-1.9.2/numpy/core/src/multiarray/nditer_pywrap.c +0 -2492
  513. numpy-1.9.2/numpy/core/src/multiarray/number.c +0 -1057
  514. numpy-1.9.2/numpy/core/src/multiarray/number.h +0 -76
  515. numpy-1.9.2/numpy/core/src/multiarray/numpymemoryview.c +0 -309
  516. numpy-1.9.2/numpy/core/src/multiarray/numpyos.c +0 -683
  517. numpy-1.9.2/numpy/core/src/multiarray/scalarapi.c +0 -861
  518. numpy-1.9.2/numpy/core/src/multiarray/scalartypes.c.src +0 -4270
  519. numpy-1.9.2/numpy/core/src/multiarray/scalartypes.h +0 -52
  520. numpy-1.9.2/numpy/core/src/multiarray/shape.c +0 -1141
  521. numpy-1.9.2/numpy/core/src/multiarray/ucsnarrow.c +0 -173
  522. numpy-1.9.2/numpy/core/src/npymath/ieee754.c.src +0 -814
  523. numpy-1.9.2/numpy/core/src/npymath/npy_math.c.src +0 -527
  524. numpy-1.9.2/numpy/core/src/npymath/npy_math_complex.c.src +0 -291
  525. numpy-1.9.2/numpy/core/src/npymath/npy_math_private.h +0 -539
  526. numpy-1.9.2/numpy/core/src/npysort/heapsort.c.src +0 -341
  527. numpy-1.9.2/numpy/core/src/npysort/mergesort.c.src +0 -428
  528. numpy-1.9.2/numpy/core/src/npysort/npysort_common.h +0 -367
  529. numpy-1.9.2/numpy/core/src/npysort/quicksort.c.src +0 -363
  530. numpy-1.9.2/numpy/core/src/npysort/selection.c.src +0 -474
  531. numpy-1.9.2/numpy/core/src/private/npy_config.h +0 -44
  532. numpy-1.9.2/numpy/core/src/private/npy_partition.h.src +0 -138
  533. numpy-1.9.2/numpy/core/src/private/npy_sort.h +0 -194
  534. numpy-1.9.2/numpy/core/src/private/scalarmathmodule.h.src +0 -42
  535. numpy-1.9.2/numpy/core/src/private/ufunc_override.h +0 -384
  536. numpy-1.9.2/numpy/core/src/scalarmathmodule.c.src +0 -1980
  537. numpy-1.9.2/numpy/core/src/umath/funcs.inc.src +0 -715
  538. numpy-1.9.2/numpy/core/src/umath/loops.c.src +0 -2654
  539. numpy-1.9.2/numpy/core/src/umath/loops.h.src +0 -501
  540. numpy-1.9.2/numpy/core/src/umath/operand_flag_tests.c.src +0 -105
  541. numpy-1.9.2/numpy/core/src/umath/simd.inc.src +0 -881
  542. numpy-1.9.2/numpy/core/src/umath/test_rational.c.src +0 -1404
  543. numpy-1.9.2/numpy/core/src/umath/ufunc_object.c +0 -5520
  544. numpy-1.9.2/numpy/core/src/umath/ufunc_type_resolution.c +0 -2164
  545. numpy-1.9.2/numpy/core/src/umath/umath_tests.c.src +0 -341
  546. numpy-1.9.2/numpy/core/src/umath/umathmodule.c +0 -561
  547. numpy-1.9.2/numpy/core/src/umath/umathmodule_onefile.c +0 -6
  548. numpy-1.9.2/numpy/core/tests/test_abc.py +0 -45
  549. numpy-1.9.2/numpy/core/tests/test_api.py +0 -514
  550. numpy-1.9.2/numpy/core/tests/test_arrayprint.py +0 -167
  551. numpy-1.9.2/numpy/core/tests/test_blasdot.py +0 -249
  552. numpy-1.9.2/numpy/core/tests/test_datetime.py +0 -1781
  553. numpy-1.9.2/numpy/core/tests/test_defchararray.py +0 -642
  554. numpy-1.9.2/numpy/core/tests/test_deprecations.py +0 -512
  555. numpy-1.9.2/numpy/core/tests/test_dtype.py +0 -542
  556. numpy-1.9.2/numpy/core/tests/test_einsum.py +0 -583
  557. numpy-1.9.2/numpy/core/tests/test_errstate.py +0 -51
  558. numpy-1.9.2/numpy/core/tests/test_function_base.py +0 -111
  559. numpy-1.9.2/numpy/core/tests/test_getlimits.py +0 -86
  560. numpy-1.9.2/numpy/core/tests/test_half.py +0 -439
  561. numpy-1.9.2/numpy/core/tests/test_indexerrors.py +0 -127
  562. numpy-1.9.2/numpy/core/tests/test_indexing.py +0 -1014
  563. numpy-1.9.2/numpy/core/tests/test_item_selection.py +0 -70
  564. numpy-1.9.2/numpy/core/tests/test_machar.py +0 -30
  565. numpy-1.9.2/numpy/core/tests/test_memmap.py +0 -127
  566. numpy-1.9.2/numpy/core/tests/test_multiarray.py +0 -4645
  567. numpy-1.9.2/numpy/core/tests/test_multiarray_assignment.py +0 -80
  568. numpy-1.9.2/numpy/core/tests/test_nditer.py +0 -2630
  569. numpy-1.9.2/numpy/core/tests/test_numeric.py +0 -2117
  570. numpy-1.9.2/numpy/core/tests/test_numerictypes.py +0 -377
  571. numpy-1.9.2/numpy/core/tests/test_print.py +0 -245
  572. numpy-1.9.2/numpy/core/tests/test_records.py +0 -185
  573. numpy-1.9.2/numpy/core/tests/test_regression.py +0 -2108
  574. numpy-1.9.2/numpy/core/tests/test_scalarinherit.py +0 -34
  575. numpy-1.9.2/numpy/core/tests/test_scalarmath.py +0 -275
  576. numpy-1.9.2/numpy/core/tests/test_shape_base.py +0 -250
  577. numpy-1.9.2/numpy/core/tests/test_ufunc.py +0 -1153
  578. numpy-1.9.2/numpy/core/tests/test_umath.py +0 -1695
  579. numpy-1.9.2/numpy/core/tests/test_umath_complex.py +0 -537
  580. numpy-1.9.2/numpy/core/tests/test_unicode.py +0 -357
  581. numpy-1.9.2/numpy/distutils/__init__.py +0 -39
  582. numpy-1.9.2/numpy/distutils/ccompiler.py +0 -656
  583. numpy-1.9.2/numpy/distutils/command/autodist.py +0 -43
  584. numpy-1.9.2/numpy/distutils/command/build.py +0 -39
  585. numpy-1.9.2/numpy/distutils/command/build_clib.py +0 -284
  586. numpy-1.9.2/numpy/distutils/command/build_ext.py +0 -503
  587. numpy-1.9.2/numpy/distutils/command/config.py +0 -476
  588. numpy-1.9.2/numpy/distutils/exec_command.py +0 -618
  589. numpy-1.9.2/numpy/distutils/fcompiler/compaq.py +0 -128
  590. numpy-1.9.2/numpy/distutils/fcompiler/gnu.py +0 -390
  591. numpy-1.9.2/numpy/distutils/fcompiler/intel.py +0 -205
  592. numpy-1.9.2/numpy/distutils/fcompiler/pg.py +0 -60
  593. numpy-1.9.2/numpy/distutils/fcompiler/sun.py +0 -52
  594. numpy-1.9.2/numpy/distutils/intelccompiler.py +0 -45
  595. numpy-1.9.2/numpy/distutils/lib2def.py +0 -116
  596. numpy-1.9.2/numpy/distutils/mingw32ccompiler.py +0 -582
  597. numpy-1.9.2/numpy/distutils/misc_util.py +0 -2271
  598. numpy-1.9.2/numpy/distutils/npy_pkg_config.py +0 -464
  599. numpy-1.9.2/numpy/distutils/system_info.py +0 -2319
  600. numpy-1.9.2/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +0 -13
  601. numpy-1.9.2/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +0 -12
  602. numpy-1.9.2/numpy/distutils/tests/gen_ext/tests/test_fib3.py +0 -12
  603. numpy-1.9.2/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +0 -14
  604. numpy-1.9.2/numpy/distutils/tests/swig_ext/tests/test_example.py +0 -18
  605. numpy-1.9.2/numpy/distutils/tests/swig_ext/tests/test_example2.py +0 -16
  606. numpy-1.9.2/numpy/distutils/tests/test_fcompiler_gnu.py +0 -53
  607. numpy-1.9.2/numpy/distutils/tests/test_fcompiler_intel.py +0 -36
  608. numpy-1.9.2/numpy/distutils/tests/test_misc_util.py +0 -75
  609. numpy-1.9.2/numpy/distutils/tests/test_npy_pkg_config.py +0 -98
  610. numpy-1.9.2/numpy/distutils/unixccompiler.py +0 -113
  611. numpy-1.9.2/numpy/doc/byteswapping.py +0 -147
  612. numpy-1.9.2/numpy/doc/creation.py +0 -144
  613. numpy-1.9.2/numpy/doc/glossary.py +0 -418
  614. numpy-1.9.2/numpy/doc/indexing.py +0 -437
  615. numpy-1.9.2/numpy/doc/structured_arrays.py +0 -223
  616. numpy-1.9.2/numpy/f2py/__init__.py +0 -49
  617. numpy-1.9.2/numpy/f2py/auxfuncs.py +0 -711
  618. numpy-1.9.2/numpy/f2py/capi_maps.py +0 -773
  619. numpy-1.9.2/numpy/f2py/cb_rules.py +0 -539
  620. numpy-1.9.2/numpy/f2py/cfuncs.py +0 -1224
  621. numpy-1.9.2/numpy/f2py/common_rules.py +0 -132
  622. numpy-1.9.2/numpy/f2py/crackfortran.py +0 -2870
  623. numpy-1.9.2/numpy/f2py/diagnose.py +0 -149
  624. numpy-1.9.2/numpy/f2py/f2py2e.py +0 -598
  625. numpy-1.9.2/numpy/f2py/f2py_testing.py +0 -46
  626. numpy-1.9.2/numpy/f2py/f90mod_rules.py +0 -246
  627. numpy-1.9.2/numpy/f2py/func2subr.py +0 -291
  628. numpy-1.9.2/numpy/f2py/rules.py +0 -1448
  629. numpy-1.9.2/numpy/f2py/setup.py +0 -129
  630. numpy-1.9.2/numpy/f2py/src/fortranobject.c +0 -972
  631. numpy-1.9.2/numpy/f2py/src/fortranobject.h +0 -162
  632. numpy-1.9.2/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +0 -223
  633. numpy-1.9.2/numpy/f2py/tests/test_array_from_pyobj.py +0 -559
  634. numpy-1.9.2/numpy/f2py/tests/test_assumed_shape.py +0 -37
  635. numpy-1.9.2/numpy/f2py/tests/test_callback.py +0 -132
  636. numpy-1.9.2/numpy/f2py/tests/test_kind.py +0 -36
  637. numpy-1.9.2/numpy/f2py/tests/test_mixed.py +0 -41
  638. numpy-1.9.2/numpy/f2py/tests/test_regression.py +0 -32
  639. numpy-1.9.2/numpy/f2py/tests/test_return_character.py +0 -142
  640. numpy-1.9.2/numpy/f2py/tests/test_return_complex.py +0 -169
  641. numpy-1.9.2/numpy/f2py/tests/test_return_integer.py +0 -178
  642. numpy-1.9.2/numpy/f2py/tests/test_return_logical.py +0 -187
  643. numpy-1.9.2/numpy/f2py/tests/test_return_real.py +0 -203
  644. numpy-1.9.2/numpy/f2py/tests/test_size.py +0 -47
  645. numpy-1.9.2/numpy/f2py/tests/util.py +0 -353
  646. numpy-1.9.2/numpy/f2py/use_rules.py +0 -109
  647. numpy-1.9.2/numpy/fft/fftpack.c +0 -1501
  648. numpy-1.9.2/numpy/fft/fftpack.h +0 -28
  649. numpy-1.9.2/numpy/fft/fftpack.py +0 -1169
  650. numpy-1.9.2/numpy/fft/fftpack_litemodule.c +0 -371
  651. numpy-1.9.2/numpy/fft/info.py +0 -179
  652. numpy-1.9.2/numpy/fft/setup.py +0 -20
  653. numpy-1.9.2/numpy/fft/tests/test_fftpack.py +0 -75
  654. numpy-1.9.2/numpy/fft/tests/test_helper.py +0 -78
  655. numpy-1.9.2/numpy/lib/_iotools.py +0 -891
  656. numpy-1.9.2/numpy/lib/arraypad.py +0 -1475
  657. numpy-1.9.2/numpy/lib/arraysetops.py +0 -464
  658. numpy-1.9.2/numpy/lib/arrayterator.py +0 -226
  659. numpy-1.9.2/numpy/lib/financial.py +0 -737
  660. numpy-1.9.2/numpy/lib/format.py +0 -771
  661. numpy-1.9.2/numpy/lib/function_base.py +0 -3884
  662. numpy-1.9.2/numpy/lib/index_tricks.py +0 -869
  663. numpy-1.9.2/numpy/lib/info.py +0 -151
  664. numpy-1.9.2/numpy/lib/nanfunctions.py +0 -1158
  665. numpy-1.9.2/numpy/lib/npyio.py +0 -1918
  666. numpy-1.9.2/numpy/lib/polynomial.py +0 -1271
  667. numpy-1.9.2/numpy/lib/recfunctions.py +0 -1003
  668. numpy-1.9.2/numpy/lib/setup.py +0 -23
  669. numpy-1.9.2/numpy/lib/shape_base.py +0 -865
  670. numpy-1.9.2/numpy/lib/src/_compiled_base.c +0 -1761
  671. numpy-1.9.2/numpy/lib/stride_tricks.py +0 -123
  672. numpy-1.9.2/numpy/lib/tests/test__iotools.py +0 -326
  673. numpy-1.9.2/numpy/lib/tests/test__version.py +0 -57
  674. numpy-1.9.2/numpy/lib/tests/test_arraypad.py +0 -560
  675. numpy-1.9.2/numpy/lib/tests/test_arraysetops.py +0 -301
  676. numpy-1.9.2/numpy/lib/tests/test_financial.py +0 -160
  677. numpy-1.9.2/numpy/lib/tests/test_format.py +0 -716
  678. numpy-1.9.2/numpy/lib/tests/test_function_base.py +0 -2145
  679. numpy-1.9.2/numpy/lib/tests/test_index_tricks.py +0 -289
  680. numpy-1.9.2/numpy/lib/tests/test_io.py +0 -1754
  681. numpy-1.9.2/numpy/lib/tests/test_nanfunctions.py +0 -774
  682. numpy-1.9.2/numpy/lib/tests/test_polynomial.py +0 -177
  683. numpy-1.9.2/numpy/lib/tests/test_recfunctions.py +0 -705
  684. numpy-1.9.2/numpy/lib/tests/test_shape_base.py +0 -368
  685. numpy-1.9.2/numpy/lib/tests/test_stride_tricks.py +0 -238
  686. numpy-1.9.2/numpy/lib/tests/test_twodim_base.py +0 -504
  687. numpy-1.9.2/numpy/lib/tests/test_type_check.py +0 -328
  688. numpy-1.9.2/numpy/lib/twodim_base.py +0 -1003
  689. numpy-1.9.2/numpy/lib/type_check.py +0 -605
  690. numpy-1.9.2/numpy/lib/utils.py +0 -1176
  691. numpy-1.9.2/numpy/linalg/lapack_lite/python_xerbla.c +0 -47
  692. numpy-1.9.2/numpy/linalg/lapack_litemodule.c +0 -362
  693. numpy-1.9.2/numpy/linalg/linalg.py +0 -2136
  694. numpy-1.9.2/numpy/linalg/tests/test_build.py +0 -53
  695. numpy-1.9.2/numpy/linalg/tests/test_linalg.py +0 -1156
  696. numpy-1.9.2/numpy/linalg/tests/test_regression.py +0 -90
  697. numpy-1.9.2/numpy/linalg/umath_linalg.c.src +0 -3210
  698. numpy-1.9.2/numpy/ma/__init__.py +0 -58
  699. numpy-1.9.2/numpy/ma/bench.py +0 -166
  700. numpy-1.9.2/numpy/ma/core.py +0 -7374
  701. numpy-1.9.2/numpy/ma/extras.py +0 -1932
  702. numpy-1.9.2/numpy/ma/mrecords.py +0 -734
  703. numpy-1.9.2/numpy/ma/setup.py +0 -20
  704. numpy-1.9.2/numpy/ma/tests/test_core.py +0 -3706
  705. numpy-1.9.2/numpy/ma/tests/test_extras.py +0 -954
  706. numpy-1.9.2/numpy/ma/tests/test_mrecords.py +0 -521
  707. numpy-1.9.2/numpy/ma/tests/test_old_ma.py +0 -869
  708. numpy-1.9.2/numpy/ma/tests/test_regression.py +0 -75
  709. numpy-1.9.2/numpy/ma/tests/test_subclassing.py +0 -236
  710. numpy-1.9.2/numpy/ma/testutils.py +0 -240
  711. numpy-1.9.2/numpy/ma/timer_comparison.py +0 -459
  712. numpy-1.9.2/numpy/matlib.py +0 -358
  713. numpy-1.9.2/numpy/matrixlib/defmatrix.py +0 -1094
  714. numpy-1.9.2/numpy/matrixlib/tests/test_defmatrix.py +0 -400
  715. numpy-1.9.2/numpy/matrixlib/tests/test_multiarray.py +0 -18
  716. numpy-1.9.2/numpy/matrixlib/tests/test_numeric.py +0 -10
  717. numpy-1.9.2/numpy/matrixlib/tests/test_regression.py +0 -34
  718. numpy-1.9.2/numpy/polynomial/_polybase.py +0 -962
  719. numpy-1.9.2/numpy/polynomial/chebyshev.py +0 -2056
  720. numpy-1.9.2/numpy/polynomial/hermite.py +0 -1789
  721. numpy-1.9.2/numpy/polynomial/hermite_e.py +0 -1786
  722. numpy-1.9.2/numpy/polynomial/laguerre.py +0 -1781
  723. numpy-1.9.2/numpy/polynomial/legendre.py +0 -1809
  724. numpy-1.9.2/numpy/polynomial/polytemplate.py +0 -927
  725. numpy-1.9.2/numpy/polynomial/polyutils.py +0 -403
  726. numpy-1.9.2/numpy/random/mtrand/distributions.c +0 -892
  727. numpy-1.9.2/numpy/random/mtrand/mtrand.c +0 -31204
  728. numpy-1.9.2/numpy/random/mtrand/mtrand.pyx +0 -4706
  729. numpy-1.9.2/numpy/random/setup.py +0 -74
  730. numpy-1.9.2/numpy/random/tests/test_random.py +0 -707
  731. numpy-1.9.2/numpy/random/tests/test_regression.py +0 -86
  732. numpy-1.9.2/numpy/setup.py +0 -27
  733. numpy-1.9.2/numpy/testing/__init__.py +0 -16
  734. numpy-1.9.2/numpy/testing/decorators.py +0 -271
  735. numpy-1.9.2/numpy/testing/noseclasses.py +0 -353
  736. numpy-1.9.2/numpy/testing/nosetester.py +0 -504
  737. numpy-1.9.2/numpy/testing/print_coercion_tables.py +0 -89
  738. numpy-1.9.2/numpy/testing/setup.py +0 -20
  739. numpy-1.9.2/numpy/testing/tests/test_decorators.py +0 -185
  740. numpy-1.9.2/numpy/testing/tests/test_utils.py +0 -558
  741. numpy-1.9.2/numpy/testing/utils.py +0 -1715
  742. numpy-1.9.2/numpy/tests/test_ctypeslib.py +0 -102
  743. numpy-1.9.2/numpy/tests/test_matlib.py +0 -55
  744. numpy-1.9.2/numpy/version.py +0 -10
  745. numpy-1.9.2/setup.py +0 -251
  746. numpy-1.9.2/site.cfg.example +0 -157
  747. numpy-1.9.2/tools/swig/README +0 -135
  748. numpy-1.9.2/tools/swig/numpy.i +0 -3085
  749. numpy-1.9.2/tools/swig/test/Array.i +0 -102
  750. numpy-1.9.2/tools/swig/test/Makefile +0 -34
  751. numpy-1.9.2/tools/swig/test/setup.py +0 -64
  752. numpy-1.9.2/tools/swig/test/testArray.py +0 -284
  753. numpy-1.9.2/tools/swig/test/testFarray.py +0 -159
  754. numpy-1.9.2/tools/swig/test/testFortran.py +0 -173
  755. numpy-1.9.2/tools/swig/test/testMatrix.py +0 -362
  756. numpy-1.9.2/tools/swig/test/testSuperTensor.py +0 -388
  757. numpy-1.9.2/tools/swig/test/testTensor.py +0 -402
  758. numpy-1.9.2/tools/swig/test/testVector.py +0 -381
  759. {numpy-1.9.2 → numpy-1.10.0.post2}/BENTO_BUILD.txt +0 -0
  760. {numpy-1.9.2 → numpy-1.10.0.post2}/COMPATIBILITY +0 -0
  761. {numpy-1.9.2 → numpy-1.10.0.post2}/DEV_README.txt +0 -0
  762. {numpy-1.9.2 → numpy-1.10.0.post2}/README.txt +0 -0
  763. {numpy-1.9.2 → numpy-1.10.0.post2}/THANKS.txt +0 -0
  764. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/Makefile +0 -0
  765. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/BUGS.txt +0 -0
  766. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/FAQ.txt +0 -0
  767. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/HISTORY.txt +0 -0
  768. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Makefile +0 -0
  769. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/OLDNEWS.txt +0 -0
  770. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/README.txt +0 -0
  771. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Release-1.x.txt +0 -0
  772. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Release-2.x.txt +0 -0
  773. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Release-3.x.txt +0 -0
  774. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/Release-4.x.txt +0 -0
  775. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/TESTING.txt +0 -0
  776. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/THANKS.txt +0 -0
  777. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/TODO.txt +0 -0
  778. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/apps.tex +0 -0
  779. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/bugs.tex +0 -0
  780. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/collectinput.py +0 -0
  781. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/commands.tex +0 -0
  782. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/default.css +0 -0
  783. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/docutils.conf +0 -0
  784. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/arr.f +0 -0
  785. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/bar.f +0 -0
  786. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/foo.f +0 -0
  787. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar-smart.f90 +0 -0
  788. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar.f90 +0 -0
  789. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/foobarmodule.tex +0 -0
  790. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/ex1/runme +0 -0
  791. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2py.1 +0 -0
  792. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2py2e.tex +0 -0
  793. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/README.txt +0 -0
  794. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/aerostructure.jpg +0 -0
  795. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/flow.jpg +0 -0
  796. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_html.sh +0 -0
  797. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_pdf.sh +0 -0
  798. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_ps.sh +0 -0
  799. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1.f +0 -0
  800. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1mess.txt +0 -0
  801. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1session.txt +0 -0
  802. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foo.pyf +0 -0
  803. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foom.pyf +0 -0
  804. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/structure.jpg +0 -0
  805. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/fortranobject.tex +0 -0
  806. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/hello.f +0 -0
  807. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/index.html +0 -0
  808. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/intro.tex +0 -0
  809. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/array_from_pyobj.c +0 -0
  810. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/bar.c +0 -0
  811. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/foo.f +0 -0
  812. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/fortran_array_from_pyobj.txt +0 -0
  813. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/fun.pyf +0 -0
  814. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/run.pyf +0 -0
  815. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarray/transpose.txt +0 -0
  816. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/multiarrays.txt +0 -0
  817. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/notes.tex +0 -0
  818. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/oldnews.html +0 -0
  819. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/options.tex +0 -0
  820. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/pyforttest.pyf +0 -0
  821. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/pytest.py +0 -0
  822. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/python9.tex +0 -0
  823. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/signaturefile.tex +0 -0
  824. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/simple.f +0 -0
  825. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/simple_session.dat +0 -0
  826. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/using_F_compiler.txt +0 -0
  827. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/f2py/win32_notes.txt +0 -0
  828. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/postprocess.py +0 -0
  829. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.3.0-notes.rst +0 -0
  830. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.4.0-notes.rst +0 -0
  831. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.5.0-notes.rst +0 -0
  832. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.6.0-notes.rst +0 -0
  833. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.6.1-notes.rst +0 -0
  834. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.6.2-notes.rst +0 -0
  835. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.7.0-notes.rst +0 -0
  836. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.7.1-notes.rst +0 -0
  837. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.7.2-notes.rst +0 -0
  838. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.8.0-notes.rst +0 -0
  839. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.8.1-notes.rst +0 -0
  840. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.8.2-notes.rst +0 -0
  841. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.9.0-notes.rst +0 -0
  842. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.9.1-notes.rst +0 -0
  843. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/1.9.2-notes.rst +0 -0
  844. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/release/time_based_proposal.rst +0 -0
  845. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/.gitignore +0 -0
  846. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/Makefile +0 -0
  847. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/README.rst +0 -0
  848. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_static/scipyshiny_small.png +0 -0
  849. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/layout.html +0 -0
  850. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/searchbox.html +0 -0
  851. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/sourcelink.html +0 -0
  852. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/extend.css +0 -0
  853. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/pygments.css +0 -0
  854. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/scipy-central.css +0 -0
  855. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-bootstrap.css +0 -0
  856. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-extend.css +0 -0
  857. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/all-icons.svg +0 -0
  858. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/contents.png +0 -0
  859. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/create-new-account-icon.png +0 -0
  860. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon-shrunk.png +0 -0
  861. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.png +0 -0
  862. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.svg +0 -0
  863. {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
  864. {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
  865. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon.png +0 -0
  866. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ad.png +0 -0
  867. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ae.png +0 -0
  868. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-af.png +0 -0
  869. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ag.png +0 -0
  870. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ai.png +0 -0
  871. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-al.png +0 -0
  872. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-am.png +0 -0
  873. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ao.png +0 -0
  874. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aq.png +0 -0
  875. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ar.png +0 -0
  876. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-as.png +0 -0
  877. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-at.png +0 -0
  878. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-au.png +0 -0
  879. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aw.png +0 -0
  880. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-az.png +0 -0
  881. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ba.png +0 -0
  882. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bb.png +0 -0
  883. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bd.png +0 -0
  884. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-be.png +0 -0
  885. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bf.png +0 -0
  886. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bg.png +0 -0
  887. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bh.png +0 -0
  888. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bi.png +0 -0
  889. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bj.png +0 -0
  890. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bl.png +0 -0
  891. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bm.png +0 -0
  892. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bn.png +0 -0
  893. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bo.png +0 -0
  894. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-br.png +0 -0
  895. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bs.png +0 -0
  896. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bt.png +0 -0
  897. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bw.png +0 -0
  898. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-by.png +0 -0
  899. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bz.png +0 -0
  900. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ca.png +0 -0
  901. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cc.png +0 -0
  902. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cd.png +0 -0
  903. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cf.png +0 -0
  904. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cg.png +0 -0
  905. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ch.png +0 -0
  906. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ci.png +0 -0
  907. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ck.png +0 -0
  908. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cl.png +0 -0
  909. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cm.png +0 -0
  910. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cn.png +0 -0
  911. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-co.png +0 -0
  912. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cr.png +0 -0
  913. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cu.png +0 -0
  914. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cv.png +0 -0
  915. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cw.png +0 -0
  916. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cx.png +0 -0
  917. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cy.png +0 -0
  918. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cz.png +0 -0
  919. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-de.png +0 -0
  920. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dj.png +0 -0
  921. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dk.png +0 -0
  922. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dm.png +0 -0
  923. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-do.png +0 -0
  924. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dz.png +0 -0
  925. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ec.png +0 -0
  926. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ee.png +0 -0
  927. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-eg.png +0 -0
  928. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-er.png +0 -0
  929. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-es.png +0 -0
  930. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-et.png +0 -0
  931. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fi.png +0 -0
  932. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fj.png +0 -0
  933. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fk.png +0 -0
  934. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fm.png +0 -0
  935. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fo.png +0 -0
  936. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fr.png +0 -0
  937. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ga.png +0 -0
  938. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gb.png +0 -0
  939. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gd.png +0 -0
  940. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ge.png +0 -0
  941. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gf.png +0 -0
  942. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gg.png +0 -0
  943. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gh.png +0 -0
  944. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gi.png +0 -0
  945. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gl.png +0 -0
  946. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gm.png +0 -0
  947. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gn.png +0 -0
  948. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gq.png +0 -0
  949. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gr.png +0 -0
  950. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gs.png +0 -0
  951. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gt.png +0 -0
  952. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gu.png +0 -0
  953. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gw.png +0 -0
  954. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gy.png +0 -0
  955. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hk.png +0 -0
  956. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hm.png +0 -0
  957. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hn.png +0 -0
  958. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hr.png +0 -0
  959. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ht.png +0 -0
  960. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hu.png +0 -0
  961. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-id.png +0 -0
  962. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ie.png +0 -0
  963. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-il.png +0 -0
  964. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-im.png +0 -0
  965. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-in.png +0 -0
  966. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-io.png +0 -0
  967. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-iq.png +0 -0
  968. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ir.png +0 -0
  969. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-is.png +0 -0
  970. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-it.png +0 -0
  971. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-je.png +0 -0
  972. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jm.png +0 -0
  973. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jo.png +0 -0
  974. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jp.png +0 -0
  975. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ke.png +0 -0
  976. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kg.png +0 -0
  977. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kh.png +0 -0
  978. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ki.png +0 -0
  979. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-km.png +0 -0
  980. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kn.png +0 -0
  981. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kp.png +0 -0
  982. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kr.png +0 -0
  983. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kw.png +0 -0
  984. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ky.png +0 -0
  985. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kz.png +0 -0
  986. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-la.png +0 -0
  987. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lb.png +0 -0
  988. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lc.png +0 -0
  989. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-li.png +0 -0
  990. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lk.png +0 -0
  991. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lr.png +0 -0
  992. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ls.png +0 -0
  993. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lt.png +0 -0
  994. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lu.png +0 -0
  995. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lv.png +0 -0
  996. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ly.png +0 -0
  997. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ma.png +0 -0
  998. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mc.png +0 -0
  999. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-md.png +0 -0
  1000. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-me.png +0 -0
  1001. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mf.png +0 -0
  1002. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mg.png +0 -0
  1003. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mh.png +0 -0
  1004. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mk.png +0 -0
  1005. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ml.png +0 -0
  1006. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mm.png +0 -0
  1007. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mn.png +0 -0
  1008. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mo.png +0 -0
  1009. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mp.png +0 -0
  1010. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mq.png +0 -0
  1011. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mr.png +0 -0
  1012. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ms.png +0 -0
  1013. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mt.png +0 -0
  1014. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mu.png +0 -0
  1015. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mv.png +0 -0
  1016. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mw.png +0 -0
  1017. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mx.png +0 -0
  1018. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-my.png +0 -0
  1019. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mz.png +0 -0
  1020. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-na.png +0 -0
  1021. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nc.png +0 -0
  1022. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ne.png +0 -0
  1023. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nf.png +0 -0
  1024. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ng.png +0 -0
  1025. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ni.png +0 -0
  1026. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nl.png +0 -0
  1027. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-no.png +0 -0
  1028. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-np.png +0 -0
  1029. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nr.png +0 -0
  1030. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nu.png +0 -0
  1031. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nz.png +0 -0
  1032. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-om.png +0 -0
  1033. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pa.png +0 -0
  1034. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pe.png +0 -0
  1035. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pf.png +0 -0
  1036. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pg.png +0 -0
  1037. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ph.png +0 -0
  1038. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pk.png +0 -0
  1039. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pl.png +0 -0
  1040. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pm.png +0 -0
  1041. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pn.png +0 -0
  1042. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pr.png +0 -0
  1043. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ps.png +0 -0
  1044. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pt.png +0 -0
  1045. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pw.png +0 -0
  1046. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-py.png +0 -0
  1047. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-qa.png +0 -0
  1048. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-re.png +0 -0
  1049. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ro.png +0 -0
  1050. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rs.png +0 -0
  1051. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ru.png +0 -0
  1052. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rw.png +0 -0
  1053. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sa.png +0 -0
  1054. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sb.png +0 -0
  1055. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sc.png +0 -0
  1056. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sd.png +0 -0
  1057. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-se.png +0 -0
  1058. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sg.png +0 -0
  1059. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sh.png +0 -0
  1060. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-si.png +0 -0
  1061. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sj.png +0 -0
  1062. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sk.png +0 -0
  1063. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sl.png +0 -0
  1064. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sm.png +0 -0
  1065. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sn.png +0 -0
  1066. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-so.png +0 -0
  1067. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sr.png +0 -0
  1068. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-st.png +0 -0
  1069. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sv.png +0 -0
  1070. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sy.png +0 -0
  1071. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sz.png +0 -0
  1072. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tc.png +0 -0
  1073. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-td.png +0 -0
  1074. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tf.png +0 -0
  1075. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tg.png +0 -0
  1076. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-th.png +0 -0
  1077. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tj.png +0 -0
  1078. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tk.png +0 -0
  1079. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tl.png +0 -0
  1080. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tm.png +0 -0
  1081. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tn.png +0 -0
  1082. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-to.png +0 -0
  1083. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tr.png +0 -0
  1084. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tt.png +0 -0
  1085. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tv.png +0 -0
  1086. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tw.png +0 -0
  1087. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tz.png +0 -0
  1088. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ua.png +0 -0
  1089. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ug.png +0 -0
  1090. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-um.png +0 -0
  1091. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-us.png +0 -0
  1092. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uy.png +0 -0
  1093. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uz.png +0 -0
  1094. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-va.png +0 -0
  1095. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vc.png +0 -0
  1096. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ve.png +0 -0
  1097. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vg.png +0 -0
  1098. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vi.png +0 -0
  1099. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vn.png +0 -0
  1100. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vu.png +0 -0
  1101. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-wf.png +0 -0
  1102. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ws.png +0 -0
  1103. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ye.png +0 -0
  1104. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-za.png +0 -0
  1105. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zm.png +0 -0
  1106. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zw.png +0 -0
  1107. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings-white.png +0 -0
  1108. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings.png +0 -0
  1109. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/important-icon.png +0 -0
  1110. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/information-icon.png +0 -0
  1111. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/internet-web-browser.png +0 -0
  1112. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon-shrunk.png +0 -0
  1113. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.png +0 -0
  1114. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.svg +0 -0
  1115. {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
  1116. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon.png +0 -0
  1117. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/navigation.png +0 -0
  1118. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon-tiny.png +0 -0
  1119. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon.png +0 -0
  1120. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy-logo.png +0 -0
  1121. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy_org_logo.gif +0 -0
  1122. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipycentral_logo.png +0 -0
  1123. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipyshiny_small.png +0 -0
  1124. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/send-email-icon.png +0 -0
  1125. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon-shrunk.png +0 -0
  1126. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.png +0 -0
  1127. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.svg +0 -0
  1128. {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
  1129. {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
  1130. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon.png +0 -0
  1131. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/transparent-pixel.gif +0 -0
  1132. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/ui-anim_basic_16x16.gif +0 -0
  1133. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/js/copybutton.js +0 -0
  1134. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/accordion.less +0 -0
  1135. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/alerts.less +0 -0
  1136. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/bootstrap.less +0 -0
  1137. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/breadcrumbs.less +0 -0
  1138. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/button-groups.less +0 -0
  1139. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/buttons.less +0 -0
  1140. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/carousel.less +0 -0
  1141. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/close.less +0 -0
  1142. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/code.less +0 -0
  1143. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/component-animations.less +0 -0
  1144. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/dropdowns.less +0 -0
  1145. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/forms.less +0 -0
  1146. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/grid.less +0 -0
  1147. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/hero-unit.less +0 -0
  1148. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/labels-badges.less +0 -0
  1149. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/layouts.less +0 -0
  1150. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/media.less +0 -0
  1151. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/mixins.less +0 -0
  1152. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/modals.less +0 -0
  1153. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navbar.less +0 -0
  1154. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navs.less +0 -0
  1155. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pager.less +0 -0
  1156. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pagination.less +0 -0
  1157. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/popovers.less +0 -0
  1158. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/progress-bars.less +0 -0
  1159. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/reset.less +0 -0
  1160. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-1200px-min.less +0 -0
  1161. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-767px-max.less +0 -0
  1162. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-768px-979px.less +0 -0
  1163. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-navbar.less +0 -0
  1164. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-utilities.less +0 -0
  1165. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive.less +0 -0
  1166. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/scaffolding.less +0 -0
  1167. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/sprites.less +0 -0
  1168. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tables.less +0 -0
  1169. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/thumbnails.less +0 -0
  1170. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tooltip.less +0 -0
  1171. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/type.less +0 -0
  1172. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/utilities.less +0 -0
  1173. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/variables.less +0 -0
  1174. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/wells.less +0 -0
  1175. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-bootstrap.less +0 -0
  1176. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-content.less +0 -0
  1177. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-extend.less +0 -0
  1178. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-footer.less +0 -0
  1179. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-header.less +0 -0
  1180. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-rightsidebar.less +0 -0
  1181. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-utils.less +0 -0
  1182. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/scipy.css_t +0 -0
  1183. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/theme.conf +0 -0
  1184. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/conf.py +0 -0
  1185. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/index.rst +0 -0
  1186. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc.rst +0 -0
  1187. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_2.rst +0 -0
  1188. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_3.rst +0 -0
  1189. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_4.rst +0 -0
  1190. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_optimize.rst +0 -0
  1191. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/_templates/autosummary/class.rst +0 -0
  1192. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/_templates/indexcontent.html +0 -0
  1193. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/_templates/indexsidebar.html +0 -0
  1194. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/_templates/layout.html +0 -0
  1195. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/about.rst +0 -0
  1196. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/bugs.rst +0 -0
  1197. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/contents.rst +0 -0
  1198. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/configure_git.rst +0 -0
  1199. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/development_setup.rst +0 -0
  1200. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/dot2_dot3.rst +0 -0
  1201. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/following_latest.rst +0 -0
  1202. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/forking_button.png +0 -0
  1203. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_development.rst +0 -0
  1204. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_intro.rst +0 -0
  1205. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_resources.rst +0 -0
  1206. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash/pull_button.png +0 -0
  1207. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/dev/gitwash_links.txt +0 -0
  1208. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/advanced.rst +0 -0
  1209. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/allocarr.f90 +0 -0
  1210. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/allocarr_session.dat +0 -0
  1211. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/array.f +0 -0
  1212. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/array_session.dat +0 -0
  1213. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/calculate.f +0 -0
  1214. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/calculate_session.dat +0 -0
  1215. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/callback.f +0 -0
  1216. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/callback2.pyf +0 -0
  1217. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/callback_session.dat +0 -0
  1218. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/common.f +0 -0
  1219. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/common_session.dat +0 -0
  1220. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/compile_session.dat +0 -0
  1221. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/distutils.rst +0 -0
  1222. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/extcallback.f +0 -0
  1223. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/extcallback_session.dat +0 -0
  1224. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/fib1.f +0 -0
  1225. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/fib1.pyf +0 -0
  1226. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/fib2.pyf +0 -0
  1227. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/fib3.f +0 -0
  1228. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/ftype.f +0 -0
  1229. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/ftype_session.dat +0 -0
  1230. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/getting-started.rst +0 -0
  1231. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/index.rst +0 -0
  1232. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/moddata.f90 +0 -0
  1233. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/moddata_session.dat +0 -0
  1234. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/python-usage.rst +0 -0
  1235. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/run_main_session.dat +0 -0
  1236. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/scalar.f +0 -0
  1237. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/scalar_session.dat +0 -0
  1238. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/setup_example.py +0 -0
  1239. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/signature-file.rst +0 -0
  1240. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/spam.pyf +0 -0
  1241. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/spam_session.dat +0 -0
  1242. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/string.f +0 -0
  1243. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/string_session.dat +0 -0
  1244. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/usage.rst +0 -0
  1245. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/var.pyf +0 -0
  1246. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/f2py/var_session.dat +0 -0
  1247. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/glossary.rst +0 -0
  1248. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/license.rst +0 -0
  1249. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal.rst +0 -0
  1250. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal3.rst +0 -0
  1251. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/deferred-ufunc-evaluation.rst +0 -0
  1252. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/generalized-ufuncs.rst +0 -0
  1253. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/groupby_additions.rst +0 -0
  1254. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/index.rst +0 -0
  1255. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/math_config_clean.rst +0 -0
  1256. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/missing-data.rst +0 -0
  1257. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/new-iterator-ufunc.rst +0 -0
  1258. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/newbugtracker.rst +0 -0
  1259. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/npy-format.rst +0 -0
  1260. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/structured_array_extensions.rst +0 -0
  1261. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/ufunc-overrides.rst +0 -0
  1262. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/neps/warnfix.rst +0 -0
  1263. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/arrays.datetime.rst +0 -0
  1264. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/arrays.nditer.rst +0 -0
  1265. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/arrays.rst +0 -0
  1266. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/c-api.deprecations.rst +0 -0
  1267. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/c-api.rst +0 -0
  1268. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/distutils.rst +0 -0
  1269. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.dia +0 -0
  1270. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.pdf +0 -0
  1271. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.png +0 -0
  1272. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.fig +0 -0
  1273. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.pdf +0 -0
  1274. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.png +0 -0
  1275. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/internals.rst +0 -0
  1276. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.baseclass.rst +0 -0
  1277. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.generic.rst +0 -0
  1278. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.rst +0 -0
  1279. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.array-creation.rst +0 -0
  1280. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.bitwise.rst +0 -0
  1281. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.char.rst +0 -0
  1282. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.ctypeslib.rst +0 -0
  1283. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.datetime.rst +0 -0
  1284. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.dtype.rst +0 -0
  1285. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.dual.rst +0 -0
  1286. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.emath.rst +0 -0
  1287. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.err.rst +0 -0
  1288. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.fft.rst +0 -0
  1289. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.financial.rst +0 -0
  1290. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.functional.rst +0 -0
  1291. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.help.rst +0 -0
  1292. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.indexing.rst +0 -0
  1293. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.logic.rst +0 -0
  1294. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.math.rst +0 -0
  1295. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.matlib.rst +0 -0
  1296. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.numarray.rst +0 -0
  1297. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.oldnumeric.rst +0 -0
  1298. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.other.rst +0 -0
  1299. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.padding.rst +0 -0
  1300. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.chebyshev.rst +0 -0
  1301. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.classes.rst +0 -0
  1302. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite.rst +0 -0
  1303. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite_e.rst +0 -0
  1304. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.laguerre.rst +0 -0
  1305. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.legendre.rst +0 -0
  1306. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.package.rst +0 -0
  1307. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.poly1d.rst +0 -0
  1308. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.polynomial.rst +0 -0
  1309. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.rst +0 -0
  1310. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.random.rst +0 -0
  1311. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.rst +0 -0
  1312. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.set.rst +0 -0
  1313. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.testing.rst +0 -0
  1314. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/routines.window.rst +0 -0
  1315. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/reference/swig.rst +0 -0
  1316. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.broadcasting.rst +0 -0
  1317. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.byteswapping.rst +0 -0
  1318. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.creation.rst +0 -0
  1319. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.indexing.rst +0 -0
  1320. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.io.rst +0 -0
  1321. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.rst +0 -0
  1322. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.subclassing.rst +0 -0
  1323. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/basics.types.rst +0 -0
  1324. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/c-info.rst +0 -0
  1325. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/howtofind.rst +0 -0
  1326. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/index.rst +0 -0
  1327. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/introduction.rst +0 -0
  1328. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/misc.rst +0 -0
  1329. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/performance.rst +0 -0
  1330. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/source/user/whatisnumpy.rst +0 -0
  1331. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/.gitignore +0 -0
  1332. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/.travis.yml +0 -0
  1333. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/LICENSE.txt +0 -0
  1334. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/MANIFEST.in +0 -0
  1335. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/README.rst +0 -0
  1336. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/__init__.py +0 -0
  1337. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/comment_eater.py +0 -0
  1338. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/compiler_unparse.py +0 -0
  1339. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape.py +0 -0
  1340. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape_sphinx.py +0 -0
  1341. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/linkcode.py +0 -0
  1342. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/numpydoc.py +0 -0
  1343. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/phantom_import.py +0 -0
  1344. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/plot_directive.py +0 -0
  1345. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_docscrape.py +0 -0
  1346. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_linkcode.py +0 -0
  1347. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_phantom_import.py +0 -0
  1348. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_plot_directive.py +0 -0
  1349. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_traitsdoc.py +0 -0
  1350. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/traitsdoc.py +0 -0
  1351. {numpy-1.9.2 → numpy-1.10.0.post2}/doc/sphinxext/setup.py +0 -0
  1352. {numpy-1.9.2/numpy/core/code_generators → numpy-1.10.0.post2/numpy/_build_utils}/__init__.py +0 -0
  1353. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/compat/__init__.py +0 -0
  1354. {numpy-1.9.2/numpy/distutils/tests/f2py_ext → numpy-1.10.0.post2/numpy/core/code_generators}/__init__.py +0 -0
  1355. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/code_generators/genapi.py +0 -0
  1356. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/code_generators/generate_numpy_api.py +0 -0
  1357. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/cversions.py +0 -0
  1358. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/_neighborhood_iterator_imp.h +0 -0
  1359. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/_numpyconfig.h.in +0 -0
  1360. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayobject.h +0 -0
  1361. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayscalars.h +0 -0
  1362. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/halffloat.h +0 -0
  1363. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/noprefix.h +0 -0
  1364. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_1_7_deprecated_api.h +0 -0
  1365. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_interrupt.h +0 -0
  1366. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_no_deprecated_api.h +0 -0
  1367. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_os.h +0 -0
  1368. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/old_defines.h +0 -0
  1369. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/oldnumeric.h +0 -0
  1370. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/ufuncobject.h +0 -0
  1371. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/include/numpy/utils.h +0 -0
  1372. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/info.py +0 -0
  1373. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/mlib.ini.in +0 -0
  1374. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/npymath.ini.in +0 -0
  1375. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/dummymodule.c +0 -0
  1376. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/_datetime.h +0 -0
  1377. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/alloc.h +0 -0
  1378. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.c +0 -0
  1379. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.h +0 -0
  1380. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_array.c +0 -0
  1381. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_scalar.c +0 -0
  1382. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/arrayobject.h +0 -0
  1383. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/buffer.h +0 -0
  1384. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/calculation.h +0 -0
  1385. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/conversion_utils.h +0 -0
  1386. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert.h +0 -0
  1387. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert_datatype.h +0 -0
  1388. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ctors.h +0 -0
  1389. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busday.h +0 -0
  1390. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busdaycal.h +0 -0
  1391. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_strings.h +0 -0
  1392. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/descriptor.h +0 -0
  1393. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/flagsobject.c +0 -0
  1394. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/getset.h +0 -0
  1395. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/hashdescr.h +0 -0
  1396. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/item_selection.h +0 -0
  1397. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/iterators.h +0 -0
  1398. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/methods.h +0 -0
  1399. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_impl.h +0 -0
  1400. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_pywrap.h +0 -0
  1401. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_templ.c.src +0 -0
  1402. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpymemoryview.h +0 -0
  1403. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpyos.h +0 -0
  1404. {numpy-1.9.2/numpy/core/blasdot → numpy-1.10.0.post2/numpy/core/src/multiarray}/python_xerbla.c +0 -0
  1405. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.c +0 -0
  1406. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.h +0 -0
  1407. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.c +0 -0
  1408. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.h +0 -0
  1409. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/shape.h +0 -0
  1410. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ucsnarrow.h +0 -0
  1411. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.c +0 -0
  1412. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.h +0 -0
  1413. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/npymath/_signbit.c +0 -0
  1414. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/npymath/halffloat.c +0 -0
  1415. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/npymath/npy_math_common.h +0 -0
  1416. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/npysort/binsearch.c.src +0 -0
  1417. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/private/lowlevel_strided_loops.h +0 -0
  1418. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/private/npy_binsearch.h.src +0 -0
  1419. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/private/npy_fpmath.h +0 -0
  1420. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/private/npy_pycompat.h +0 -0
  1421. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.c +0 -0
  1422. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.h +0 -0
  1423. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/struct_ufunc_test.c.src +0 -0
  1424. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_object.h +0 -0
  1425. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_type_resolution.h +0 -0
  1426. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/tests/data/astype_copy.pkl +0 -0
  1427. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/tests/data/recarray_from_file.fits +0 -0
  1428. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/core/tests/test_scalarprint.py +0 -0
  1429. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/ctypeslib.py +0 -0
  1430. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/__version__.py +0 -0
  1431. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/__init__.py +0 -0
  1432. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/bdist_rpm.py +0 -0
  1433. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/build_py.py +0 -0
  1434. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/build_scripts.py +0 -0
  1435. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/build_src.py +0 -0
  1436. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/config_compiler.py +0 -0
  1437. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/develop.py +0 -0
  1438. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/egg_info.py +0 -0
  1439. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/install.py +0 -0
  1440. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/install_clib.py +0 -0
  1441. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/install_data.py +0 -0
  1442. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/install_headers.py +0 -0
  1443. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/command/sdist.py +0 -0
  1444. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/compat.py +0 -0
  1445. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/conv_template.py +0 -0
  1446. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/core.py +0 -0
  1447. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/cpuinfo.py +0 -0
  1448. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/environment.py +0 -0
  1449. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/extension.py +0 -0
  1450. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/__init__.py +0 -0
  1451. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/absoft.py +0 -0
  1452. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/g95.py +0 -0
  1453. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/hpux.py +0 -0
  1454. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/ibm.py +0 -0
  1455. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/lahey.py +0 -0
  1456. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/mips.py +0 -0
  1457. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/nag.py +0 -0
  1458. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/none.py +0 -0
  1459. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/pathf95.py +0 -0
  1460. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/vast.py +0 -0
  1461. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/from_template.py +0 -0
  1462. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/info.py +0 -0
  1463. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/line_endings.py +0 -0
  1464. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/log.py +0 -0
  1465. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/mingw/gfortran_vs2003_hack.c +0 -0
  1466. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/numpy_distribution.py +0 -0
  1467. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/pathccompiler.py +0 -0
  1468. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/setup.py +0 -0
  1469. {numpy-1.9.2/numpy/distutils/tests/f2py_f90_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext}/__init__.py +0 -0
  1470. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/setup.py +0 -0
  1471. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib1.f +0 -0
  1472. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib2.pyf +0 -0
  1473. {numpy-1.9.2/numpy/distutils/tests/gen_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext}/__init__.py +0 -0
  1474. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/include/body.f90 +0 -0
  1475. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/setup.py +0 -0
  1476. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/src/foo_free.f90 +0 -0
  1477. {numpy-1.9.2/numpy/distutils/tests/pyrex_ext → numpy-1.10.0.post2/numpy/distutils/tests/gen_ext}/__init__.py +0 -0
  1478. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/gen_ext/setup.py +0 -0
  1479. {numpy-1.9.2/numpy/distutils/tests/swig_ext → numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext}/__init__.py +0 -0
  1480. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/primes.pyx +0 -0
  1481. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/setup.py +0 -0
  1482. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/setup.py +0 -0
  1483. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/setup.py +0 -0
  1484. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.c +0 -0
  1485. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.i +0 -0
  1486. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.cc +0 -0
  1487. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.h +0 -0
  1488. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.i +0 -0
  1489. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/distutils/tests/test_exec_command.py +0 -0
  1490. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/__init__.py +0 -0
  1491. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/basics.py +0 -0
  1492. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/broadcasting.py +0 -0
  1493. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/constants.py +0 -0
  1494. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/howtofind.py +0 -0
  1495. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/internals.py +0 -0
  1496. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/io.py +0 -0
  1497. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/jargon.py +0 -0
  1498. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/methods_vs_functions.py +0 -0
  1499. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/misc.py +0 -0
  1500. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/performance.py +0 -0
  1501. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/subclassing.py +0 -0
  1502. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/doc/ufuncs.py +0 -0
  1503. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/dual.py +0 -0
  1504. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/__version__.py +0 -0
  1505. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/info.py +0 -0
  1506. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap +0 -0
  1507. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_free.f90 +0 -0
  1508. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_mod.f90 +0 -0
  1509. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_use.f90 +0 -0
  1510. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/precision.f90 +0 -0
  1511. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/kind/foo.f90 +0 -0
  1512. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo.f +0 -0
  1513. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_fixed.f90 +0 -0
  1514. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_free.f90 +0 -0
  1515. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/regression/inout.f90 +0 -0
  1516. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/f2py/tests/src/size/foo.f90 +0 -0
  1517. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/fft/__init__.py +0 -0
  1518. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/fft/helper.py +0 -0
  1519. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/__init__.py +0 -0
  1520. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/_datasource.py +0 -0
  1521. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/_version.py +0 -0
  1522. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/scimath.py +0 -0
  1523. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/data/python3.npy +0 -0
  1524. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/data/win64python2.npy +0 -0
  1525. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test__datasource.py +0 -0
  1526. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test_arrayterator.py +0 -0
  1527. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test_regression.py +0 -0
  1528. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test_ufunclike.py +0 -0
  1529. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/tests/test_utils.py +0 -0
  1530. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/ufunclike.py +0 -0
  1531. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/lib/user_array.py +0 -0
  1532. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/__init__.py +0 -0
  1533. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/info.py +0 -0
  1534. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/blas_lite.c +0 -0
  1535. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlamch.c +0 -0
  1536. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlapack_lite.c +0 -0
  1537. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c.h +0 -0
  1538. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c_lite.c +0 -0
  1539. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/zlapack_lite.c +0 -0
  1540. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/setup.py +0 -0
  1541. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/linalg/tests/test_deprecations.py +0 -0
  1542. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/ma/version.py +0 -0
  1543. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/matrixlib/__init__.py +0 -0
  1544. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/matrixlib/setup.py +0 -0
  1545. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/__init__.py +0 -0
  1546. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/polynomial.py +0 -0
  1547. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/setup.py +0 -0
  1548. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_chebyshev.py +0 -0
  1549. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_classes.py +0 -0
  1550. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite.py +0 -0
  1551. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite_e.py +0 -0
  1552. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_laguerre.py +0 -0
  1553. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_legendre.py +0 -0
  1554. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polynomial.py +0 -0
  1555. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polyutils.py +0 -0
  1556. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_printing.py +0 -0
  1557. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/__init__.py +0 -0
  1558. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/info.py +0 -0
  1559. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/Python.pxi +0 -0
  1560. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/distributions.h +0 -0
  1561. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/generate_mtrand_c.py +0 -0
  1562. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.c +0 -0
  1563. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.h +0 -0
  1564. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/mtrand_py_helper.h +0 -0
  1565. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/numpy.pxd +0 -0
  1566. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.c +0 -0
  1567. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.h +0 -0
  1568. {numpy-1.9.2 → numpy-1.10.0.post2}/numpy/testing/tests/test_doctesting.py +0 -0
  1569. {numpy-1.9.2 → numpy-1.10.0.post2}/setupegg.py +0 -0
  1570. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/Makefile +0 -0
  1571. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/pyfragments.swg +0 -0
  1572. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Array1.cxx +0 -0
  1573. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Array1.h +0 -0
  1574. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Array2.cxx +0 -0
  1575. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Array2.h +0 -0
  1576. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Farray.cxx +0 -0
  1577. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Farray.h +0 -0
  1578. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Farray.i +0 -0
  1579. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Fortran.cxx +0 -0
  1580. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Fortran.h +0 -0
  1581. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Fortran.i +0 -0
  1582. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Matrix.cxx +0 -0
  1583. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Matrix.h +0 -0
  1584. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Matrix.i +0 -0
  1585. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.cxx +0 -0
  1586. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.h +0 -0
  1587. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.i +0 -0
  1588. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Tensor.cxx +0 -0
  1589. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Tensor.h +0 -0
  1590. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Tensor.i +0 -0
  1591. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Vector.cxx +0 -0
  1592. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Vector.h +0 -0
  1593. {numpy-1.9.2 → numpy-1.10.0.post2}/tools/swig/test/Vector.i +0 -0
@@ -0,0 +1,2413 @@
1
+ #define PY_SSIZE_T_CLEAN
2
+ #include <Python.h>
3
+ #include "structmember.h"
4
+
5
+ #define NPY_NO_DEPRECATED_API NPY_API_VERSION
6
+ #define _MULTIARRAYMODULE
7
+ #include "numpy/arrayobject.h"
8
+ #include "numpy/arrayscalars.h"
9
+
10
+ #include "numpy/npy_math.h"
11
+ #include "numpy/npy_cpu.h"
12
+
13
+ #include "npy_config.h"
14
+
15
+ #include "npy_pycompat.h"
16
+
17
+ #include "common.h"
18
+ #include "arrayobject.h"
19
+ #include "ctors.h"
20
+ #include "lowlevel_strided_loops.h"
21
+
22
+ #include "item_selection.h"
23
+ #include "npy_sort.h"
24
+ #include "npy_partition.h"
25
+ #include "npy_binsearch.h"
26
+
27
+ /*NUMPY_API
28
+ * Take
29
+ */
30
+ NPY_NO_EXPORT PyObject *
31
+ PyArray_TakeFrom(PyArrayObject *self0, PyObject *indices0, int axis,
32
+ PyArrayObject *out, NPY_CLIPMODE clipmode)
33
+ {
34
+ PyArray_Descr *dtype;
35
+ PyArray_FastTakeFunc *func;
36
+ PyArrayObject *obj = NULL, *self, *indices;
37
+ npy_intp nd, i, j, n, m, k, max_item, tmp, chunk, itemsize, nelem;
38
+ npy_intp shape[NPY_MAXDIMS];
39
+ char *src, *dest, *tmp_src;
40
+ int err;
41
+ npy_bool needs_refcounting;
42
+
43
+ indices = NULL;
44
+ self = (PyArrayObject *)PyArray_CheckAxis(self0, &axis,
45
+ NPY_ARRAY_CARRAY);
46
+ if (self == NULL) {
47
+ return NULL;
48
+ }
49
+ indices = (PyArrayObject *)PyArray_ContiguousFromAny(indices0,
50
+ NPY_INTP,
51
+ 0, 0);
52
+ if (indices == NULL) {
53
+ goto fail;
54
+ }
55
+
56
+ n = m = chunk = 1;
57
+ nd = PyArray_NDIM(self) + PyArray_NDIM(indices) - 1;
58
+ for (i = 0; i < nd; i++) {
59
+ if (i < axis) {
60
+ shape[i] = PyArray_DIMS(self)[i];
61
+ n *= shape[i];
62
+ }
63
+ else {
64
+ if (i < axis+PyArray_NDIM(indices)) {
65
+ shape[i] = PyArray_DIMS(indices)[i-axis];
66
+ m *= shape[i];
67
+ }
68
+ else {
69
+ shape[i] = PyArray_DIMS(self)[i-PyArray_NDIM(indices)+1];
70
+ chunk *= shape[i];
71
+ }
72
+ }
73
+ }
74
+ if (!out) {
75
+ dtype = PyArray_DESCR(self);
76
+ Py_INCREF(dtype);
77
+ obj = (PyArrayObject *)PyArray_NewFromDescr(Py_TYPE(self),
78
+ dtype,
79
+ nd, shape,
80
+ NULL, NULL, 0,
81
+ (PyObject *)self);
82
+
83
+ if (obj == NULL) {
84
+ goto fail;
85
+ }
86
+
87
+ }
88
+ else {
89
+ int flags = NPY_ARRAY_CARRAY |
90
+ NPY_ARRAY_UPDATEIFCOPY;
91
+
92
+ if ((PyArray_NDIM(out) != nd) ||
93
+ !PyArray_CompareLists(PyArray_DIMS(out), shape, nd)) {
94
+ PyErr_SetString(PyExc_ValueError,
95
+ "output array does not match result of ndarray.take");
96
+ goto fail;
97
+ }
98
+
99
+ if (clipmode == NPY_RAISE) {
100
+ /*
101
+ * we need to make sure and get a copy
102
+ * so the input array is not changed
103
+ * before the error is called
104
+ */
105
+ flags |= NPY_ARRAY_ENSURECOPY;
106
+ }
107
+ dtype = PyArray_DESCR(self);
108
+ Py_INCREF(dtype);
109
+ obj = (PyArrayObject *)PyArray_FromArray(out, dtype, flags);
110
+ if (obj == NULL) {
111
+ goto fail;
112
+ }
113
+ }
114
+
115
+ max_item = PyArray_DIMS(self)[axis];
116
+ nelem = chunk;
117
+ itemsize = PyArray_ITEMSIZE(obj);
118
+ chunk = chunk * itemsize;
119
+ src = PyArray_DATA(self);
120
+ dest = PyArray_DATA(obj);
121
+ needs_refcounting = PyDataType_REFCHK(PyArray_DESCR(self));
122
+
123
+ if ((max_item == 0) && (PyArray_SIZE(obj) != 0)) {
124
+ /* Index error, since that is the usual error for raise mode */
125
+ PyErr_SetString(PyExc_IndexError,
126
+ "cannot do a non-empty take from an empty axes.");
127
+ goto fail;
128
+ }
129
+
130
+ func = PyArray_DESCR(self)->f->fasttake;
131
+ if (func == NULL) {
132
+ NPY_BEGIN_THREADS_DEF;
133
+ NPY_BEGIN_THREADS_DESCR(PyArray_DESCR(self));
134
+ switch(clipmode) {
135
+ case NPY_RAISE:
136
+ for (i = 0; i < n; i++) {
137
+ for (j = 0; j < m; j++) {
138
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[j];
139
+ if (check_and_adjust_index(&tmp, max_item, axis,
140
+ _save) < 0) {
141
+ goto fail;
142
+ }
143
+ tmp_src = src + tmp * chunk;
144
+ if (needs_refcounting) {
145
+ for (k=0; k < nelem; k++) {
146
+ PyArray_Item_INCREF(tmp_src, PyArray_DESCR(self));
147
+ PyArray_Item_XDECREF(dest, PyArray_DESCR(self));
148
+ memmove(dest, tmp_src, itemsize);
149
+ dest += itemsize;
150
+ tmp_src += itemsize;
151
+ }
152
+ }
153
+ else {
154
+ memmove(dest, tmp_src, chunk);
155
+ dest += chunk;
156
+ }
157
+ }
158
+ src += chunk*max_item;
159
+ }
160
+ break;
161
+ case NPY_WRAP:
162
+ for (i = 0; i < n; i++) {
163
+ for (j = 0; j < m; j++) {
164
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[j];
165
+ if (tmp < 0) {
166
+ while (tmp < 0) {
167
+ tmp += max_item;
168
+ }
169
+ }
170
+ else if (tmp >= max_item) {
171
+ while (tmp >= max_item) {
172
+ tmp -= max_item;
173
+ }
174
+ }
175
+ tmp_src = src + tmp * chunk;
176
+ if (needs_refcounting) {
177
+ for (k=0; k < nelem; k++) {
178
+ PyArray_Item_INCREF(tmp_src, PyArray_DESCR(self));
179
+ PyArray_Item_XDECREF(dest, PyArray_DESCR(self));
180
+ memmove(dest, tmp_src, itemsize);
181
+ dest += itemsize;
182
+ tmp_src += itemsize;
183
+ }
184
+ }
185
+ else {
186
+ memmove(dest, tmp_src, chunk);
187
+ dest += chunk;
188
+ }
189
+ }
190
+ src += chunk*max_item;
191
+ }
192
+ break;
193
+ case NPY_CLIP:
194
+ for (i = 0; i < n; i++) {
195
+ for (j = 0; j < m; j++) {
196
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[j];
197
+ if (tmp < 0) {
198
+ tmp = 0;
199
+ }
200
+ else if (tmp >= max_item) {
201
+ tmp = max_item - 1;
202
+ }
203
+ tmp_src = src + tmp * chunk;
204
+ if (needs_refcounting) {
205
+ for (k=0; k < nelem; k++) {
206
+ PyArray_Item_INCREF(tmp_src, PyArray_DESCR(self));
207
+ PyArray_Item_XDECREF(dest, PyArray_DESCR(self));
208
+ memmove(dest, tmp_src, itemsize);
209
+ dest += itemsize;
210
+ tmp_src += itemsize;
211
+ }
212
+ }
213
+ else {
214
+ memmove(dest, tmp_src, chunk);
215
+ dest += chunk;
216
+ }
217
+ }
218
+ src += chunk*max_item;
219
+ }
220
+ break;
221
+ }
222
+ NPY_END_THREADS;
223
+ }
224
+ else {
225
+ /* no gil release, need it for error reporting */
226
+ err = func(dest, src, (npy_intp *)(PyArray_DATA(indices)),
227
+ max_item, n, m, nelem, clipmode);
228
+ if (err) {
229
+ goto fail;
230
+ }
231
+ }
232
+
233
+ Py_XDECREF(indices);
234
+ Py_XDECREF(self);
235
+ if (out != NULL && out != obj) {
236
+ Py_INCREF(out);
237
+ Py_DECREF(obj);
238
+ obj = out;
239
+ }
240
+ return (PyObject *)obj;
241
+
242
+ fail:
243
+ PyArray_XDECREF_ERR(obj);
244
+ Py_XDECREF(indices);
245
+ Py_XDECREF(self);
246
+ return NULL;
247
+ }
248
+
249
+ /*NUMPY_API
250
+ * Put values into an array
251
+ */
252
+ NPY_NO_EXPORT PyObject *
253
+ PyArray_PutTo(PyArrayObject *self, PyObject* values0, PyObject *indices0,
254
+ NPY_CLIPMODE clipmode)
255
+ {
256
+ PyArrayObject *indices, *values;
257
+ npy_intp i, chunk, ni, max_item, nv, tmp;
258
+ char *src, *dest;
259
+ int copied = 0;
260
+
261
+ indices = NULL;
262
+ values = NULL;
263
+ if (!PyArray_Check(self)) {
264
+ PyErr_SetString(PyExc_TypeError,
265
+ "put: first argument must be an array");
266
+ return NULL;
267
+ }
268
+
269
+ if (PyArray_FailUnlessWriteable(self, "put: output array") < 0) {
270
+ return NULL;
271
+ }
272
+
273
+ if (!PyArray_ISCONTIGUOUS(self)) {
274
+ PyArrayObject *obj;
275
+ int flags = NPY_ARRAY_CARRAY | NPY_ARRAY_UPDATEIFCOPY;
276
+
277
+ if (clipmode == NPY_RAISE) {
278
+ flags |= NPY_ARRAY_ENSURECOPY;
279
+ }
280
+ Py_INCREF(PyArray_DESCR(self));
281
+ obj = (PyArrayObject *)PyArray_FromArray(self,
282
+ PyArray_DESCR(self), flags);
283
+ if (obj != self) {
284
+ copied = 1;
285
+ }
286
+ self = obj;
287
+ }
288
+ max_item = PyArray_SIZE(self);
289
+ dest = PyArray_DATA(self);
290
+ chunk = PyArray_DESCR(self)->elsize;
291
+ indices = (PyArrayObject *)PyArray_ContiguousFromAny(indices0,
292
+ NPY_INTP, 0, 0);
293
+ if (indices == NULL) {
294
+ goto fail;
295
+ }
296
+ ni = PyArray_SIZE(indices);
297
+ Py_INCREF(PyArray_DESCR(self));
298
+ values = (PyArrayObject *)PyArray_FromAny(values0, PyArray_DESCR(self), 0, 0,
299
+ NPY_ARRAY_DEFAULT | NPY_ARRAY_FORCECAST, NULL);
300
+ if (values == NULL) {
301
+ goto fail;
302
+ }
303
+ nv = PyArray_SIZE(values);
304
+ if (nv <= 0) {
305
+ goto finish;
306
+ }
307
+ if (PyDataType_REFCHK(PyArray_DESCR(self))) {
308
+ switch(clipmode) {
309
+ case NPY_RAISE:
310
+ for (i = 0; i < ni; i++) {
311
+ src = PyArray_BYTES(values) + chunk*(i % nv);
312
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[i];
313
+ if (check_and_adjust_index(&tmp, max_item, 0, NULL) < 0) {
314
+ goto fail;
315
+ }
316
+ PyArray_Item_INCREF(src, PyArray_DESCR(self));
317
+ PyArray_Item_XDECREF(dest+tmp*chunk, PyArray_DESCR(self));
318
+ memmove(dest + tmp*chunk, src, chunk);
319
+ }
320
+ break;
321
+ case NPY_WRAP:
322
+ for (i = 0; i < ni; i++) {
323
+ src = PyArray_BYTES(values) + chunk * (i % nv);
324
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[i];
325
+ if (tmp < 0) {
326
+ while (tmp < 0) {
327
+ tmp += max_item;
328
+ }
329
+ }
330
+ else if (tmp >= max_item) {
331
+ while (tmp >= max_item) {
332
+ tmp -= max_item;
333
+ }
334
+ }
335
+ PyArray_Item_INCREF(src, PyArray_DESCR(self));
336
+ PyArray_Item_XDECREF(dest+tmp*chunk, PyArray_DESCR(self));
337
+ memmove(dest + tmp * chunk, src, chunk);
338
+ }
339
+ break;
340
+ case NPY_CLIP:
341
+ for (i = 0; i < ni; i++) {
342
+ src = PyArray_BYTES(values) + chunk * (i % nv);
343
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[i];
344
+ if (tmp < 0) {
345
+ tmp = 0;
346
+ }
347
+ else if (tmp >= max_item) {
348
+ tmp = max_item - 1;
349
+ }
350
+ PyArray_Item_INCREF(src, PyArray_DESCR(self));
351
+ PyArray_Item_XDECREF(dest+tmp*chunk, PyArray_DESCR(self));
352
+ memmove(dest + tmp * chunk, src, chunk);
353
+ }
354
+ break;
355
+ }
356
+ }
357
+ else {
358
+ NPY_BEGIN_THREADS_DEF;
359
+ NPY_BEGIN_THREADS_THRESHOLDED(ni);
360
+ switch(clipmode) {
361
+ case NPY_RAISE:
362
+ for (i = 0; i < ni; i++) {
363
+ src = PyArray_BYTES(values) + chunk * (i % nv);
364
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[i];
365
+ if (check_and_adjust_index(&tmp, max_item, 0, _save) < 0) {
366
+ goto fail;
367
+ }
368
+ memmove(dest + tmp * chunk, src, chunk);
369
+ }
370
+ break;
371
+ case NPY_WRAP:
372
+ for (i = 0; i < ni; i++) {
373
+ src = PyArray_BYTES(values) + chunk * (i % nv);
374
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[i];
375
+ if (tmp < 0) {
376
+ while (tmp < 0) {
377
+ tmp += max_item;
378
+ }
379
+ }
380
+ else if (tmp >= max_item) {
381
+ while (tmp >= max_item) {
382
+ tmp -= max_item;
383
+ }
384
+ }
385
+ memmove(dest + tmp * chunk, src, chunk);
386
+ }
387
+ break;
388
+ case NPY_CLIP:
389
+ for (i = 0; i < ni; i++) {
390
+ src = PyArray_BYTES(values) + chunk * (i % nv);
391
+ tmp = ((npy_intp *)(PyArray_DATA(indices)))[i];
392
+ if (tmp < 0) {
393
+ tmp = 0;
394
+ }
395
+ else if (tmp >= max_item) {
396
+ tmp = max_item - 1;
397
+ }
398
+ memmove(dest + tmp * chunk, src, chunk);
399
+ }
400
+ break;
401
+ }
402
+ NPY_END_THREADS;
403
+ }
404
+
405
+ finish:
406
+ Py_XDECREF(values);
407
+ Py_XDECREF(indices);
408
+ if (copied) {
409
+ Py_DECREF(self);
410
+ }
411
+ Py_RETURN_NONE;
412
+
413
+ fail:
414
+ Py_XDECREF(indices);
415
+ Py_XDECREF(values);
416
+ if (copied) {
417
+ PyArray_XDECREF_ERR(self);
418
+ }
419
+ return NULL;
420
+ }
421
+
422
+ /*NUMPY_API
423
+ * Put values into an array according to a mask.
424
+ */
425
+ NPY_NO_EXPORT PyObject *
426
+ PyArray_PutMask(PyArrayObject *self, PyObject* values0, PyObject* mask0)
427
+ {
428
+ PyArray_FastPutmaskFunc *func;
429
+ PyArrayObject *mask, *values;
430
+ PyArray_Descr *dtype;
431
+ npy_intp i, j, chunk, ni, max_item, nv;
432
+ char *src, *dest;
433
+ npy_bool *mask_data;
434
+ int copied = 0;
435
+
436
+ mask = NULL;
437
+ values = NULL;
438
+ if (!PyArray_Check(self)) {
439
+ PyErr_SetString(PyExc_TypeError,
440
+ "putmask: first argument must "
441
+ "be an array");
442
+ return NULL;
443
+ }
444
+ if (!PyArray_ISCONTIGUOUS(self)) {
445
+ PyArrayObject *obj;
446
+
447
+ dtype = PyArray_DESCR(self);
448
+ Py_INCREF(dtype);
449
+ obj = (PyArrayObject *)PyArray_FromArray(self, dtype,
450
+ NPY_ARRAY_CARRAY | NPY_ARRAY_UPDATEIFCOPY);
451
+ if (obj != self) {
452
+ copied = 1;
453
+ }
454
+ self = obj;
455
+ }
456
+
457
+ max_item = PyArray_SIZE(self);
458
+ dest = PyArray_DATA(self);
459
+ chunk = PyArray_DESCR(self)->elsize;
460
+ mask = (PyArrayObject *)PyArray_FROM_OTF(mask0, NPY_BOOL,
461
+ NPY_ARRAY_CARRAY | NPY_ARRAY_FORCECAST);
462
+ if (mask == NULL) {
463
+ goto fail;
464
+ }
465
+ ni = PyArray_SIZE(mask);
466
+ if (ni != max_item) {
467
+ PyErr_SetString(PyExc_ValueError,
468
+ "putmask: mask and data must be "
469
+ "the same size");
470
+ goto fail;
471
+ }
472
+ mask_data = PyArray_DATA(mask);
473
+ dtype = PyArray_DESCR(self);
474
+ Py_INCREF(dtype);
475
+ values = (PyArrayObject *)PyArray_FromAny(values0, dtype,
476
+ 0, 0, NPY_ARRAY_CARRAY, NULL);
477
+ if (values == NULL) {
478
+ goto fail;
479
+ }
480
+ nv = PyArray_SIZE(values); /* zero if null array */
481
+ if (nv <= 0) {
482
+ Py_XDECREF(values);
483
+ Py_XDECREF(mask);
484
+ Py_RETURN_NONE;
485
+ }
486
+ src = PyArray_DATA(values);
487
+
488
+ if (PyDataType_REFCHK(PyArray_DESCR(self))) {
489
+ for (i = 0, j = 0; i < ni; i++, j++) {
490
+ if (j >= nv) {
491
+ j = 0;
492
+ }
493
+ if (mask_data[i]) {
494
+ char *src_ptr = src + j*chunk;
495
+ char *dest_ptr = dest + i*chunk;
496
+
497
+ PyArray_Item_INCREF(src_ptr, PyArray_DESCR(self));
498
+ PyArray_Item_XDECREF(dest_ptr, PyArray_DESCR(self));
499
+ memmove(dest_ptr, src_ptr, chunk);
500
+ }
501
+ }
502
+ }
503
+ else {
504
+ NPY_BEGIN_THREADS_DEF;
505
+ NPY_BEGIN_THREADS_DESCR(PyArray_DESCR(self));
506
+ func = PyArray_DESCR(self)->f->fastputmask;
507
+ if (func == NULL) {
508
+ for (i = 0, j = 0; i < ni; i++, j++) {
509
+ if (j >= nv) {
510
+ j = 0;
511
+ }
512
+ if (mask_data[i]) {
513
+ memmove(dest + i*chunk, src + j*chunk, chunk);
514
+ }
515
+ }
516
+ }
517
+ else {
518
+ func(dest, mask_data, ni, src, nv);
519
+ }
520
+ NPY_END_THREADS;
521
+ }
522
+
523
+ Py_XDECREF(values);
524
+ Py_XDECREF(mask);
525
+ if (copied) {
526
+ Py_DECREF(self);
527
+ }
528
+ Py_RETURN_NONE;
529
+
530
+ fail:
531
+ Py_XDECREF(mask);
532
+ Py_XDECREF(values);
533
+ if (copied) {
534
+ PyArray_XDECREF_ERR(self);
535
+ }
536
+ return NULL;
537
+ }
538
+
539
+ /*NUMPY_API
540
+ * Repeat the array.
541
+ */
542
+ NPY_NO_EXPORT PyObject *
543
+ PyArray_Repeat(PyArrayObject *aop, PyObject *op, int axis)
544
+ {
545
+ npy_intp *counts;
546
+ npy_intp n, n_outer, i, j, k, chunk;
547
+ npy_intp total = 0;
548
+ npy_bool broadcast = NPY_FALSE;
549
+ PyArrayObject *repeats = NULL;
550
+ PyObject *ap = NULL;
551
+ PyArrayObject *ret = NULL;
552
+ char *new_data, *old_data;
553
+
554
+ repeats = (PyArrayObject *)PyArray_ContiguousFromAny(op, NPY_INTP, 0, 1);
555
+ if (repeats == NULL) {
556
+ return NULL;
557
+ }
558
+
559
+ /*
560
+ * Scalar and size 1 'repeat' arrays broadcast to any shape, for all
561
+ * other inputs the dimension must match exactly.
562
+ */
563
+ if (PyArray_NDIM(repeats) == 0 || PyArray_SIZE(repeats) == 1) {
564
+ broadcast = NPY_TRUE;
565
+ }
566
+
567
+ counts = (npy_intp *)PyArray_DATA(repeats);
568
+
569
+ if ((ap = PyArray_CheckAxis(aop, &axis, NPY_ARRAY_CARRAY)) == NULL) {
570
+ Py_DECREF(repeats);
571
+ return NULL;
572
+ }
573
+
574
+ aop = (PyArrayObject *)ap;
575
+ n = PyArray_DIM(aop, axis);
576
+
577
+ if (!broadcast && PyArray_SIZE(repeats) != n) {
578
+ PyErr_Format(PyExc_ValueError,
579
+ "operands could not be broadcast together "
580
+ "with shape (%zd,) (%zd,)", n, PyArray_DIM(repeats, 0));
581
+ goto fail;
582
+ }
583
+ if (broadcast) {
584
+ total = counts[0] * n;
585
+ }
586
+ else {
587
+ for (j = 0; j < n; j++) {
588
+ if (counts[j] < 0) {
589
+ PyErr_SetString(PyExc_ValueError, "count < 0");
590
+ goto fail;
591
+ }
592
+ total += counts[j];
593
+ }
594
+ }
595
+
596
+ /* Construct new array */
597
+ PyArray_DIMS(aop)[axis] = total;
598
+ Py_INCREF(PyArray_DESCR(aop));
599
+ ret = (PyArrayObject *)PyArray_NewFromDescr(Py_TYPE(aop),
600
+ PyArray_DESCR(aop),
601
+ PyArray_NDIM(aop),
602
+ PyArray_DIMS(aop),
603
+ NULL, NULL, 0,
604
+ (PyObject *)aop);
605
+ PyArray_DIMS(aop)[axis] = n;
606
+ if (ret == NULL) {
607
+ goto fail;
608
+ }
609
+ new_data = PyArray_DATA(ret);
610
+ old_data = PyArray_DATA(aop);
611
+
612
+ chunk = PyArray_DESCR(aop)->elsize;
613
+ for(i = axis + 1; i < PyArray_NDIM(aop); i++) {
614
+ chunk *= PyArray_DIMS(aop)[i];
615
+ }
616
+
617
+ n_outer = 1;
618
+ for (i = 0; i < axis; i++) {
619
+ n_outer *= PyArray_DIMS(aop)[i];
620
+ }
621
+ for (i = 0; i < n_outer; i++) {
622
+ for (j = 0; j < n; j++) {
623
+ npy_intp tmp = broadcast ? counts[0] : counts[j];
624
+ for (k = 0; k < tmp; k++) {
625
+ memcpy(new_data, old_data, chunk);
626
+ new_data += chunk;
627
+ }
628
+ old_data += chunk;
629
+ }
630
+ }
631
+
632
+ Py_DECREF(repeats);
633
+ PyArray_INCREF(ret);
634
+ Py_XDECREF(aop);
635
+ return (PyObject *)ret;
636
+
637
+ fail:
638
+ Py_DECREF(repeats);
639
+ Py_XDECREF(aop);
640
+ Py_XDECREF(ret);
641
+ return NULL;
642
+ }
643
+
644
+ /*NUMPY_API
645
+ */
646
+ NPY_NO_EXPORT PyObject *
647
+ PyArray_Choose(PyArrayObject *ip, PyObject *op, PyArrayObject *out,
648
+ NPY_CLIPMODE clipmode)
649
+ {
650
+ PyArrayObject *obj = NULL;
651
+ PyArray_Descr *dtype;
652
+ int n, elsize;
653
+ npy_intp i;
654
+ char *ret_data;
655
+ PyArrayObject **mps, *ap;
656
+ PyArrayMultiIterObject *multi = NULL;
657
+ npy_intp mi;
658
+ ap = NULL;
659
+
660
+ /*
661
+ * Convert all inputs to arrays of a common type
662
+ * Also makes them C-contiguous
663
+ */
664
+ mps = PyArray_ConvertToCommonType(op, &n);
665
+ if (mps == NULL) {
666
+ return NULL;
667
+ }
668
+ for (i = 0; i < n; i++) {
669
+ if (mps[i] == NULL) {
670
+ goto fail;
671
+ }
672
+ }
673
+ ap = (PyArrayObject *)PyArray_FROM_OT((PyObject *)ip, NPY_INTP);
674
+ if (ap == NULL) {
675
+ goto fail;
676
+ }
677
+ /* Broadcast all arrays to each other, index array at the end. */
678
+ multi = (PyArrayMultiIterObject *)
679
+ PyArray_MultiIterFromObjects((PyObject **)mps, n, 1, ap);
680
+ if (multi == NULL) {
681
+ goto fail;
682
+ }
683
+ /* Set-up return array */
684
+ if (out == NULL) {
685
+ dtype = PyArray_DESCR(mps[0]);
686
+ Py_INCREF(dtype);
687
+ obj = (PyArrayObject *)PyArray_NewFromDescr(Py_TYPE(ap),
688
+ dtype,
689
+ multi->nd,
690
+ multi->dimensions,
691
+ NULL, NULL, 0,
692
+ (PyObject *)ap);
693
+ }
694
+ else {
695
+ int flags = NPY_ARRAY_CARRAY |
696
+ NPY_ARRAY_UPDATEIFCOPY |
697
+ NPY_ARRAY_FORCECAST;
698
+
699
+ if ((PyArray_NDIM(out) != multi->nd)
700
+ || !PyArray_CompareLists(PyArray_DIMS(out),
701
+ multi->dimensions,
702
+ multi->nd)) {
703
+ PyErr_SetString(PyExc_TypeError,
704
+ "choose: invalid shape for output array.");
705
+ goto fail;
706
+ }
707
+ if (clipmode == NPY_RAISE) {
708
+ /*
709
+ * we need to make sure and get a copy
710
+ * so the input array is not changed
711
+ * before the error is called
712
+ */
713
+ flags |= NPY_ARRAY_ENSURECOPY;
714
+ }
715
+ dtype = PyArray_DESCR(mps[0]);
716
+ Py_INCREF(dtype);
717
+ obj = (PyArrayObject *)PyArray_FromArray(out, dtype, flags);
718
+ }
719
+
720
+ if (obj == NULL) {
721
+ goto fail;
722
+ }
723
+ elsize = PyArray_DESCR(obj)->elsize;
724
+ ret_data = PyArray_DATA(obj);
725
+
726
+ while (PyArray_MultiIter_NOTDONE(multi)) {
727
+ mi = *((npy_intp *)PyArray_MultiIter_DATA(multi, n));
728
+ if (mi < 0 || mi >= n) {
729
+ switch(clipmode) {
730
+ case NPY_RAISE:
731
+ PyErr_SetString(PyExc_ValueError,
732
+ "invalid entry in choice "\
733
+ "array");
734
+ goto fail;
735
+ case NPY_WRAP:
736
+ if (mi < 0) {
737
+ while (mi < 0) {
738
+ mi += n;
739
+ }
740
+ }
741
+ else {
742
+ while (mi >= n) {
743
+ mi -= n;
744
+ }
745
+ }
746
+ break;
747
+ case NPY_CLIP:
748
+ if (mi < 0) {
749
+ mi = 0;
750
+ }
751
+ else if (mi >= n) {
752
+ mi = n - 1;
753
+ }
754
+ break;
755
+ }
756
+ }
757
+ memmove(ret_data, PyArray_MultiIter_DATA(multi, mi), elsize);
758
+ ret_data += elsize;
759
+ PyArray_MultiIter_NEXT(multi);
760
+ }
761
+
762
+ PyArray_INCREF(obj);
763
+ Py_DECREF(multi);
764
+ for (i = 0; i < n; i++) {
765
+ Py_XDECREF(mps[i]);
766
+ }
767
+ Py_DECREF(ap);
768
+ PyDataMem_FREE(mps);
769
+ if (out != NULL && out != obj) {
770
+ Py_INCREF(out);
771
+ Py_DECREF(obj);
772
+ obj = out;
773
+ }
774
+ return (PyObject *)obj;
775
+
776
+ fail:
777
+ Py_XDECREF(multi);
778
+ for (i = 0; i < n; i++) {
779
+ Py_XDECREF(mps[i]);
780
+ }
781
+ Py_XDECREF(ap);
782
+ PyDataMem_FREE(mps);
783
+ PyArray_XDECREF_ERR(obj);
784
+ return NULL;
785
+ }
786
+
787
+ /*
788
+ * These algorithms use special sorting. They are not called unless the
789
+ * underlying sort function for the type is available. Note that axis is
790
+ * already valid. The sort functions require 1-d contiguous and well-behaved
791
+ * data. Therefore, a copy will be made of the data if needed before handing
792
+ * it to the sorting routine. An iterator is constructed and adjusted to walk
793
+ * over all but the desired sorting axis.
794
+ */
795
+ static int
796
+ _new_sortlike(PyArrayObject *op, int axis, PyArray_SortFunc *sort,
797
+ PyArray_PartitionFunc *part, npy_intp *kth, npy_intp nkth)
798
+ {
799
+ npy_intp N = PyArray_DIM(op, axis);
800
+ npy_intp elsize = (npy_intp)PyArray_ITEMSIZE(op);
801
+ npy_intp astride = PyArray_STRIDE(op, axis);
802
+ int swap = PyArray_ISBYTESWAPPED(op);
803
+ int needcopy = !PyArray_ISALIGNED(op) || swap || astride != elsize;
804
+ int hasrefs = PyDataType_REFCHK(PyArray_DESCR(op));
805
+
806
+ PyArray_CopySwapNFunc *copyswapn = PyArray_DESCR(op)->f->copyswapn;
807
+ char *buffer = NULL;
808
+
809
+ PyArrayIterObject *it;
810
+ npy_intp size;
811
+
812
+ int ret = -1;
813
+
814
+ NPY_BEGIN_THREADS_DEF;
815
+
816
+ /* Check if there is any sorting to do */
817
+ if (N <= 1 || PyArray_SIZE(op) == 0) {
818
+ return 0;
819
+ }
820
+
821
+ it = (PyArrayIterObject *)PyArray_IterAllButAxis((PyObject *)op, &axis);
822
+ if (it == NULL) {
823
+ return -1;
824
+ }
825
+ size = it->size;
826
+
827
+ NPY_BEGIN_THREADS_DESCR(PyArray_DESCR(op));
828
+
829
+ if (needcopy) {
830
+ buffer = PyDataMem_NEW(N * elsize);
831
+ if (buffer == NULL) {
832
+ goto fail;
833
+ }
834
+ }
835
+
836
+ while (size--) {
837
+ char *bufptr = it->dataptr;
838
+
839
+ if (needcopy) {
840
+ if (hasrefs) {
841
+ /*
842
+ * For dtype's with objects, copyswapn Py_XINCREF's src
843
+ * and Py_XDECREF's dst. This would crash if called on
844
+ * an unitialized buffer, or leak a reference to each
845
+ * object if initialized.
846
+ *
847
+ * So, first do the copy with no refcounting...
848
+ */
849
+ _unaligned_strided_byte_copy(buffer, elsize,
850
+ it->dataptr, astride, N, elsize);
851
+ /* ...then swap in-place if needed */
852
+ if (swap) {
853
+ copyswapn(buffer, elsize, NULL, 0, N, swap, op);
854
+ }
855
+ }
856
+ else {
857
+ copyswapn(buffer, elsize, it->dataptr, astride, N, swap, op);
858
+ }
859
+ bufptr = buffer;
860
+ }
861
+ /*
862
+ * TODO: If the input array is byte-swapped but contiguous and
863
+ * aligned, it could be swapped (and later unswapped) in-place
864
+ * rather than after copying to the buffer. Care would have to
865
+ * be taken to ensure that, if there is an error in the call to
866
+ * sort or part, the unswapping is still done before returning.
867
+ */
868
+
869
+ if (part == NULL) {
870
+ ret = sort(bufptr, N, op);
871
+ #if defined(NPY_PY3K)
872
+ /* Object comparisons may raise an exception in Python 3 */
873
+ if (hasrefs && PyErr_Occurred()) {
874
+ ret = -1;
875
+ }
876
+ #endif
877
+ if (ret < 0) {
878
+ goto fail;
879
+ }
880
+ }
881
+ else {
882
+ npy_intp pivots[NPY_MAX_PIVOT_STACK];
883
+ npy_intp npiv = 0;
884
+ npy_intp i;
885
+ for (i = 0; i < nkth; ++i) {
886
+ ret = part(bufptr, N, kth[i], pivots, &npiv, op);
887
+ #if defined(NPY_PY3K)
888
+ /* Object comparisons may raise an exception in Python 3 */
889
+ if (hasrefs && PyErr_Occurred()) {
890
+ ret = -1;
891
+ }
892
+ #endif
893
+ if (ret < 0) {
894
+ goto fail;
895
+ }
896
+ }
897
+ }
898
+
899
+ if (needcopy) {
900
+ if (hasrefs) {
901
+ if (swap) {
902
+ copyswapn(buffer, elsize, NULL, 0, N, swap, op);
903
+ }
904
+ _unaligned_strided_byte_copy(it->dataptr, astride,
905
+ buffer, elsize, N, elsize);
906
+ }
907
+ else {
908
+ copyswapn(it->dataptr, astride, buffer, elsize, N, swap, op);
909
+ }
910
+ }
911
+
912
+ PyArray_ITER_NEXT(it);
913
+ }
914
+
915
+ fail:
916
+ PyDataMem_FREE(buffer);
917
+ NPY_END_THREADS_DESCR(PyArray_DESCR(op));
918
+ if (ret < 0 && !PyErr_Occurred()) {
919
+ /* Out of memory during sorting or buffer creation */
920
+ PyErr_NoMemory();
921
+ }
922
+ Py_DECREF(it);
923
+
924
+ return ret;
925
+ }
926
+
927
+ static PyObject*
928
+ _new_argsortlike(PyArrayObject *op, int axis, PyArray_ArgSortFunc *argsort,
929
+ PyArray_ArgPartitionFunc *argpart,
930
+ npy_intp *kth, npy_intp nkth)
931
+ {
932
+ npy_intp N = PyArray_DIM(op, axis);
933
+ npy_intp elsize = (npy_intp)PyArray_ITEMSIZE(op);
934
+ npy_intp astride = PyArray_STRIDE(op, axis);
935
+ int swap = PyArray_ISBYTESWAPPED(op);
936
+ int needcopy = !PyArray_ISALIGNED(op) || swap || astride != elsize;
937
+ int hasrefs = PyDataType_REFCHK(PyArray_DESCR(op));
938
+ int needidxbuffer;
939
+
940
+ PyArray_CopySwapNFunc *copyswapn = PyArray_DESCR(op)->f->copyswapn;
941
+ char *valbuffer = NULL;
942
+ npy_intp *idxbuffer = NULL;
943
+
944
+ PyArrayObject *rop;
945
+ npy_intp rstride;
946
+
947
+ PyArrayIterObject *it, *rit;
948
+ npy_intp size;
949
+
950
+ int ret = -1;
951
+
952
+ NPY_BEGIN_THREADS_DEF;
953
+
954
+ rop = (PyArrayObject *)PyArray_New(Py_TYPE(op), PyArray_NDIM(op),
955
+ PyArray_DIMS(op), NPY_INTP,
956
+ NULL, NULL, 0, 0, (PyObject *)op);
957
+ if (rop == NULL) {
958
+ return NULL;
959
+ }
960
+ rstride = PyArray_STRIDE(rop, axis);
961
+ needidxbuffer = rstride != sizeof(npy_intp);
962
+
963
+ /* Check if there is any argsorting to do */
964
+ if (N <= 1 || PyArray_SIZE(op) == 0) {
965
+ memset(PyArray_DATA(rop), 0, PyArray_NBYTES(rop));
966
+ return (PyObject *)rop;
967
+ }
968
+
969
+ it = (PyArrayIterObject *)PyArray_IterAllButAxis((PyObject *)op, &axis);
970
+ rit = (PyArrayIterObject *)PyArray_IterAllButAxis((PyObject *)rop, &axis);
971
+ if (it == NULL || rit == NULL) {
972
+ goto fail;
973
+ }
974
+ size = it->size;
975
+
976
+ NPY_BEGIN_THREADS_DESCR(PyArray_DESCR(op));
977
+
978
+ if (needcopy) {
979
+ valbuffer = PyDataMem_NEW(N * elsize);
980
+ if (valbuffer == NULL) {
981
+ goto fail;
982
+ }
983
+ }
984
+
985
+ if (needidxbuffer) {
986
+ idxbuffer = (npy_intp *)PyDataMem_NEW(N * sizeof(npy_intp));
987
+ if (idxbuffer == NULL) {
988
+ goto fail;
989
+ }
990
+ }
991
+
992
+ while (size--) {
993
+ char *valptr = it->dataptr;
994
+ npy_intp *idxptr = (npy_intp *)rit->dataptr;
995
+ npy_intp *iptr, i;
996
+
997
+ if (needcopy) {
998
+ if (hasrefs) {
999
+ /*
1000
+ * For dtype's with objects, copyswapn Py_XINCREF's src
1001
+ * and Py_XDECREF's dst. This would crash if called on
1002
+ * an unitialized valbuffer, or leak a reference to
1003
+ * each object item if initialized.
1004
+ *
1005
+ * So, first do the copy with no refcounting...
1006
+ */
1007
+ _unaligned_strided_byte_copy(valbuffer, elsize,
1008
+ it->dataptr, astride, N, elsize);
1009
+ /* ...then swap in-place if needed */
1010
+ if (swap) {
1011
+ copyswapn(valbuffer, elsize, NULL, 0, N, swap, op);
1012
+ }
1013
+ }
1014
+ else {
1015
+ copyswapn(valbuffer, elsize,
1016
+ it->dataptr, astride, N, swap, op);
1017
+ }
1018
+ valptr = valbuffer;
1019
+ }
1020
+
1021
+ if (needidxbuffer) {
1022
+ idxptr = idxbuffer;
1023
+ }
1024
+
1025
+ iptr = idxptr;
1026
+ for (i = 0; i < N; ++i) {
1027
+ *iptr++ = i;
1028
+ }
1029
+
1030
+ if (argpart == NULL) {
1031
+ ret = argsort(valptr, idxptr, N, op);
1032
+ #if defined(NPY_PY3K)
1033
+ /* Object comparisons may raise an exception in Python 3 */
1034
+ if (hasrefs && PyErr_Occurred()) {
1035
+ ret = -1;
1036
+ }
1037
+ #endif
1038
+ if (ret < 0) {
1039
+ goto fail;
1040
+ }
1041
+ }
1042
+ else {
1043
+ npy_intp pivots[NPY_MAX_PIVOT_STACK];
1044
+ npy_intp npiv = 0;
1045
+
1046
+ for (i = 0; i < nkth; ++i) {
1047
+ ret = argpart(valptr, idxptr, N, kth[i], pivots, &npiv, op);
1048
+ #if defined(NPY_PY3K)
1049
+ /* Object comparisons may raise an exception in Python 3 */
1050
+ if (hasrefs && PyErr_Occurred()) {
1051
+ ret = -1;
1052
+ }
1053
+ #endif
1054
+ if (ret < 0) {
1055
+ goto fail;
1056
+ }
1057
+ }
1058
+ }
1059
+
1060
+ if (needidxbuffer) {
1061
+ char *rptr = rit->dataptr;
1062
+ iptr = idxbuffer;
1063
+
1064
+ for (i = 0; i < N; ++i) {
1065
+ *(npy_intp *)rptr = *iptr++;
1066
+ rptr += rstride;
1067
+ }
1068
+ }
1069
+
1070
+ PyArray_ITER_NEXT(it);
1071
+ PyArray_ITER_NEXT(rit);
1072
+ }
1073
+
1074
+ fail:
1075
+ PyDataMem_FREE(valbuffer);
1076
+ PyDataMem_FREE(idxbuffer);
1077
+ NPY_END_THREADS_DESCR(PyArray_DESCR(op));
1078
+ if (ret < 0) {
1079
+ if (!PyErr_Occurred()) {
1080
+ /* Out of memory during sorting or buffer creation */
1081
+ PyErr_NoMemory();
1082
+ }
1083
+ Py_XDECREF(rop);
1084
+ rop = NULL;
1085
+ }
1086
+ Py_XDECREF(it);
1087
+ Py_XDECREF(rit);
1088
+
1089
+ return (PyObject *)rop;
1090
+ }
1091
+
1092
+
1093
+ /*NUMPY_API
1094
+ * Sort an array in-place
1095
+ */
1096
+ NPY_NO_EXPORT int
1097
+ PyArray_Sort(PyArrayObject *op, int axis, NPY_SORTKIND which)
1098
+ {
1099
+ PyArray_SortFunc *sort;
1100
+ int axis_orig = axis;
1101
+ int n = PyArray_NDIM(op);
1102
+
1103
+ if (axis < 0) {
1104
+ axis += n;
1105
+ }
1106
+ if (axis < 0 || axis >= n) {
1107
+ PyErr_Format(PyExc_ValueError, "axis(=%d) out of bounds", axis_orig);
1108
+ return -1;
1109
+ }
1110
+ if (PyArray_FailUnlessWriteable(op, "sort array") < 0) {
1111
+ return -1;
1112
+ }
1113
+
1114
+ if (which < 0 || which >= NPY_NSORTS) {
1115
+ PyErr_SetString(PyExc_ValueError, "not a valid sort kind");
1116
+ return -1;
1117
+ }
1118
+
1119
+ sort = PyArray_DESCR(op)->f->sort[which];
1120
+ if (sort == NULL) {
1121
+ if (PyArray_DESCR(op)->f->compare) {
1122
+ switch (which) {
1123
+ default:
1124
+ case NPY_QUICKSORT:
1125
+ sort = npy_quicksort;
1126
+ break;
1127
+ case NPY_HEAPSORT:
1128
+ sort = npy_heapsort;
1129
+ break;
1130
+ case NPY_MERGESORT:
1131
+ sort = npy_mergesort;
1132
+ break;
1133
+ }
1134
+ }
1135
+ else {
1136
+ PyErr_SetString(PyExc_TypeError,
1137
+ "type does not have compare function");
1138
+ return -1;
1139
+ }
1140
+ }
1141
+
1142
+ return _new_sortlike(op, axis, sort, NULL, NULL, 0);
1143
+ }
1144
+
1145
+
1146
+ /*
1147
+ * make kth array positive, ravel and sort it
1148
+ */
1149
+ static PyArrayObject *
1150
+ partition_prep_kth_array(PyArrayObject * ktharray,
1151
+ PyArrayObject * op,
1152
+ int axis)
1153
+ {
1154
+ const npy_intp * shape = PyArray_SHAPE(op);
1155
+ PyArrayObject * kthrvl;
1156
+ npy_intp * kth;
1157
+ npy_intp nkth, i;
1158
+
1159
+ if (!PyArray_CanCastSafely(PyArray_TYPE(ktharray), NPY_INTP)) {
1160
+ /* 2013-05-18, 1.8 */
1161
+ if (DEPRECATE("Calling partition with a non integer index"
1162
+ " will result in an error in the future") < 0) {
1163
+ return NULL;
1164
+ }
1165
+ }
1166
+
1167
+ if (PyArray_NDIM(ktharray) > 1) {
1168
+ PyErr_Format(PyExc_ValueError, "kth array must have dimension <= 1");
1169
+ return NULL;
1170
+ }
1171
+ kthrvl = (PyArrayObject *)PyArray_Cast(ktharray, NPY_INTP);
1172
+
1173
+ if (kthrvl == NULL)
1174
+ return NULL;
1175
+
1176
+ kth = PyArray_DATA(kthrvl);
1177
+ nkth = PyArray_SIZE(kthrvl);
1178
+
1179
+ for (i = 0; i < nkth; i++) {
1180
+ if (kth[i] < 0) {
1181
+ kth[i] += shape[axis];
1182
+ }
1183
+ if (PyArray_SIZE(op) != 0 &&
1184
+ (kth[i] < 0 || kth[i] >= shape[axis])) {
1185
+ PyErr_Format(PyExc_ValueError, "kth(=%zd) out of bounds (%zd)",
1186
+ kth[i], shape[axis]);
1187
+ Py_XDECREF(kthrvl);
1188
+ return NULL;
1189
+ }
1190
+ }
1191
+
1192
+ /*
1193
+ * sort the array of kths so the partitions will
1194
+ * not trample on each other
1195
+ */
1196
+ if (PyArray_SIZE(kthrvl) > 1) {
1197
+ PyArray_Sort(kthrvl, -1, NPY_QUICKSORT);
1198
+ }
1199
+
1200
+ return kthrvl;
1201
+ }
1202
+
1203
+
1204
+ /*NUMPY_API
1205
+ * Partition an array in-place
1206
+ */
1207
+ NPY_NO_EXPORT int
1208
+ PyArray_Partition(PyArrayObject *op, PyArrayObject * ktharray, int axis,
1209
+ NPY_SELECTKIND which)
1210
+ {
1211
+ PyArrayObject *kthrvl;
1212
+ PyArray_PartitionFunc *part;
1213
+ PyArray_SortFunc *sort;
1214
+ int axis_orig = axis;
1215
+ int n = PyArray_NDIM(op);
1216
+ int ret;
1217
+
1218
+ if (axis < 0) {
1219
+ axis += n;
1220
+ }
1221
+ if (axis < 0 || axis >= n) {
1222
+ PyErr_Format(PyExc_ValueError, "axis(=%d) out of bounds", axis_orig);
1223
+ return -1;
1224
+ }
1225
+ if (PyArray_FailUnlessWriteable(op, "partition array") < 0) {
1226
+ return -1;
1227
+ }
1228
+
1229
+ if (which < 0 || which >= NPY_NSELECTS) {
1230
+ PyErr_SetString(PyExc_ValueError, "not a valid partition kind");
1231
+ return -1;
1232
+ }
1233
+ part = get_partition_func(PyArray_TYPE(op), which);
1234
+ if (part == NULL) {
1235
+ /* Use sorting, slower but equivalent */
1236
+ if (PyArray_DESCR(op)->f->compare) {
1237
+ sort = npy_quicksort;
1238
+ }
1239
+ else {
1240
+ PyErr_SetString(PyExc_TypeError,
1241
+ "type does not have compare function");
1242
+ return -1;
1243
+ }
1244
+ }
1245
+
1246
+ /* Process ktharray even if using sorting to do bounds checking */
1247
+ kthrvl = partition_prep_kth_array(ktharray, op, axis);
1248
+ if (kthrvl == NULL) {
1249
+ return -1;
1250
+ }
1251
+
1252
+ ret = _new_sortlike(op, axis, sort, part,
1253
+ PyArray_DATA(kthrvl), PyArray_SIZE(kthrvl));
1254
+
1255
+ Py_DECREF(kthrvl);
1256
+
1257
+ return ret;
1258
+ }
1259
+
1260
+
1261
+ /*NUMPY_API
1262
+ * ArgSort an array
1263
+ */
1264
+ NPY_NO_EXPORT PyObject *
1265
+ PyArray_ArgSort(PyArrayObject *op, int axis, NPY_SORTKIND which)
1266
+ {
1267
+ PyArrayObject *op2;
1268
+ PyArray_ArgSortFunc *argsort;
1269
+ PyObject *ret;
1270
+
1271
+ if (which < 0 || which >= NPY_NSORTS) {
1272
+ PyErr_SetString(PyExc_ValueError,
1273
+ "not a valid sort kind");
1274
+ return NULL;
1275
+ }
1276
+
1277
+ argsort = PyArray_DESCR(op)->f->argsort[which];
1278
+ if (argsort == NULL) {
1279
+ if (PyArray_DESCR(op)->f->compare) {
1280
+ switch (which) {
1281
+ default:
1282
+ case NPY_QUICKSORT:
1283
+ argsort = npy_aquicksort;
1284
+ break;
1285
+ case NPY_HEAPSORT:
1286
+ argsort = npy_aheapsort;
1287
+ break;
1288
+ case NPY_MERGESORT:
1289
+ argsort = npy_amergesort;
1290
+ break;
1291
+ }
1292
+ }
1293
+ else {
1294
+ PyErr_SetString(PyExc_TypeError,
1295
+ "type does not have compare function");
1296
+ return NULL;
1297
+ }
1298
+ }
1299
+
1300
+ op2 = (PyArrayObject *)PyArray_CheckAxis(op, &axis, 0);
1301
+ if (op2 == NULL) {
1302
+ return NULL;
1303
+ }
1304
+
1305
+ ret = _new_argsortlike(op2, axis, argsort, NULL, NULL, 0);
1306
+
1307
+ Py_DECREF(op2);
1308
+ return ret;
1309
+ }
1310
+
1311
+
1312
+ /*NUMPY_API
1313
+ * ArgPartition an array
1314
+ */
1315
+ NPY_NO_EXPORT PyObject *
1316
+ PyArray_ArgPartition(PyArrayObject *op, PyArrayObject *ktharray, int axis,
1317
+ NPY_SELECTKIND which)
1318
+ {
1319
+ PyArrayObject *op2, *kthrvl;
1320
+ PyArray_ArgPartitionFunc *argpart;
1321
+ PyArray_ArgSortFunc *argsort;
1322
+ PyObject *ret;
1323
+
1324
+ if (which < 0 || which >= NPY_NSELECTS) {
1325
+ PyErr_SetString(PyExc_ValueError,
1326
+ "not a valid partition kind");
1327
+ return NULL;
1328
+ }
1329
+
1330
+ argpart = get_argpartition_func(PyArray_TYPE(op), which);
1331
+ if (argpart == NULL) {
1332
+ /* Use sorting, slower but equivalent */
1333
+ if (PyArray_DESCR(op)->f->compare) {
1334
+ argsort = npy_aquicksort;
1335
+ }
1336
+ else {
1337
+ PyErr_SetString(PyExc_TypeError,
1338
+ "type does not have compare function");
1339
+ return NULL;
1340
+ }
1341
+ }
1342
+
1343
+ op2 = (PyArrayObject *)PyArray_CheckAxis(op, &axis, 0);
1344
+ if (op2 == NULL) {
1345
+ return NULL;
1346
+ }
1347
+
1348
+ /* Process ktharray even if using sorting to do bounds checking */
1349
+ kthrvl = partition_prep_kth_array(ktharray, op2, axis);
1350
+ if (kthrvl == NULL) {
1351
+ Py_DECREF(op2);
1352
+ return NULL;
1353
+ }
1354
+
1355
+ ret = _new_argsortlike(op2, axis, argsort, argpart,
1356
+ PyArray_DATA(kthrvl), PyArray_SIZE(kthrvl));
1357
+
1358
+ Py_DECREF(kthrvl);
1359
+ Py_DECREF(op2);
1360
+
1361
+ return ret;
1362
+ }
1363
+
1364
+
1365
+ /*NUMPY_API
1366
+ *LexSort an array providing indices that will sort a collection of arrays
1367
+ *lexicographically. The first key is sorted on first, followed by the second key
1368
+ *-- requires that arg"merge"sort is available for each sort_key
1369
+ *
1370
+ *Returns an index array that shows the indexes for the lexicographic sort along
1371
+ *the given axis.
1372
+ */
1373
+ NPY_NO_EXPORT PyObject *
1374
+ PyArray_LexSort(PyObject *sort_keys, int axis)
1375
+ {
1376
+ PyArrayObject **mps;
1377
+ PyArrayIterObject **its;
1378
+ PyArrayObject *ret = NULL;
1379
+ PyArrayIterObject *rit = NULL;
1380
+ npy_intp n, N, size, i, j;
1381
+ npy_intp astride, rstride, *iptr;
1382
+ int nd;
1383
+ int needcopy = 0;
1384
+ int elsize;
1385
+ int maxelsize;
1386
+ int object = 0;
1387
+ PyArray_ArgSortFunc *argsort;
1388
+ NPY_BEGIN_THREADS_DEF;
1389
+
1390
+ if (!PySequence_Check(sort_keys)
1391
+ || ((n = PySequence_Size(sort_keys)) <= 0)) {
1392
+ PyErr_SetString(PyExc_TypeError,
1393
+ "need sequence of keys with len > 0 in lexsort");
1394
+ return NULL;
1395
+ }
1396
+ mps = (PyArrayObject **) PyArray_malloc(n * sizeof(PyArrayObject *));
1397
+ if (mps == NULL) {
1398
+ return PyErr_NoMemory();
1399
+ }
1400
+ its = (PyArrayIterObject **) PyArray_malloc(n * sizeof(PyArrayIterObject *));
1401
+ if (its == NULL) {
1402
+ PyArray_free(mps);
1403
+ return PyErr_NoMemory();
1404
+ }
1405
+ for (i = 0; i < n; i++) {
1406
+ mps[i] = NULL;
1407
+ its[i] = NULL;
1408
+ }
1409
+ for (i = 0; i < n; i++) {
1410
+ PyObject *obj;
1411
+ obj = PySequence_GetItem(sort_keys, i);
1412
+ if (obj == NULL) {
1413
+ goto fail;
1414
+ }
1415
+ mps[i] = (PyArrayObject *)PyArray_FROM_O(obj);
1416
+ Py_DECREF(obj);
1417
+ if (mps[i] == NULL) {
1418
+ goto fail;
1419
+ }
1420
+ if (i > 0) {
1421
+ if ((PyArray_NDIM(mps[i]) != PyArray_NDIM(mps[0]))
1422
+ || (!PyArray_CompareLists(PyArray_DIMS(mps[i]),
1423
+ PyArray_DIMS(mps[0]),
1424
+ PyArray_NDIM(mps[0])))) {
1425
+ PyErr_SetString(PyExc_ValueError,
1426
+ "all keys need to be the same shape");
1427
+ goto fail;
1428
+ }
1429
+ }
1430
+ if (!PyArray_DESCR(mps[i])->f->argsort[NPY_MERGESORT]) {
1431
+ PyErr_Format(PyExc_TypeError,
1432
+ "merge sort not available for item %zd", i);
1433
+ goto fail;
1434
+ }
1435
+ if (!object
1436
+ && PyDataType_FLAGCHK(PyArray_DESCR(mps[i]), NPY_NEEDS_PYAPI)) {
1437
+ object = 1;
1438
+ }
1439
+ its[i] = (PyArrayIterObject *)PyArray_IterAllButAxis(
1440
+ (PyObject *)mps[i], &axis);
1441
+ if (its[i] == NULL) {
1442
+ goto fail;
1443
+ }
1444
+ }
1445
+
1446
+ /* Now we can check the axis */
1447
+ nd = PyArray_NDIM(mps[0]);
1448
+ if ((nd == 0) || (PyArray_SIZE(mps[0]) == 1)) {
1449
+ /* single element case */
1450
+ ret = (PyArrayObject *)PyArray_New(&PyArray_Type, PyArray_NDIM(mps[0]),
1451
+ PyArray_DIMS(mps[0]),
1452
+ NPY_INTP,
1453
+ NULL, NULL, 0, 0, NULL);
1454
+
1455
+ if (ret == NULL) {
1456
+ goto fail;
1457
+ }
1458
+ *((npy_intp *)(PyArray_DATA(ret))) = 0;
1459
+ goto finish;
1460
+ }
1461
+ if (axis < 0) {
1462
+ axis += nd;
1463
+ }
1464
+ if ((axis < 0) || (axis >= nd)) {
1465
+ PyErr_Format(PyExc_ValueError,
1466
+ "axis(=%d) out of bounds", axis);
1467
+ goto fail;
1468
+ }
1469
+
1470
+ /* Now do the sorting */
1471
+ ret = (PyArrayObject *)PyArray_New(&PyArray_Type, PyArray_NDIM(mps[0]),
1472
+ PyArray_DIMS(mps[0]), NPY_INTP,
1473
+ NULL, NULL, 0, 0, NULL);
1474
+ if (ret == NULL) {
1475
+ goto fail;
1476
+ }
1477
+ rit = (PyArrayIterObject *)
1478
+ PyArray_IterAllButAxis((PyObject *)ret, &axis);
1479
+ if (rit == NULL) {
1480
+ goto fail;
1481
+ }
1482
+ if (!object) {
1483
+ NPY_BEGIN_THREADS;
1484
+ }
1485
+ size = rit->size;
1486
+ N = PyArray_DIMS(mps[0])[axis];
1487
+ rstride = PyArray_STRIDE(ret, axis);
1488
+ maxelsize = PyArray_DESCR(mps[0])->elsize;
1489
+ needcopy = (rstride != sizeof(npy_intp));
1490
+ for (j = 0; j < n; j++) {
1491
+ needcopy = needcopy
1492
+ || PyArray_ISBYTESWAPPED(mps[j])
1493
+ || !(PyArray_FLAGS(mps[j]) & NPY_ARRAY_ALIGNED)
1494
+ || (PyArray_STRIDES(mps[j])[axis] != (npy_intp)PyArray_DESCR(mps[j])->elsize);
1495
+ if (PyArray_DESCR(mps[j])->elsize > maxelsize) {
1496
+ maxelsize = PyArray_DESCR(mps[j])->elsize;
1497
+ }
1498
+ }
1499
+
1500
+ if (needcopy) {
1501
+ char *valbuffer, *indbuffer;
1502
+ int *swaps;
1503
+
1504
+ valbuffer = PyDataMem_NEW(N*maxelsize);
1505
+ if (valbuffer == NULL) {
1506
+ goto fail;
1507
+ }
1508
+ indbuffer = PyDataMem_NEW(N*sizeof(npy_intp));
1509
+ if (indbuffer == NULL) {
1510
+ PyDataMem_FREE(indbuffer);
1511
+ goto fail;
1512
+ }
1513
+ swaps = malloc(n*sizeof(int));
1514
+ for (j = 0; j < n; j++) {
1515
+ swaps[j] = PyArray_ISBYTESWAPPED(mps[j]);
1516
+ }
1517
+ while (size--) {
1518
+ iptr = (npy_intp *)indbuffer;
1519
+ for (i = 0; i < N; i++) {
1520
+ *iptr++ = i;
1521
+ }
1522
+ for (j = 0; j < n; j++) {
1523
+ elsize = PyArray_DESCR(mps[j])->elsize;
1524
+ astride = PyArray_STRIDES(mps[j])[axis];
1525
+ argsort = PyArray_DESCR(mps[j])->f->argsort[NPY_MERGESORT];
1526
+ _unaligned_strided_byte_copy(valbuffer, (npy_intp) elsize,
1527
+ its[j]->dataptr, astride, N, elsize);
1528
+ if (swaps[j]) {
1529
+ _strided_byte_swap(valbuffer, (npy_intp) elsize, N, elsize);
1530
+ }
1531
+ if (argsort(valbuffer, (npy_intp *)indbuffer, N, mps[j]) < 0) {
1532
+ PyDataMem_FREE(valbuffer);
1533
+ PyDataMem_FREE(indbuffer);
1534
+ free(swaps);
1535
+ goto fail;
1536
+ }
1537
+ PyArray_ITER_NEXT(its[j]);
1538
+ }
1539
+ _unaligned_strided_byte_copy(rit->dataptr, rstride, indbuffer,
1540
+ sizeof(npy_intp), N, sizeof(npy_intp));
1541
+ PyArray_ITER_NEXT(rit);
1542
+ }
1543
+ PyDataMem_FREE(valbuffer);
1544
+ PyDataMem_FREE(indbuffer);
1545
+ free(swaps);
1546
+ }
1547
+ else {
1548
+ while (size--) {
1549
+ iptr = (npy_intp *)rit->dataptr;
1550
+ for (i = 0; i < N; i++) {
1551
+ *iptr++ = i;
1552
+ }
1553
+ for (j = 0; j < n; j++) {
1554
+ argsort = PyArray_DESCR(mps[j])->f->argsort[NPY_MERGESORT];
1555
+ if (argsort(its[j]->dataptr, (npy_intp *)rit->dataptr,
1556
+ N, mps[j]) < 0) {
1557
+ goto fail;
1558
+ }
1559
+ PyArray_ITER_NEXT(its[j]);
1560
+ }
1561
+ PyArray_ITER_NEXT(rit);
1562
+ }
1563
+ }
1564
+
1565
+ if (!object) {
1566
+ NPY_END_THREADS;
1567
+ }
1568
+
1569
+ finish:
1570
+ for (i = 0; i < n; i++) {
1571
+ Py_XDECREF(mps[i]);
1572
+ Py_XDECREF(its[i]);
1573
+ }
1574
+ Py_XDECREF(rit);
1575
+ PyArray_free(mps);
1576
+ PyArray_free(its);
1577
+ return (PyObject *)ret;
1578
+
1579
+ fail:
1580
+ NPY_END_THREADS;
1581
+ if (!PyErr_Occurred()) {
1582
+ /* Out of memory during sorting or buffer creation */
1583
+ PyErr_NoMemory();
1584
+ }
1585
+ Py_XDECREF(rit);
1586
+ Py_XDECREF(ret);
1587
+ for (i = 0; i < n; i++) {
1588
+ Py_XDECREF(mps[i]);
1589
+ Py_XDECREF(its[i]);
1590
+ }
1591
+ PyArray_free(mps);
1592
+ PyArray_free(its);
1593
+ return NULL;
1594
+ }
1595
+
1596
+
1597
+ /*NUMPY_API
1598
+ *
1599
+ * Search the sorted array op1 for the location of the items in op2. The
1600
+ * result is an array of indexes, one for each element in op2, such that if
1601
+ * the item were to be inserted in op1 just before that index the array
1602
+ * would still be in sorted order.
1603
+ *
1604
+ * Parameters
1605
+ * ----------
1606
+ * op1 : PyArrayObject *
1607
+ * Array to be searched, must be 1-D.
1608
+ * op2 : PyObject *
1609
+ * Array of items whose insertion indexes in op1 are wanted
1610
+ * side : {NPY_SEARCHLEFT, NPY_SEARCHRIGHT}
1611
+ * If NPY_SEARCHLEFT, return first valid insertion indexes
1612
+ * If NPY_SEARCHRIGHT, return last valid insertion indexes
1613
+ * perm : PyObject *
1614
+ * Permutation array that sorts op1 (optional)
1615
+ *
1616
+ * Returns
1617
+ * -------
1618
+ * ret : PyObject *
1619
+ * New reference to npy_intp array containing indexes where items in op2
1620
+ * could be validly inserted into op1. NULL on error.
1621
+ *
1622
+ * Notes
1623
+ * -----
1624
+ * Binary search is used to find the indexes.
1625
+ */
1626
+ NPY_NO_EXPORT PyObject *
1627
+ PyArray_SearchSorted(PyArrayObject *op1, PyObject *op2,
1628
+ NPY_SEARCHSIDE side, PyObject *perm)
1629
+ {
1630
+ PyArrayObject *ap1 = NULL;
1631
+ PyArrayObject *ap2 = NULL;
1632
+ PyArrayObject *ap3 = NULL;
1633
+ PyArrayObject *sorter = NULL;
1634
+ PyArrayObject *ret = NULL;
1635
+ PyArray_Descr *dtype;
1636
+ int ap1_flags = NPY_ARRAY_NOTSWAPPED | NPY_ARRAY_ALIGNED;
1637
+ PyArray_BinSearchFunc *binsearch = NULL;
1638
+ PyArray_ArgBinSearchFunc *argbinsearch = NULL;
1639
+ NPY_BEGIN_THREADS_DEF;
1640
+
1641
+ /* Find common type */
1642
+ dtype = PyArray_DescrFromObject((PyObject *)op2, PyArray_DESCR(op1));
1643
+ if (dtype == NULL) {
1644
+ return NULL;
1645
+ }
1646
+ /* refs to dtype we own = 1 */
1647
+
1648
+ /* Look for binary search function */
1649
+ if (perm) {
1650
+ argbinsearch = get_argbinsearch_func(dtype, side);
1651
+ }
1652
+ else {
1653
+ binsearch = get_binsearch_func(dtype, side);
1654
+ }
1655
+ if (binsearch == NULL && argbinsearch == NULL) {
1656
+ PyErr_SetString(PyExc_TypeError, "compare not supported for type");
1657
+ /* refs to dtype we own = 1 */
1658
+ Py_DECREF(dtype);
1659
+ /* refs to dtype we own = 0 */
1660
+ return NULL;
1661
+ }
1662
+
1663
+ /* need ap2 as contiguous array and of right type */
1664
+ /* refs to dtype we own = 1 */
1665
+ Py_INCREF(dtype);
1666
+ /* refs to dtype we own = 2 */
1667
+ ap2 = (PyArrayObject *)PyArray_CheckFromAny(op2, dtype,
1668
+ 0, 0,
1669
+ NPY_ARRAY_CARRAY_RO | NPY_ARRAY_NOTSWAPPED,
1670
+ NULL);
1671
+ /* refs to dtype we own = 1, array creation steals one even on failure */
1672
+ if (ap2 == NULL) {
1673
+ Py_DECREF(dtype);
1674
+ /* refs to dtype we own = 0 */
1675
+ return NULL;
1676
+ }
1677
+
1678
+ /*
1679
+ * If the needle (ap2) is larger than the haystack (op1) we copy the
1680
+ * haystack to a contiguous array for improved cache utilization.
1681
+ */
1682
+ if (PyArray_SIZE(ap2) > PyArray_SIZE(op1)) {
1683
+ ap1_flags |= NPY_ARRAY_CARRAY_RO;
1684
+ }
1685
+ ap1 = (PyArrayObject *)PyArray_CheckFromAny((PyObject *)op1, dtype,
1686
+ 1, 1, ap1_flags, NULL);
1687
+ /* refs to dtype we own = 0, array creation steals one even on failure */
1688
+ if (ap1 == NULL) {
1689
+ goto fail;
1690
+ }
1691
+
1692
+ if (perm) {
1693
+ /* need ap3 as a 1D aligned, not swapped, array of right type */
1694
+ ap3 = (PyArrayObject *)PyArray_CheckFromAny(perm, NULL,
1695
+ 1, 1,
1696
+ NPY_ARRAY_ALIGNED | NPY_ARRAY_NOTSWAPPED,
1697
+ NULL);
1698
+ if (ap3 == NULL) {
1699
+ PyErr_SetString(PyExc_TypeError,
1700
+ "could not parse sorter argument");
1701
+ goto fail;
1702
+ }
1703
+ if (!PyArray_ISINTEGER(ap3)) {
1704
+ PyErr_SetString(PyExc_TypeError,
1705
+ "sorter must only contain integers");
1706
+ goto fail;
1707
+ }
1708
+ /* convert to known integer size */
1709
+ sorter = (PyArrayObject *)PyArray_FromArray(ap3,
1710
+ PyArray_DescrFromType(NPY_INTP),
1711
+ NPY_ARRAY_ALIGNED | NPY_ARRAY_NOTSWAPPED);
1712
+ if (sorter == NULL) {
1713
+ PyErr_SetString(PyExc_ValueError,
1714
+ "could not parse sorter argument");
1715
+ goto fail;
1716
+ }
1717
+ if (PyArray_SIZE(sorter) != PyArray_SIZE(ap1)) {
1718
+ PyErr_SetString(PyExc_ValueError,
1719
+ "sorter.size must equal a.size");
1720
+ goto fail;
1721
+ }
1722
+ }
1723
+
1724
+ /* ret is a contiguous array of intp type to hold returned indexes */
1725
+ ret = (PyArrayObject *)PyArray_New(&PyArray_Type, PyArray_NDIM(ap2),
1726
+ PyArray_DIMS(ap2), NPY_INTP,
1727
+ NULL, NULL, 0, 0, (PyObject *)ap2);
1728
+ if (ret == NULL) {
1729
+ goto fail;
1730
+ }
1731
+
1732
+ if (ap3 == NULL) {
1733
+ /* do regular binsearch */
1734
+ NPY_BEGIN_THREADS_DESCR(PyArray_DESCR(ap2));
1735
+ binsearch((const char *)PyArray_DATA(ap1),
1736
+ (const char *)PyArray_DATA(ap2),
1737
+ (char *)PyArray_DATA(ret),
1738
+ PyArray_SIZE(ap1), PyArray_SIZE(ap2),
1739
+ PyArray_STRIDES(ap1)[0], PyArray_DESCR(ap2)->elsize,
1740
+ NPY_SIZEOF_INTP, ap2);
1741
+ NPY_END_THREADS_DESCR(PyArray_DESCR(ap2));
1742
+ }
1743
+ else {
1744
+ /* do binsearch with a sorter array */
1745
+ int error = 0;
1746
+ NPY_BEGIN_THREADS_DESCR(PyArray_DESCR(ap2));
1747
+ error = argbinsearch((const char *)PyArray_DATA(ap1),
1748
+ (const char *)PyArray_DATA(ap2),
1749
+ (const char *)PyArray_DATA(sorter),
1750
+ (char *)PyArray_DATA(ret),
1751
+ PyArray_SIZE(ap1), PyArray_SIZE(ap2),
1752
+ PyArray_STRIDES(ap1)[0],
1753
+ PyArray_DESCR(ap2)->elsize,
1754
+ PyArray_STRIDES(sorter)[0], NPY_SIZEOF_INTP, ap2);
1755
+ NPY_END_THREADS_DESCR(PyArray_DESCR(ap2));
1756
+ if (error < 0) {
1757
+ PyErr_SetString(PyExc_ValueError,
1758
+ "Sorter index out of range.");
1759
+ goto fail;
1760
+ }
1761
+ Py_DECREF(ap3);
1762
+ Py_DECREF(sorter);
1763
+ }
1764
+ Py_DECREF(ap1);
1765
+ Py_DECREF(ap2);
1766
+ return (PyObject *)ret;
1767
+
1768
+ fail:
1769
+ Py_XDECREF(ap1);
1770
+ Py_XDECREF(ap2);
1771
+ Py_XDECREF(ap3);
1772
+ Py_XDECREF(sorter);
1773
+ Py_XDECREF(ret);
1774
+ return NULL;
1775
+ }
1776
+
1777
+ /*NUMPY_API
1778
+ * Diagonal
1779
+ *
1780
+ * In NumPy versions prior to 1.7, this function always returned a copy of
1781
+ * the diagonal array. In 1.7, the code has been updated to compute a view
1782
+ * onto 'self', but it still copies this array before returning, as well as
1783
+ * setting the internal WARN_ON_WRITE flag. In a future version, it will
1784
+ * simply return a view onto self.
1785
+ */
1786
+ NPY_NO_EXPORT PyObject *
1787
+ PyArray_Diagonal(PyArrayObject *self, int offset, int axis1, int axis2)
1788
+ {
1789
+ int i, idim, ndim = PyArray_NDIM(self);
1790
+ npy_intp *strides;
1791
+ npy_intp stride1, stride2;
1792
+ npy_intp *shape, dim1, dim2;
1793
+
1794
+ char *data;
1795
+ npy_intp diag_size;
1796
+ PyArray_Descr *dtype;
1797
+ PyObject *ret;
1798
+ npy_intp ret_shape[NPY_MAXDIMS], ret_strides[NPY_MAXDIMS];
1799
+
1800
+ if (ndim < 2) {
1801
+ PyErr_SetString(PyExc_ValueError,
1802
+ "diag requires an array of at least two dimensions");
1803
+ return NULL;
1804
+ }
1805
+
1806
+ /* Handle negative axes with standard Python indexing rules */
1807
+ if (axis1 < 0) {
1808
+ axis1 += ndim;
1809
+ }
1810
+ if (axis2 < 0) {
1811
+ axis2 += ndim;
1812
+ }
1813
+
1814
+ /* Error check the two axes */
1815
+ if (axis1 == axis2) {
1816
+ PyErr_SetString(PyExc_ValueError,
1817
+ "axis1 and axis2 cannot be the same");
1818
+ return NULL;
1819
+ }
1820
+ else if (axis1 < 0 || axis1 >= ndim || axis2 < 0 || axis2 >= ndim) {
1821
+ PyErr_Format(PyExc_ValueError,
1822
+ "axis1(=%d) and axis2(=%d) "
1823
+ "must be within range (ndim=%d)",
1824
+ axis1, axis2, ndim);
1825
+ return NULL;
1826
+ }
1827
+
1828
+ /* Get the shape and strides of the two axes */
1829
+ shape = PyArray_SHAPE(self);
1830
+ dim1 = shape[axis1];
1831
+ dim2 = shape[axis2];
1832
+ strides = PyArray_STRIDES(self);
1833
+ stride1 = strides[axis1];
1834
+ stride2 = strides[axis2];
1835
+
1836
+ /* Compute the data pointers and diag_size for the view */
1837
+ data = PyArray_DATA(self);
1838
+ if (offset > 0) {
1839
+ if (offset >= dim2) {
1840
+ diag_size = 0;
1841
+ }
1842
+ else {
1843
+ data += offset * stride2;
1844
+
1845
+ diag_size = dim2 - offset;
1846
+ if (dim1 < diag_size) {
1847
+ diag_size = dim1;
1848
+ }
1849
+ }
1850
+ }
1851
+ else if (offset < 0) {
1852
+ offset = -offset;
1853
+ if (offset >= dim1) {
1854
+ diag_size = 0;
1855
+ }
1856
+ else {
1857
+ data += offset * stride1;
1858
+
1859
+ diag_size = dim1 - offset;
1860
+ if (dim2 < diag_size) {
1861
+ diag_size = dim2;
1862
+ }
1863
+ }
1864
+ }
1865
+ else {
1866
+ diag_size = dim1 < dim2 ? dim1 : dim2;
1867
+ }
1868
+
1869
+ /* Build the new shape and strides for the main data */
1870
+ i = 0;
1871
+ for (idim = 0; idim < ndim; ++idim) {
1872
+ if (idim != axis1 && idim != axis2) {
1873
+ ret_shape[i] = shape[idim];
1874
+ ret_strides[i] = strides[idim];
1875
+ ++i;
1876
+ }
1877
+ }
1878
+ ret_shape[ndim-2] = diag_size;
1879
+ ret_strides[ndim-2] = stride1 + stride2;
1880
+
1881
+ /* Create the diagonal view */
1882
+ dtype = PyArray_DTYPE(self);
1883
+ Py_INCREF(dtype);
1884
+ ret = PyArray_NewFromDescr(Py_TYPE(self),
1885
+ dtype,
1886
+ ndim-1, ret_shape,
1887
+ ret_strides,
1888
+ data,
1889
+ PyArray_FLAGS(self),
1890
+ (PyObject *)self);
1891
+ if (ret == NULL) {
1892
+ return NULL;
1893
+ }
1894
+ Py_INCREF(self);
1895
+ if (PyArray_SetBaseObject((PyArrayObject *)ret, (PyObject *)self) < 0) {
1896
+ Py_DECREF(ret);
1897
+ return NULL;
1898
+ }
1899
+
1900
+ /*
1901
+ * For numpy 1.9 the diagonal view is not writeable.
1902
+ * This line needs to be removed in 1.10.
1903
+ */
1904
+ PyArray_CLEARFLAGS((PyArrayObject *)ret, NPY_ARRAY_WRITEABLE);
1905
+
1906
+ return ret;
1907
+ }
1908
+
1909
+ /*NUMPY_API
1910
+ * Compress
1911
+ */
1912
+ NPY_NO_EXPORT PyObject *
1913
+ PyArray_Compress(PyArrayObject *self, PyObject *condition, int axis,
1914
+ PyArrayObject *out)
1915
+ {
1916
+ PyArrayObject *cond;
1917
+ PyObject *res, *ret;
1918
+
1919
+ if (PyArray_Check(condition)) {
1920
+ cond = (PyArrayObject *)condition;
1921
+ Py_INCREF(cond);
1922
+ }
1923
+ else {
1924
+ PyArray_Descr *dtype = PyArray_DescrFromType(NPY_BOOL);
1925
+ if (dtype == NULL) {
1926
+ return NULL;
1927
+ }
1928
+ cond = (PyArrayObject *)PyArray_FromAny(condition, dtype,
1929
+ 0, 0, 0, NULL);
1930
+ if (cond == NULL) {
1931
+ return NULL;
1932
+ }
1933
+ }
1934
+
1935
+ if (PyArray_NDIM(cond) != 1) {
1936
+ Py_DECREF(cond);
1937
+ PyErr_SetString(PyExc_ValueError,
1938
+ "condition must be a 1-d array");
1939
+ return NULL;
1940
+ }
1941
+
1942
+ res = PyArray_Nonzero(cond);
1943
+ Py_DECREF(cond);
1944
+ if (res == NULL) {
1945
+ return res;
1946
+ }
1947
+ ret = PyArray_TakeFrom(self, PyTuple_GET_ITEM(res, 0), axis,
1948
+ out, NPY_RAISE);
1949
+ Py_DECREF(res);
1950
+ return ret;
1951
+ }
1952
+
1953
+ /*
1954
+ * count number of nonzero bytes in 48 byte block
1955
+ * w must be aligned to 8 bytes
1956
+ *
1957
+ * even though it uses 64 bit types its faster than the bytewise sum on 32 bit
1958
+ * but a 32 bit type version would make it even faster on these platforms
1959
+ */
1960
+ static NPY_INLINE npy_intp
1961
+ count_nonzero_bytes_384(const npy_uint64 * w)
1962
+ {
1963
+ const npy_uint64 w1 = w[0];
1964
+ const npy_uint64 w2 = w[1];
1965
+ const npy_uint64 w3 = w[2];
1966
+ const npy_uint64 w4 = w[3];
1967
+ const npy_uint64 w5 = w[4];
1968
+ const npy_uint64 w6 = w[5];
1969
+ npy_intp r;
1970
+
1971
+ /*
1972
+ * last part of sideways add popcount, first three bisections can be
1973
+ * skipped as we are dealing with bytes.
1974
+ * multiplication equivalent to (x + (x>>8) + (x>>16) + (x>>24)) & 0xFF
1975
+ * multiplication overflow well defined for unsigned types.
1976
+ * w1 + w2 guaranteed to not overflow as we only have 0 and 1 data.
1977
+ */
1978
+ r = ((w1 + w2 + w3 + w4 + w5 + w6) * 0x0101010101010101ULL) >> 56ULL;
1979
+
1980
+ /*
1981
+ * bytes not exclusively 0 or 1, sum them individually.
1982
+ * should only happen if one does weird stuff with views or external
1983
+ * buffers.
1984
+ * Doing this after the optimistic computation allows saving registers and
1985
+ * better pipelining
1986
+ */
1987
+ if (NPY_UNLIKELY(
1988
+ ((w1 | w2 | w3 | w4 | w5 | w6) & 0xFEFEFEFEFEFEFEFEULL) != 0)) {
1989
+ /* reload from pointer to avoid a unnecessary stack spill with gcc */
1990
+ const char * c = (const char *)w;
1991
+ npy_uintp i, count = 0;
1992
+ for (i = 0; i < 48; i++) {
1993
+ count += (c[i] != 0);
1994
+ }
1995
+ return count;
1996
+ }
1997
+
1998
+ return r;
1999
+ }
2000
+
2001
+ /*
2002
+ * Counts the number of True values in a raw boolean array. This
2003
+ * is a low-overhead function which does no heap allocations.
2004
+ *
2005
+ * Returns -1 on error.
2006
+ */
2007
+ NPY_NO_EXPORT npy_intp
2008
+ count_boolean_trues(int ndim, char *data, npy_intp *ashape, npy_intp *astrides)
2009
+ {
2010
+ int idim;
2011
+ npy_intp shape[NPY_MAXDIMS], strides[NPY_MAXDIMS];
2012
+ npy_intp i, coord[NPY_MAXDIMS];
2013
+ npy_intp count = 0;
2014
+ NPY_BEGIN_THREADS_DEF;
2015
+
2016
+ /* Use raw iteration with no heap memory allocation */
2017
+ if (PyArray_PrepareOneRawArrayIter(
2018
+ ndim, ashape,
2019
+ data, astrides,
2020
+ &ndim, shape,
2021
+ &data, strides) < 0) {
2022
+ return -1;
2023
+ }
2024
+
2025
+ /* Handle zero-sized array */
2026
+ if (shape[0] == 0) {
2027
+ return 0;
2028
+ }
2029
+
2030
+ NPY_BEGIN_THREADS_THRESHOLDED(shape[0]);
2031
+
2032
+ /* Special case for contiguous inner loop */
2033
+ if (strides[0] == 1) {
2034
+ NPY_RAW_ITER_START(idim, ndim, coord, shape) {
2035
+ /* Process the innermost dimension */
2036
+ const char *d = data;
2037
+ const char *e = data + shape[0];
2038
+ if (NPY_CPU_HAVE_UNALIGNED_ACCESS ||
2039
+ npy_is_aligned(d, sizeof(npy_uint64))) {
2040
+ npy_uintp stride = 6 * sizeof(npy_uint64);
2041
+ for (; d < e - (shape[0] % stride); d += stride) {
2042
+ count += count_nonzero_bytes_384((const npy_uint64 *)d);
2043
+ }
2044
+ }
2045
+ for (; d < e; ++d) {
2046
+ count += (*d != 0);
2047
+ }
2048
+ } NPY_RAW_ITER_ONE_NEXT(idim, ndim, coord, shape, data, strides);
2049
+ }
2050
+ /* General inner loop */
2051
+ else {
2052
+ NPY_RAW_ITER_START(idim, ndim, coord, shape) {
2053
+ char *d = data;
2054
+ /* Process the innermost dimension */
2055
+ for (i = 0; i < shape[0]; ++i, d += strides[0]) {
2056
+ count += (*d != 0);
2057
+ }
2058
+ } NPY_RAW_ITER_ONE_NEXT(idim, ndim, coord, shape, data, strides);
2059
+ }
2060
+
2061
+ NPY_END_THREADS;
2062
+
2063
+ return count;
2064
+ }
2065
+
2066
+ /*NUMPY_API
2067
+ * Counts the number of non-zero elements in the array.
2068
+ *
2069
+ * Returns -1 on error.
2070
+ */
2071
+ NPY_NO_EXPORT npy_intp
2072
+ PyArray_CountNonzero(PyArrayObject *self)
2073
+ {
2074
+ PyArray_NonzeroFunc *nonzero;
2075
+ char *data;
2076
+ npy_intp stride, count;
2077
+ npy_intp nonzero_count = 0;
2078
+
2079
+ NpyIter *iter;
2080
+ NpyIter_IterNextFunc *iternext;
2081
+ char **dataptr;
2082
+ npy_intp *strideptr, *innersizeptr;
2083
+ NPY_BEGIN_THREADS_DEF;
2084
+
2085
+ /* Special low-overhead version specific to the boolean type */
2086
+ if (PyArray_DESCR(self)->type_num == NPY_BOOL) {
2087
+ return count_boolean_trues(PyArray_NDIM(self), PyArray_DATA(self),
2088
+ PyArray_DIMS(self), PyArray_STRIDES(self));
2089
+ }
2090
+
2091
+ nonzero = PyArray_DESCR(self)->f->nonzero;
2092
+
2093
+ /* If it's a trivial one-dimensional loop, don't use an iterator */
2094
+ if (PyArray_TRIVIALLY_ITERABLE(self)) {
2095
+ PyArray_PREPARE_TRIVIAL_ITERATION(self, count, data, stride);
2096
+
2097
+ while (count--) {
2098
+ if (nonzero(data, self)) {
2099
+ ++nonzero_count;
2100
+ }
2101
+ data += stride;
2102
+ }
2103
+
2104
+ return nonzero_count;
2105
+ }
2106
+
2107
+ /*
2108
+ * If the array has size zero, return zero (the iterator rejects
2109
+ * size zero arrays)
2110
+ */
2111
+ if (PyArray_SIZE(self) == 0) {
2112
+ return 0;
2113
+ }
2114
+
2115
+ /*
2116
+ * Otherwise create and use an iterator to count the nonzeros.
2117
+ */
2118
+ iter = NpyIter_New(self, NPY_ITER_READONLY |
2119
+ NPY_ITER_EXTERNAL_LOOP |
2120
+ NPY_ITER_REFS_OK,
2121
+ NPY_KEEPORDER, NPY_NO_CASTING,
2122
+ NULL);
2123
+ if (iter == NULL) {
2124
+ return -1;
2125
+ }
2126
+
2127
+ /* Get the pointers for inner loop iteration */
2128
+ iternext = NpyIter_GetIterNext(iter, NULL);
2129
+ if (iternext == NULL) {
2130
+ NpyIter_Deallocate(iter);
2131
+ return -1;
2132
+ }
2133
+
2134
+ NPY_BEGIN_THREADS_NDITER(iter);
2135
+
2136
+ dataptr = NpyIter_GetDataPtrArray(iter);
2137
+ strideptr = NpyIter_GetInnerStrideArray(iter);
2138
+ innersizeptr = NpyIter_GetInnerLoopSizePtr(iter);
2139
+
2140
+ /* Iterate over all the elements to count the nonzeros */
2141
+ do {
2142
+ data = *dataptr;
2143
+ stride = *strideptr;
2144
+ count = *innersizeptr;
2145
+
2146
+ while (count--) {
2147
+ if (nonzero(data, self)) {
2148
+ ++nonzero_count;
2149
+ }
2150
+ data += stride;
2151
+ }
2152
+
2153
+ } while(iternext(iter));
2154
+
2155
+ NPY_END_THREADS;
2156
+
2157
+ NpyIter_Deallocate(iter);
2158
+
2159
+ return PyErr_Occurred() ? -1 : nonzero_count;
2160
+ }
2161
+
2162
+ /*NUMPY_API
2163
+ * Nonzero
2164
+ *
2165
+ * TODO: In NumPy 2.0, should make the iteration order a parameter.
2166
+ */
2167
+ NPY_NO_EXPORT PyObject *
2168
+ PyArray_Nonzero(PyArrayObject *self)
2169
+ {
2170
+ int i, ndim = PyArray_NDIM(self);
2171
+ PyArrayObject *ret = NULL;
2172
+ PyObject *ret_tuple;
2173
+ npy_intp ret_dims[2];
2174
+ PyArray_NonzeroFunc *nonzero = PyArray_DESCR(self)->f->nonzero;
2175
+ npy_intp nonzero_count;
2176
+
2177
+ NpyIter *iter;
2178
+ NpyIter_IterNextFunc *iternext;
2179
+ NpyIter_GetMultiIndexFunc *get_multi_index;
2180
+ char **dataptr;
2181
+
2182
+ /*
2183
+ * First count the number of non-zeros in 'self'.
2184
+ */
2185
+ nonzero_count = PyArray_CountNonzero(self);
2186
+ if (nonzero_count < 0) {
2187
+ return NULL;
2188
+ }
2189
+
2190
+ /* Allocate the result as a 2D array */
2191
+ ret_dims[0] = nonzero_count;
2192
+ ret_dims[1] = (ndim == 0) ? 1 : ndim;
2193
+ ret = (PyArrayObject *)PyArray_New(&PyArray_Type, 2, ret_dims,
2194
+ NPY_INTP, NULL, NULL, 0, 0,
2195
+ NULL);
2196
+ if (ret == NULL) {
2197
+ return NULL;
2198
+ }
2199
+
2200
+ /* If it's a one-dimensional result, don't use an iterator */
2201
+ if (ndim <= 1) {
2202
+ npy_intp * multi_index = (npy_intp *)PyArray_DATA(ret);
2203
+ char * data = PyArray_BYTES(self);
2204
+ npy_intp stride = (ndim == 0) ? 0 : PyArray_STRIDE(self, 0);
2205
+ npy_intp count = (ndim == 0) ? 1 : PyArray_DIM(self, 0);
2206
+ NPY_BEGIN_THREADS_DEF;
2207
+
2208
+ /* nothing to do */
2209
+ if (nonzero_count == 0) {
2210
+ goto finish;
2211
+ }
2212
+
2213
+ NPY_BEGIN_THREADS_THRESHOLDED(count);
2214
+
2215
+ /* avoid function call for bool */
2216
+ if (PyArray_ISBOOL(self)) {
2217
+ /*
2218
+ * use fast memchr variant for sparse data, see gh-4370
2219
+ * the fast bool count is followed by this sparse path is faster
2220
+ * than combining the two loops, even for larger arrays
2221
+ */
2222
+ if (((double)nonzero_count / count) <= 0.1) {
2223
+ npy_intp subsize;
2224
+ npy_intp j = 0;
2225
+ while (1) {
2226
+ npy_memchr(data + j * stride, 0, stride, count - j,
2227
+ &subsize, 1);
2228
+ j += subsize;
2229
+ if (j >= count) {
2230
+ break;
2231
+ }
2232
+ *multi_index++ = j++;
2233
+ }
2234
+ }
2235
+ else {
2236
+ npy_intp j;
2237
+ for (j = 0; j < count; ++j) {
2238
+ if (*data != 0) {
2239
+ *multi_index++ = j;
2240
+ }
2241
+ data += stride;
2242
+ }
2243
+ }
2244
+ }
2245
+ else {
2246
+ npy_intp j;
2247
+ for (j = 0; j < count; ++j) {
2248
+ if (nonzero(data, self)) {
2249
+ *multi_index++ = j;
2250
+ }
2251
+ data += stride;
2252
+ }
2253
+ }
2254
+
2255
+ NPY_END_THREADS;
2256
+
2257
+ goto finish;
2258
+ }
2259
+
2260
+ /*
2261
+ * Build an iterator tracking a multi-index, in C order.
2262
+ */
2263
+ iter = NpyIter_New(self, NPY_ITER_READONLY |
2264
+ NPY_ITER_MULTI_INDEX |
2265
+ NPY_ITER_ZEROSIZE_OK |
2266
+ NPY_ITER_REFS_OK,
2267
+ NPY_CORDER, NPY_NO_CASTING,
2268
+ NULL);
2269
+
2270
+ if (iter == NULL) {
2271
+ Py_DECREF(ret);
2272
+ return NULL;
2273
+ }
2274
+
2275
+ if (NpyIter_GetIterSize(iter) != 0) {
2276
+ npy_intp * multi_index;
2277
+ NPY_BEGIN_THREADS_DEF;
2278
+ /* Get the pointers for inner loop iteration */
2279
+ iternext = NpyIter_GetIterNext(iter, NULL);
2280
+ if (iternext == NULL) {
2281
+ NpyIter_Deallocate(iter);
2282
+ Py_DECREF(ret);
2283
+ return NULL;
2284
+ }
2285
+ get_multi_index = NpyIter_GetGetMultiIndex(iter, NULL);
2286
+ if (get_multi_index == NULL) {
2287
+ NpyIter_Deallocate(iter);
2288
+ Py_DECREF(ret);
2289
+ return NULL;
2290
+ }
2291
+
2292
+ NPY_BEGIN_THREADS_NDITER(iter);
2293
+
2294
+ dataptr = NpyIter_GetDataPtrArray(iter);
2295
+
2296
+ multi_index = (npy_intp *)PyArray_DATA(ret);
2297
+
2298
+ /* Get the multi-index for each non-zero element */
2299
+ if (PyArray_ISBOOL(self)) {
2300
+ /* avoid function call for bool */
2301
+ do {
2302
+ if (**dataptr != 0) {
2303
+ get_multi_index(iter, multi_index);
2304
+ multi_index += ndim;
2305
+ }
2306
+ } while(iternext(iter));
2307
+ }
2308
+ else {
2309
+ do {
2310
+ if (nonzero(*dataptr, self)) {
2311
+ get_multi_index(iter, multi_index);
2312
+ multi_index += ndim;
2313
+ }
2314
+ } while(iternext(iter));
2315
+ }
2316
+
2317
+ NPY_END_THREADS;
2318
+ }
2319
+
2320
+ NpyIter_Deallocate(iter);
2321
+
2322
+ finish:
2323
+ /* Treat zero-dimensional as shape (1,) */
2324
+ if (ndim == 0) {
2325
+ ndim = 1;
2326
+ }
2327
+
2328
+ ret_tuple = PyTuple_New(ndim);
2329
+ if (ret_tuple == NULL) {
2330
+ Py_DECREF(ret);
2331
+ return NULL;
2332
+ }
2333
+
2334
+ /* Create views into ret, one for each dimension */
2335
+ for (i = 0; i < ndim; ++i) {
2336
+ npy_intp stride = ndim * NPY_SIZEOF_INTP;
2337
+
2338
+ PyArrayObject *view = (PyArrayObject *)PyArray_New(Py_TYPE(ret), 1,
2339
+ &nonzero_count, NPY_INTP, &stride,
2340
+ PyArray_BYTES(ret) + i*NPY_SIZEOF_INTP,
2341
+ 0, PyArray_FLAGS(ret), (PyObject *)ret);
2342
+ if (view == NULL) {
2343
+ Py_DECREF(ret);
2344
+ Py_DECREF(ret_tuple);
2345
+ return NULL;
2346
+ }
2347
+ Py_INCREF(ret);
2348
+ if (PyArray_SetBaseObject(view, (PyObject *)ret) < 0) {
2349
+ Py_DECREF(ret);
2350
+ Py_DECREF(ret_tuple);
2351
+ return NULL;
2352
+ }
2353
+ PyTuple_SET_ITEM(ret_tuple, i, (PyObject *)view);
2354
+ }
2355
+ Py_DECREF(ret);
2356
+
2357
+ return ret_tuple;
2358
+ }
2359
+
2360
+ /*
2361
+ * Gets a single item from the array, based on a single multi-index
2362
+ * array of values, which must be of length PyArray_NDIM(self).
2363
+ */
2364
+ NPY_NO_EXPORT PyObject *
2365
+ PyArray_MultiIndexGetItem(PyArrayObject *self, npy_intp *multi_index)
2366
+ {
2367
+ int idim, ndim = PyArray_NDIM(self);
2368
+ char *data = PyArray_DATA(self);
2369
+ npy_intp *shape = PyArray_SHAPE(self);
2370
+ npy_intp *strides = PyArray_STRIDES(self);
2371
+
2372
+ /* Get the data pointer */
2373
+ for (idim = 0; idim < ndim; ++idim) {
2374
+ npy_intp shapevalue = shape[idim];
2375
+ npy_intp ind = multi_index[idim];
2376
+
2377
+ if (check_and_adjust_index(&ind, shapevalue, idim, NULL) < 0) {
2378
+ return NULL;
2379
+ }
2380
+ data += ind * strides[idim];
2381
+ }
2382
+
2383
+ return PyArray_DESCR(self)->f->getitem(data, self);
2384
+ }
2385
+
2386
+ /*
2387
+ * Sets a single item in the array, based on a single multi-index
2388
+ * array of values, which must be of length PyArray_NDIM(self).
2389
+ *
2390
+ * Returns 0 on success, -1 on failure.
2391
+ */
2392
+ NPY_NO_EXPORT int
2393
+ PyArray_MultiIndexSetItem(PyArrayObject *self, npy_intp *multi_index,
2394
+ PyObject *obj)
2395
+ {
2396
+ int idim, ndim = PyArray_NDIM(self);
2397
+ char *data = PyArray_DATA(self);
2398
+ npy_intp *shape = PyArray_SHAPE(self);
2399
+ npy_intp *strides = PyArray_STRIDES(self);
2400
+
2401
+ /* Get the data pointer */
2402
+ for (idim = 0; idim < ndim; ++idim) {
2403
+ npy_intp shapevalue = shape[idim];
2404
+ npy_intp ind = multi_index[idim];
2405
+
2406
+ if (check_and_adjust_index(&ind, shapevalue, idim, NULL) < 0) {
2407
+ return -1;
2408
+ }
2409
+ data += ind * strides[idim];
2410
+ }
2411
+
2412
+ return PyArray_DESCR(self)->f->setitem(obj, data, self);
2413
+ }