numpy 1.9.3__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.
Files changed (1590) 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/source/conf.py +331 -0
  12. numpy-1.10.0.post2/doc/source/dev/development_environment.rst +211 -0
  13. numpy-1.10.0.post2/doc/source/dev/gitwash/development_workflow.rst +534 -0
  14. numpy-1.10.0.post2/doc/source/dev/gitwash/git_links.inc +95 -0
  15. numpy-1.10.0.post2/doc/source/dev/gitwash/index.rst +14 -0
  16. numpy-1.10.0.post2/doc/source/dev/index.rst +11 -0
  17. numpy-1.10.0.post2/doc/source/reference/arrays.classes.rst +490 -0
  18. numpy-1.10.0.post2/doc/source/reference/arrays.dtypes.rst +536 -0
  19. numpy-1.10.0.post2/doc/source/reference/arrays.indexing.rst +549 -0
  20. numpy-1.10.0.post2/doc/source/reference/arrays.interface.rst +337 -0
  21. numpy-1.10.0.post2/doc/source/reference/arrays.ndarray.rst +622 -0
  22. numpy-1.10.0.post2/doc/source/reference/arrays.scalars.rst +291 -0
  23. numpy-1.10.0.post2/doc/source/reference/c-api.array.rst +3393 -0
  24. numpy-1.10.0.post2/doc/source/reference/c-api.config.rst +103 -0
  25. numpy-1.10.0.post2/doc/source/reference/c-api.coremath.rst +420 -0
  26. numpy-1.10.0.post2/doc/source/reference/c-api.dtype.rst +376 -0
  27. numpy-1.10.0.post2/doc/source/reference/c-api.generalized-ufuncs.rst +191 -0
  28. numpy-1.10.0.post2/doc/source/reference/c-api.iterator.rst +1300 -0
  29. numpy-1.10.0.post2/doc/source/reference/c-api.types-and-structures.rst +1240 -0
  30. numpy-1.10.0.post2/doc/source/reference/c-api.ufunc.rst +413 -0
  31. numpy-1.10.0.post2/doc/source/reference/index.rst +43 -0
  32. numpy-1.10.0.post2/doc/source/reference/internals.code-explanations.rst +615 -0
  33. numpy-1.10.0.post2/doc/source/reference/routines.array-manipulation.rst +115 -0
  34. numpy-1.10.0.post2/doc/source/reference/routines.io.rst +78 -0
  35. numpy-1.10.0.post2/doc/source/reference/routines.linalg.rst +91 -0
  36. numpy-1.10.0.post2/doc/source/reference/routines.ma.rst +407 -0
  37. numpy-1.10.0.post2/doc/source/reference/routines.sort.rst +41 -0
  38. numpy-1.10.0.post2/doc/source/reference/routines.statistics.rst +57 -0
  39. numpy-1.10.0.post2/doc/source/reference/swig.interface-file.rst +1066 -0
  40. numpy-1.10.0.post2/doc/source/reference/swig.testing.rst +167 -0
  41. numpy-1.10.0.post2/doc/source/reference/ufuncs.rst +666 -0
  42. numpy-1.10.0.post2/doc/source/release.rst +20 -0
  43. numpy-1.10.0.post2/doc/source/user/basics.io.genfromtxt.rst +531 -0
  44. numpy-1.10.0.post2/doc/source/user/basics.rec.rst +7 -0
  45. numpy-1.10.0.post2/doc/source/user/c-info.beyond-basics.rst +560 -0
  46. numpy-1.10.0.post2/doc/source/user/c-info.how-to-extend.rst +642 -0
  47. numpy-1.10.0.post2/doc/source/user/c-info.python-as-glue.rst +1177 -0
  48. numpy-1.10.0.post2/doc/source/user/c-info.ufunc-tutorial.rst +1211 -0
  49. numpy-1.10.0.post2/doc/source/user/install.rst +194 -0
  50. numpy-1.10.0.post2/numpy/__init__.py +227 -0
  51. numpy-1.10.0.post2/numpy/_build_utils/README +8 -0
  52. numpy-1.10.0.post2/numpy/_build_utils/apple_accelerate.py +21 -0
  53. numpy-1.10.0.post2/numpy/_build_utils/common.py +138 -0
  54. numpy-1.10.0.post2/numpy/_build_utils/src/apple_sgemv_fix.c +227 -0
  55. numpy-1.10.0.post2/numpy/_build_utils/waf.py +531 -0
  56. numpy-1.10.0.post2/numpy/_import_tools.py +353 -0
  57. numpy-1.10.0.post2/numpy/add_newdocs.py +7611 -0
  58. numpy-1.10.0.post2/numpy/compat/_inspect.py +194 -0
  59. numpy-1.10.0.post2/numpy/compat/py3k.py +88 -0
  60. numpy-1.10.0.post2/numpy/compat/setup.py +12 -0
  61. numpy-1.10.0.post2/numpy/core/__init__.py +89 -0
  62. numpy-1.10.0.post2/numpy/core/_internal.py +761 -0
  63. numpy-1.10.0.post2/numpy/core/_methods.py +133 -0
  64. numpy-1.10.0.post2/numpy/core/arrayprint.py +760 -0
  65. numpy-1.10.0.post2/numpy/core/code_generators/cversions.txt +34 -0
  66. numpy-1.10.0.post2/numpy/core/code_generators/generate_ufunc_api.py +219 -0
  67. numpy-1.10.0.post2/numpy/core/code_generators/generate_umath.py +1017 -0
  68. numpy-1.10.0.post2/numpy/core/code_generators/numpy_api.py +415 -0
  69. numpy-1.10.0.post2/numpy/core/code_generators/ufunc_docstrings.py +3442 -0
  70. numpy-1.10.0.post2/numpy/core/defchararray.py +2689 -0
  71. numpy-1.10.0.post2/numpy/core/fromnumeric.py +3089 -0
  72. numpy-1.10.0.post2/numpy/core/function_base.py +203 -0
  73. numpy-1.10.0.post2/numpy/core/getlimits.py +308 -0
  74. numpy-1.10.0.post2/numpy/core/include/numpy/ndarrayobject.h +246 -0
  75. numpy-1.10.0.post2/numpy/core/include/numpy/ndarraytypes.h +1797 -0
  76. numpy-1.10.0.post2/numpy/core/include/numpy/npy_3kcompat.h +448 -0
  77. numpy-1.10.0.post2/numpy/core/include/numpy/npy_common.h +1051 -0
  78. numpy-1.10.0.post2/numpy/core/include/numpy/npy_cpu.h +92 -0
  79. numpy-1.10.0.post2/numpy/core/include/numpy/npy_endian.h +61 -0
  80. numpy-1.10.0.post2/numpy/core/include/numpy/npy_math.h +525 -0
  81. numpy-1.10.0.post2/numpy/core/include/numpy/numpyconfig.h +36 -0
  82. numpy-1.10.0.post2/numpy/core/machar.py +342 -0
  83. numpy-1.10.0.post2/numpy/core/memmap.py +311 -0
  84. numpy-1.10.0.post2/numpy/core/numeric.py +2893 -0
  85. numpy-1.10.0.post2/numpy/core/numerictypes.py +1036 -0
  86. numpy-1.10.0.post2/numpy/core/records.py +846 -0
  87. numpy-1.10.0.post2/numpy/core/setup.py +983 -0
  88. numpy-1.10.0.post2/numpy/core/setup_common.py +352 -0
  89. numpy-1.10.0.post2/numpy/core/shape_base.py +350 -0
  90. numpy-1.10.0.post2/numpy/core/src/multiarray/alloc.c +244 -0
  91. numpy-1.10.0.post2/numpy/core/src/multiarray/arrayobject.c +1858 -0
  92. numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.c.src +4738 -0
  93. numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.h +37 -0
  94. numpy-1.10.0.post2/numpy/core/src/multiarray/buffer.c +981 -0
  95. numpy-1.10.0.post2/numpy/core/src/multiarray/calculation.c +1224 -0
  96. numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.c +812 -0
  97. numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.h +10 -0
  98. numpy-1.10.0.post2/numpy/core/src/multiarray/common.c +911 -0
  99. numpy-1.10.0.post2/numpy/core/src/multiarray/common.h +250 -0
  100. numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.c +1664 -0
  101. numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.h +24 -0
  102. numpy-1.10.0.post2/numpy/core/src/multiarray/conversion_utils.c +1217 -0
  103. numpy-1.10.0.post2/numpy/core/src/multiarray/convert.c +590 -0
  104. numpy-1.10.0.post2/numpy/core/src/multiarray/convert_datatype.c +2155 -0
  105. numpy-1.10.0.post2/numpy/core/src/multiarray/ctors.c +3838 -0
  106. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime.c +3821 -0
  107. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busday.c +1322 -0
  108. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busdaycal.c +552 -0
  109. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_strings.c +1772 -0
  110. numpy-1.10.0.post2/numpy/core/src/multiarray/descriptor.c +3719 -0
  111. numpy-1.10.0.post2/numpy/core/src/multiarray/dtype_transfer.c +4239 -0
  112. numpy-1.10.0.post2/numpy/core/src/multiarray/einsum.c.src +3005 -0
  113. numpy-1.10.0.post2/numpy/core/src/multiarray/getset.c +986 -0
  114. numpy-1.10.0.post2/numpy/core/src/multiarray/hashdescr.c +318 -0
  115. numpy-1.10.0.post2/numpy/core/src/multiarray/item_selection.c +2413 -0
  116. numpy-1.10.0.post2/numpy/core/src/multiarray/iterators.c +2192 -0
  117. numpy-1.10.0.post2/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +1769 -0
  118. numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.c +3380 -0
  119. numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.h +77 -0
  120. numpy-1.10.0.post2/numpy/core/src/multiarray/methods.c +2514 -0
  121. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarray_tests.c.src +1035 -0
  122. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.c +4628 -0
  123. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.h +15 -0
  124. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_api.c +2809 -0
  125. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_constr.c +3160 -0
  126. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_pywrap.c +2499 -0
  127. numpy-1.10.0.post2/numpy/core/src/multiarray/number.c +1106 -0
  128. numpy-1.10.0.post2/numpy/core/src/multiarray/number.h +77 -0
  129. numpy-1.10.0.post2/numpy/core/src/multiarray/numpymemoryview.c +308 -0
  130. numpy-1.10.0.post2/numpy/core/src/multiarray/numpyos.c +683 -0
  131. numpy-1.10.0.post2/numpy/core/src/multiarray/scalarapi.c +870 -0
  132. numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.c.src +4343 -0
  133. numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.h +55 -0
  134. numpy-1.10.0.post2/numpy/core/src/multiarray/shape.c +1131 -0
  135. numpy-1.10.0.post2/numpy/core/src/multiarray/ucsnarrow.c +174 -0
  136. numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.c +180 -0
  137. numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.h +18 -0
  138. numpy-1.10.0.post2/numpy/core/src/npymath/ieee754.c.src +808 -0
  139. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math.c.src +597 -0
  140. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_complex.c.src +1788 -0
  141. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_private.h +544 -0
  142. numpy-1.10.0.post2/numpy/core/src/npysort/heapsort.c.src +402 -0
  143. numpy-1.10.0.post2/numpy/core/src/npysort/mergesort.c.src +488 -0
  144. numpy-1.10.0.post2/numpy/core/src/npysort/npysort_common.h +360 -0
  145. numpy-1.10.0.post2/numpy/core/src/npysort/quicksort.c.src +523 -0
  146. numpy-1.10.0.post2/numpy/core/src/npysort/selection.c.src +426 -0
  147. numpy-1.10.0.post2/numpy/core/src/private/npy_cblas.h +584 -0
  148. numpy-1.10.0.post2/numpy/core/src/private/npy_config.h +101 -0
  149. numpy-1.10.0.post2/numpy/core/src/private/npy_import.h +32 -0
  150. numpy-1.10.0.post2/numpy/core/src/private/npy_partition.h.src +122 -0
  151. numpy-1.10.0.post2/numpy/core/src/private/npy_sort.h +196 -0
  152. numpy-1.10.0.post2/numpy/core/src/private/templ_common.h.src +43 -0
  153. numpy-1.10.0.post2/numpy/core/src/private/ufunc_override.h +397 -0
  154. numpy-1.10.0.post2/numpy/core/src/umath/funcs.inc.src +356 -0
  155. numpy-1.10.0.post2/numpy/core/src/umath/loops.c.src +2675 -0
  156. numpy-1.10.0.post2/numpy/core/src/umath/loops.h.src +497 -0
  157. numpy-1.10.0.post2/numpy/core/src/umath/operand_flag_tests.c.src +105 -0
  158. numpy-1.10.0.post2/numpy/core/src/umath/scalarmath.c.src +1738 -0
  159. numpy-1.10.0.post2/numpy/core/src/umath/simd.inc.src +903 -0
  160. numpy-1.10.0.post2/numpy/core/src/umath/test_rational.c.src +1404 -0
  161. numpy-1.10.0.post2/numpy/core/src/umath/ufunc_object.c +5703 -0
  162. numpy-1.10.0.post2/numpy/core/src/umath/ufunc_type_resolution.c +2159 -0
  163. numpy-1.10.0.post2/numpy/core/src/umath/umath_tests.c.src +392 -0
  164. numpy-1.10.0.post2/numpy/core/src/umath/umathmodule.c +443 -0
  165. numpy-1.10.0.post2/numpy/core/tests/test_abc.py +47 -0
  166. numpy-1.10.0.post2/numpy/core/tests/test_api.py +515 -0
  167. numpy-1.10.0.post2/numpy/core/tests/test_arrayprint.py +171 -0
  168. numpy-1.10.0.post2/numpy/core/tests/test_datetime.py +1820 -0
  169. numpy-1.10.0.post2/numpy/core/tests/test_defchararray.py +703 -0
  170. numpy-1.10.0.post2/numpy/core/tests/test_deprecations.py +619 -0
  171. numpy-1.10.0.post2/numpy/core/tests/test_dtype.py +578 -0
  172. numpy-1.10.0.post2/numpy/core/tests/test_einsum.py +627 -0
  173. numpy-1.10.0.post2/numpy/core/tests/test_errstate.py +52 -0
  174. numpy-1.10.0.post2/numpy/core/tests/test_function_base.py +142 -0
  175. numpy-1.10.0.post2/numpy/core/tests/test_getlimits.py +77 -0
  176. numpy-1.10.0.post2/numpy/core/tests/test_half.py +436 -0
  177. numpy-1.10.0.post2/numpy/core/tests/test_indexerrors.py +126 -0
  178. numpy-1.10.0.post2/numpy/core/tests/test_indexing.py +1047 -0
  179. numpy-1.10.0.post2/numpy/core/tests/test_item_selection.py +73 -0
  180. numpy-1.10.0.post2/numpy/core/tests/test_machar.py +29 -0
  181. numpy-1.10.0.post2/numpy/core/tests/test_memmap.py +130 -0
  182. numpy-1.10.0.post2/numpy/core/tests/test_multiarray.py +5924 -0
  183. numpy-1.10.0.post2/numpy/core/tests/test_multiarray_assignment.py +84 -0
  184. numpy-1.10.0.post2/numpy/core/tests/test_nditer.py +2638 -0
  185. numpy-1.10.0.post2/numpy/core/tests/test_numeric.py +2204 -0
  186. numpy-1.10.0.post2/numpy/core/tests/test_numerictypes.py +382 -0
  187. numpy-1.10.0.post2/numpy/core/tests/test_print.py +248 -0
  188. numpy-1.10.0.post2/numpy/core/tests/test_records.py +299 -0
  189. numpy-1.10.0.post2/numpy/core/tests/test_regression.py +2177 -0
  190. numpy-1.10.0.post2/numpy/core/tests/test_scalarinherit.py +41 -0
  191. numpy-1.10.0.post2/numpy/core/tests/test_scalarmath.py +316 -0
  192. numpy-1.10.0.post2/numpy/core/tests/test_shape_base.py +319 -0
  193. numpy-1.10.0.post2/numpy/core/tests/test_ufunc.py +1227 -0
  194. numpy-1.10.0.post2/numpy/core/tests/test_umath.py +1933 -0
  195. numpy-1.10.0.post2/numpy/core/tests/test_umath_complex.py +538 -0
  196. numpy-1.10.0.post2/numpy/core/tests/test_unicode.py +360 -0
  197. numpy-1.10.0.post2/numpy/distutils/__init__.py +23 -0
  198. numpy-1.10.0.post2/numpy/distutils/ccompiler.py +690 -0
  199. numpy-1.10.0.post2/numpy/distutils/command/autodist.py +94 -0
  200. numpy-1.10.0.post2/numpy/distutils/command/build.py +47 -0
  201. numpy-1.10.0.post2/numpy/distutils/command/build_clib.py +295 -0
  202. numpy-1.10.0.post2/numpy/distutils/command/build_ext.py +522 -0
  203. numpy-1.10.0.post2/numpy/distutils/command/config.py +437 -0
  204. numpy-1.10.0.post2/numpy/distutils/exec_command.py +651 -0
  205. numpy-1.10.0.post2/numpy/distutils/fcompiler/compaq.py +128 -0
  206. numpy-1.10.0.post2/numpy/distutils/fcompiler/gnu.py +403 -0
  207. numpy-1.10.0.post2/numpy/distutils/fcompiler/intel.py +217 -0
  208. numpy-1.10.0.post2/numpy/distutils/fcompiler/pg.py +63 -0
  209. numpy-1.10.0.post2/numpy/distutils/fcompiler/sun.py +55 -0
  210. numpy-1.10.0.post2/numpy/distutils/intelccompiler.py +95 -0
  211. numpy-1.10.0.post2/numpy/distutils/lib2def.py +116 -0
  212. numpy-1.10.0.post2/numpy/distutils/mingw32ccompiler.py +599 -0
  213. numpy-1.10.0.post2/numpy/distutils/misc_util.py +2306 -0
  214. numpy-1.10.0.post2/numpy/distutils/msvc9compiler.py +23 -0
  215. numpy-1.10.0.post2/numpy/distutils/msvccompiler.py +17 -0
  216. numpy-1.10.0.post2/numpy/distutils/npy_pkg_config.py +451 -0
  217. numpy-1.10.0.post2/numpy/distutils/system_info.py +2397 -0
  218. numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +12 -0
  219. numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +11 -0
  220. numpy-1.10.0.post2/numpy/distutils/tests/gen_ext/tests/test_fib3.py +11 -0
  221. numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +13 -0
  222. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/__init__.py +1 -0
  223. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example.py +17 -0
  224. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example2.py +15 -0
  225. numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_gnu.py +60 -0
  226. numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_intel.py +36 -0
  227. numpy-1.10.0.post2/numpy/distutils/tests/test_misc_util.py +79 -0
  228. numpy-1.10.0.post2/numpy/distutils/tests/test_npy_pkg_config.py +102 -0
  229. numpy-1.10.0.post2/numpy/distutils/tests/test_system_info.py +209 -0
  230. numpy-1.10.0.post2/numpy/distutils/unixccompiler.py +125 -0
  231. numpy-1.10.0.post2/numpy/doc/byteswapping.py +156 -0
  232. numpy-1.10.0.post2/numpy/doc/creation.py +144 -0
  233. numpy-1.10.0.post2/numpy/doc/glossary.py +423 -0
  234. numpy-1.10.0.post2/numpy/doc/indexing.py +439 -0
  235. numpy-1.10.0.post2/numpy/doc/structured_arrays.py +290 -0
  236. numpy-1.10.0.post2/numpy/f2py/__init__.py +49 -0
  237. numpy-1.10.0.post2/numpy/f2py/__main__.py +25 -0
  238. numpy-1.10.0.post2/numpy/f2py/auxfuncs.py +858 -0
  239. numpy-1.10.0.post2/numpy/f2py/capi_maps.py +851 -0
  240. numpy-1.10.0.post2/numpy/f2py/cb_rules.py +554 -0
  241. numpy-1.10.0.post2/numpy/f2py/cfuncs.py +1261 -0
  242. numpy-1.10.0.post2/numpy/f2py/common_rules.py +150 -0
  243. numpy-1.10.0.post2/numpy/f2py/crackfortran.py +3314 -0
  244. numpy-1.10.0.post2/numpy/f2py/diagnose.py +156 -0
  245. numpy-1.10.0.post2/numpy/f2py/f2py2e.py +656 -0
  246. numpy-1.10.0.post2/numpy/f2py/f2py_testing.py +48 -0
  247. numpy-1.10.0.post2/numpy/f2py/f90mod_rules.py +272 -0
  248. numpy-1.10.0.post2/numpy/f2py/func2subr.py +299 -0
  249. numpy-1.10.0.post2/numpy/f2py/rules.py +1475 -0
  250. numpy-1.10.0.post2/numpy/f2py/setup.py +117 -0
  251. numpy-1.10.0.post2/numpy/f2py/src/fortranobject.c +1037 -0
  252. numpy-1.10.0.post2/numpy/f2py/src/fortranobject.h +162 -0
  253. numpy-1.10.0.post2/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +223 -0
  254. numpy-1.10.0.post2/numpy/f2py/tests/test_array_from_pyobj.py +593 -0
  255. numpy-1.10.0.post2/numpy/f2py/tests/test_assumed_shape.py +35 -0
  256. numpy-1.10.0.post2/numpy/f2py/tests/test_callback.py +136 -0
  257. numpy-1.10.0.post2/numpy/f2py/tests/test_kind.py +36 -0
  258. numpy-1.10.0.post2/numpy/f2py/tests/test_mixed.py +40 -0
  259. numpy-1.10.0.post2/numpy/f2py/tests/test_regression.py +34 -0
  260. numpy-1.10.0.post2/numpy/f2py/tests/test_return_character.py +148 -0
  261. numpy-1.10.0.post2/numpy/f2py/tests/test_return_complex.py +170 -0
  262. numpy-1.10.0.post2/numpy/f2py/tests/test_return_integer.py +180 -0
  263. numpy-1.10.0.post2/numpy/f2py/tests/test_return_logical.py +189 -0
  264. numpy-1.10.0.post2/numpy/f2py/tests/test_return_real.py +206 -0
  265. numpy-1.10.0.post2/numpy/f2py/tests/test_size.py +44 -0
  266. numpy-1.10.0.post2/numpy/f2py/tests/util.py +367 -0
  267. numpy-1.10.0.post2/numpy/f2py/use_rules.py +115 -0
  268. numpy-1.10.0.post2/numpy/fft/fftpack.c +1501 -0
  269. numpy-1.10.0.post2/numpy/fft/fftpack.h +28 -0
  270. numpy-1.10.0.post2/numpy/fft/fftpack.py +1241 -0
  271. numpy-1.10.0.post2/numpy/fft/fftpack_litemodule.c +363 -0
  272. numpy-1.10.0.post2/numpy/fft/info.py +187 -0
  273. numpy-1.10.0.post2/numpy/fft/setup.py +19 -0
  274. numpy-1.10.0.post2/numpy/fft/tests/test_fftpack.py +166 -0
  275. numpy-1.10.0.post2/numpy/fft/tests/test_helper.py +78 -0
  276. numpy-1.10.0.post2/numpy/lib/_iotools.py +917 -0
  277. numpy-1.10.0.post2/numpy/lib/arraypad.py +1497 -0
  278. numpy-1.10.0.post2/numpy/lib/arraysetops.py +480 -0
  279. numpy-1.10.0.post2/numpy/lib/arrayterator.py +226 -0
  280. numpy-1.10.0.post2/numpy/lib/financial.py +737 -0
  281. numpy-1.10.0.post2/numpy/lib/format.py +814 -0
  282. numpy-1.10.0.post2/numpy/lib/function_base.py +4150 -0
  283. numpy-1.10.0.post2/numpy/lib/index_tricks.py +874 -0
  284. numpy-1.10.0.post2/numpy/lib/info.py +152 -0
  285. numpy-1.10.0.post2/numpy/lib/nanfunctions.py +1237 -0
  286. numpy-1.10.0.post2/numpy/lib/npyio.py +1992 -0
  287. numpy-1.10.0.post2/numpy/lib/polynomial.py +1277 -0
  288. numpy-1.10.0.post2/numpy/lib/recfunctions.py +1003 -0
  289. numpy-1.10.0.post2/numpy/lib/setup.py +12 -0
  290. numpy-1.10.0.post2/numpy/lib/shape_base.py +872 -0
  291. numpy-1.10.0.post2/numpy/lib/stride_tricks.py +200 -0
  292. numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npy +0 -0
  293. numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npz +0 -0
  294. numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npy +0 -0
  295. numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npz +0 -0
  296. numpy-1.10.0.post2/numpy/lib/tests/test__iotools.py +348 -0
  297. numpy-1.10.0.post2/numpy/lib/tests/test__version.py +70 -0
  298. numpy-1.10.0.post2/numpy/lib/tests/test_arraypad.py +1047 -0
  299. numpy-1.10.0.post2/numpy/lib/tests/test_arraysetops.py +309 -0
  300. numpy-1.10.0.post2/numpy/lib/tests/test_financial.py +163 -0
  301. numpy-1.10.0.post2/numpy/lib/tests/test_format.py +841 -0
  302. numpy-1.10.0.post2/numpy/lib/tests/test_function_base.py +2555 -0
  303. numpy-1.10.0.post2/numpy/lib/tests/test_index_tricks.py +326 -0
  304. numpy-1.10.0.post2/numpy/lib/tests/test_io.py +1916 -0
  305. numpy-1.10.0.post2/numpy/lib/tests/test_nanfunctions.py +707 -0
  306. numpy-1.10.0.post2/numpy/lib/tests/test_packbits.py +26 -0
  307. numpy-1.10.0.post2/numpy/lib/tests/test_polynomial.py +188 -0
  308. numpy-1.10.0.post2/numpy/lib/tests/test_recfunctions.py +734 -0
  309. numpy-1.10.0.post2/numpy/lib/tests/test_shape_base.py +386 -0
  310. numpy-1.10.0.post2/numpy/lib/tests/test_stride_tricks.py +405 -0
  311. numpy-1.10.0.post2/numpy/lib/tests/test_twodim_base.py +535 -0
  312. numpy-1.10.0.post2/numpy/lib/tests/test_type_check.py +332 -0
  313. numpy-1.10.0.post2/numpy/lib/twodim_base.py +1007 -0
  314. numpy-1.10.0.post2/numpy/lib/type_check.py +596 -0
  315. numpy-1.10.0.post2/numpy/lib/utils.py +1122 -0
  316. numpy-1.10.0.post2/numpy/linalg/lapack_lite/python_xerbla.c +46 -0
  317. numpy-1.10.0.post2/numpy/linalg/lapack_litemodule.c +358 -0
  318. numpy-1.10.0.post2/numpy/linalg/linalg.py +2406 -0
  319. numpy-1.10.0.post2/numpy/linalg/tests/test_build.py +59 -0
  320. numpy-1.10.0.post2/numpy/linalg/tests/test_linalg.py +1351 -0
  321. numpy-1.10.0.post2/numpy/linalg/tests/test_regression.py +95 -0
  322. numpy-1.10.0.post2/numpy/linalg/umath_linalg.c.src +3236 -0
  323. numpy-1.10.0.post2/numpy/ma/__init__.py +56 -0
  324. numpy-1.10.0.post2/numpy/ma/bench.py +131 -0
  325. numpy-1.10.0.post2/numpy/ma/core.py +7608 -0
  326. numpy-1.10.0.post2/numpy/ma/extras.py +1953 -0
  327. numpy-1.10.0.post2/numpy/ma/mrecords.py +796 -0
  328. numpy-1.10.0.post2/numpy/ma/setup.py +13 -0
  329. numpy-1.10.0.post2/numpy/ma/tests/test_core.py +4100 -0
  330. numpy-1.10.0.post2/numpy/ma/tests/test_extras.py +1132 -0
  331. numpy-1.10.0.post2/numpy/ma/tests/test_mrecords.py +520 -0
  332. numpy-1.10.0.post2/numpy/ma/tests/test_old_ma.py +879 -0
  333. numpy-1.10.0.post2/numpy/ma/tests/test_regression.py +80 -0
  334. numpy-1.10.0.post2/numpy/ma/tests/test_subclassing.py +338 -0
  335. numpy-1.10.0.post2/numpy/ma/testutils.py +289 -0
  336. numpy-1.10.0.post2/numpy/ma/timer_comparison.py +440 -0
  337. numpy-1.10.0.post2/numpy/matlib.py +358 -0
  338. numpy-1.10.0.post2/numpy/matrixlib/defmatrix.py +1232 -0
  339. numpy-1.10.0.post2/numpy/matrixlib/tests/test_defmatrix.py +449 -0
  340. numpy-1.10.0.post2/numpy/matrixlib/tests/test_multiarray.py +23 -0
  341. numpy-1.10.0.post2/numpy/matrixlib/tests/test_numeric.py +23 -0
  342. numpy-1.10.0.post2/numpy/matrixlib/tests/test_regression.py +37 -0
  343. numpy-1.10.0.post2/numpy/polynomial/_polybase.py +962 -0
  344. numpy-1.10.0.post2/numpy/polynomial/chebyshev.py +2056 -0
  345. numpy-1.10.0.post2/numpy/polynomial/hermite.py +1831 -0
  346. numpy-1.10.0.post2/numpy/polynomial/hermite_e.py +1828 -0
  347. numpy-1.10.0.post2/numpy/polynomial/laguerre.py +1780 -0
  348. numpy-1.10.0.post2/numpy/polynomial/legendre.py +1808 -0
  349. numpy-1.10.0.post2/numpy/polynomial/polyutils.py +403 -0
  350. numpy-1.10.0.post2/numpy/random/mtrand/distributions.c +912 -0
  351. numpy-1.10.0.post2/numpy/random/mtrand/mtrand.c +34805 -0
  352. numpy-1.10.0.post2/numpy/random/mtrand/mtrand.pyx +4766 -0
  353. numpy-1.10.0.post2/numpy/random/setup.py +61 -0
  354. numpy-1.10.0.post2/numpy/random/tests/test_random.py +723 -0
  355. numpy-1.10.0.post2/numpy/random/tests/test_regression.py +117 -0
  356. numpy-1.10.0.post2/numpy/setup.py +29 -0
  357. numpy-1.10.0.post2/numpy/testing/__init__.py +15 -0
  358. numpy-1.10.0.post2/numpy/testing/decorators.py +271 -0
  359. numpy-1.10.0.post2/numpy/testing/noseclasses.py +353 -0
  360. numpy-1.10.0.post2/numpy/testing/nosetester.py +511 -0
  361. numpy-1.10.0.post2/numpy/testing/print_coercion_tables.py +91 -0
  362. numpy-1.10.0.post2/numpy/testing/setup.py +20 -0
  363. numpy-1.10.0.post2/numpy/testing/tests/test_decorators.py +182 -0
  364. numpy-1.10.0.post2/numpy/testing/tests/test_utils.py +781 -0
  365. numpy-1.10.0.post2/numpy/testing/utils.py +1831 -0
  366. numpy-1.10.0.post2/numpy/tests/test_ctypeslib.py +106 -0
  367. numpy-1.10.0.post2/numpy/tests/test_matlib.py +55 -0
  368. numpy-1.10.0.post2/numpy/tests/test_scripts.py +69 -0
  369. numpy-1.10.0.post2/numpy/version.py +10 -0
  370. numpy-1.10.0.post2/setup.py +260 -0
  371. numpy-1.10.0.post2/site.cfg.example +193 -0
  372. numpy-1.10.0.post2/tmp.txt +789 -0
  373. numpy-1.10.0.post2/tools/swig/README +145 -0
  374. numpy-1.10.0.post2/tools/swig/numpy.i +3161 -0
  375. numpy-1.10.0.post2/tools/swig/test/Array.i +135 -0
  376. numpy-1.10.0.post2/tools/swig/test/ArrayZ.cxx +131 -0
  377. numpy-1.10.0.post2/tools/swig/test/ArrayZ.h +56 -0
  378. numpy-1.10.0.post2/tools/swig/test/Flat.cxx +36 -0
  379. numpy-1.10.0.post2/tools/swig/test/Flat.h +34 -0
  380. numpy-1.10.0.post2/tools/swig/test/Flat.i +36 -0
  381. numpy-1.10.0.post2/tools/swig/test/Makefile +37 -0
  382. numpy-1.10.0.post2/tools/swig/test/setup.py +71 -0
  383. numpy-1.10.0.post2/tools/swig/test/testArray.py +385 -0
  384. numpy-1.10.0.post2/tools/swig/test/testFarray.py +159 -0
  385. numpy-1.10.0.post2/tools/swig/test/testFlat.py +200 -0
  386. numpy-1.10.0.post2/tools/swig/test/testFortran.py +173 -0
  387. numpy-1.10.0.post2/tools/swig/test/testMatrix.py +362 -0
  388. numpy-1.10.0.post2/tools/swig/test/testSuperTensor.py +388 -0
  389. numpy-1.10.0.post2/tools/swig/test/testTensor.py +402 -0
  390. numpy-1.10.0.post2/tools/swig/test/testVector.py +381 -0
  391. numpy-1.9.3/INSTALL.txt +0 -138
  392. numpy-1.9.3/LICENSE.txt +0 -30
  393. numpy-1.9.3/MANIFEST.in +0 -26
  394. numpy-1.9.3/PKG-INFO +0 -39
  395. numpy-1.9.3/doc/release/1.9.3-notes.rst +0 -23
  396. numpy-1.9.3/doc/source/conf.py +0 -331
  397. numpy-1.9.3/doc/source/dev/gitwash/branch_list.png +0 -0
  398. numpy-1.9.3/doc/source/dev/gitwash/branch_list_compare.png +0 -0
  399. numpy-1.9.3/doc/source/dev/gitwash/development_workflow.rst +0 -568
  400. numpy-1.9.3/doc/source/dev/gitwash/git_links.inc +0 -88
  401. numpy-1.9.3/doc/source/dev/gitwash/index.rst +0 -14
  402. numpy-1.9.3/doc/source/dev/index.rst +0 -10
  403. numpy-1.9.3/doc/source/reference/arrays.classes.rst +0 -427
  404. numpy-1.9.3/doc/source/reference/arrays.dtypes.rst +0 -534
  405. numpy-1.9.3/doc/source/reference/arrays.indexing.rst +0 -550
  406. numpy-1.9.3/doc/source/reference/arrays.interface.rst +0 -336
  407. numpy-1.9.3/doc/source/reference/arrays.ndarray.rst +0 -609
  408. numpy-1.9.3/doc/source/reference/arrays.scalars.rst +0 -291
  409. numpy-1.9.3/doc/source/reference/c-api.array.rst +0 -3362
  410. numpy-1.9.3/doc/source/reference/c-api.config.rst +0 -103
  411. numpy-1.9.3/doc/source/reference/c-api.coremath.rst +0 -420
  412. numpy-1.9.3/doc/source/reference/c-api.dtype.rst +0 -376
  413. numpy-1.9.3/doc/source/reference/c-api.generalized-ufuncs.rst +0 -171
  414. numpy-1.9.3/doc/source/reference/c-api.iterator.rst +0 -1298
  415. numpy-1.9.3/doc/source/reference/c-api.types-and-structures.rst +0 -1204
  416. numpy-1.9.3/doc/source/reference/c-api.ufunc.rst +0 -399
  417. numpy-1.9.3/doc/source/reference/index.rst +0 -44
  418. numpy-1.9.3/doc/source/reference/internals.code-explanations.rst +0 -666
  419. numpy-1.9.3/doc/source/reference/routines.array-manipulation.rst +0 -113
  420. numpy-1.9.3/doc/source/reference/routines.io.rst +0 -74
  421. numpy-1.9.3/doc/source/reference/routines.linalg.rst +0 -88
  422. numpy-1.9.3/doc/source/reference/routines.ma.rst +0 -405
  423. numpy-1.9.3/doc/source/reference/routines.sort.rst +0 -42
  424. numpy-1.9.3/doc/source/reference/routines.statistics.rst +0 -55
  425. numpy-1.9.3/doc/source/reference/swig.interface-file.rst +0 -1055
  426. numpy-1.9.3/doc/source/reference/swig.testing.rst +0 -166
  427. numpy-1.9.3/doc/source/reference/ufuncs.rst +0 -651
  428. numpy-1.9.3/doc/source/release.rst +0 -19
  429. numpy-1.9.3/doc/source/user/basics.io.genfromtxt.rst +0 -531
  430. numpy-1.9.3/doc/source/user/basics.rec.rst +0 -7
  431. numpy-1.9.3/doc/source/user/c-info.beyond-basics.rst +0 -560
  432. numpy-1.9.3/doc/source/user/c-info.how-to-extend.rst +0 -642
  433. numpy-1.9.3/doc/source/user/c-info.python-as-glue.rst +0 -1528
  434. numpy-1.9.3/doc/source/user/c-info.ufunc-tutorial.rst +0 -1211
  435. numpy-1.9.3/doc/source/user/install.rst +0 -180
  436. numpy-1.9.3/numpy/__init__.py +0 -216
  437. numpy-1.9.3/numpy/_import_tools.py +0 -348
  438. numpy-1.9.3/numpy/add_newdocs.py +0 -7518
  439. numpy-1.9.3/numpy/compat/_inspect.py +0 -221
  440. numpy-1.9.3/numpy/compat/py3k.py +0 -89
  441. numpy-1.9.3/numpy/compat/setup.py +0 -12
  442. numpy-1.9.3/numpy/core/__init__.py +0 -78
  443. numpy-1.9.3/numpy/core/_internal.py +0 -570
  444. numpy-1.9.3/numpy/core/_methods.py +0 -134
  445. numpy-1.9.3/numpy/core/arrayprint.py +0 -752
  446. numpy-1.9.3/numpy/core/blasdot/_dotblas.c +0 -1255
  447. numpy-1.9.3/numpy/core/blasdot/apple_sgemv_patch.c +0 -216
  448. numpy-1.9.3/numpy/core/blasdot/cblas.h +0 -578
  449. numpy-1.9.3/numpy/core/code_generators/cversions.txt +0 -31
  450. numpy-1.9.3/numpy/core/code_generators/generate_ufunc_api.py +0 -219
  451. numpy-1.9.3/numpy/core/code_generators/generate_umath.py +0 -972
  452. numpy-1.9.3/numpy/core/code_generators/numpy_api.py +0 -412
  453. numpy-1.9.3/numpy/core/code_generators/ufunc_docstrings.py +0 -3419
  454. numpy-1.9.3/numpy/core/defchararray.py +0 -2687
  455. numpy-1.9.3/numpy/core/fromnumeric.py +0 -2938
  456. numpy-1.9.3/numpy/core/function_base.py +0 -190
  457. numpy-1.9.3/numpy/core/getlimits.py +0 -306
  458. numpy-1.9.3/numpy/core/include/numpy/fenv/fenv.c +0 -38
  459. numpy-1.9.3/numpy/core/include/numpy/fenv/fenv.h +0 -224
  460. numpy-1.9.3/numpy/core/include/numpy/ndarrayobject.h +0 -237
  461. numpy-1.9.3/numpy/core/include/numpy/ndarraytypes.h +0 -1820
  462. numpy-1.9.3/numpy/core/include/numpy/npy_3kcompat.h +0 -506
  463. numpy-1.9.3/numpy/core/include/numpy/npy_common.h +0 -1038
  464. numpy-1.9.3/numpy/core/include/numpy/npy_cpu.h +0 -122
  465. numpy-1.9.3/numpy/core/include/numpy/npy_endian.h +0 -49
  466. numpy-1.9.3/numpy/core/include/numpy/npy_math.h +0 -479
  467. numpy-1.9.3/numpy/core/include/numpy/numpyconfig.h +0 -35
  468. numpy-1.9.3/numpy/core/machar.py +0 -338
  469. numpy-1.9.3/numpy/core/memmap.py +0 -308
  470. numpy-1.9.3/numpy/core/numeric.py +0 -2842
  471. numpy-1.9.3/numpy/core/numerictypes.py +0 -1042
  472. numpy-1.9.3/numpy/core/records.py +0 -804
  473. numpy-1.9.3/numpy/core/setup.py +0 -1016
  474. numpy-1.9.3/numpy/core/setup_common.py +0 -330
  475. numpy-1.9.3/numpy/core/shape_base.py +0 -277
  476. numpy-1.9.3/numpy/core/src/multiarray/alloc.c +0 -241
  477. numpy-1.9.3/numpy/core/src/multiarray/arrayobject.c +0 -1791
  478. numpy-1.9.3/numpy/core/src/multiarray/arraytypes.c.src +0 -4372
  479. numpy-1.9.3/numpy/core/src/multiarray/arraytypes.h +0 -13
  480. numpy-1.9.3/numpy/core/src/multiarray/buffer.c +0 -954
  481. numpy-1.9.3/numpy/core/src/multiarray/calculation.c +0 -1229
  482. numpy-1.9.3/numpy/core/src/multiarray/common.c +0 -798
  483. numpy-1.9.3/numpy/core/src/multiarray/common.h +0 -328
  484. numpy-1.9.3/numpy/core/src/multiarray/conversion_utils.c +0 -1240
  485. numpy-1.9.3/numpy/core/src/multiarray/convert.c +0 -589
  486. numpy-1.9.3/numpy/core/src/multiarray/convert_datatype.c +0 -2199
  487. numpy-1.9.3/numpy/core/src/multiarray/ctors.c +0 -3785
  488. numpy-1.9.3/numpy/core/src/multiarray/datetime.c +0 -3823
  489. numpy-1.9.3/numpy/core/src/multiarray/datetime_busday.c +0 -1322
  490. numpy-1.9.3/numpy/core/src/multiarray/datetime_busdaycal.c +0 -552
  491. numpy-1.9.3/numpy/core/src/multiarray/datetime_strings.c +0 -1772
  492. numpy-1.9.3/numpy/core/src/multiarray/descriptor.c +0 -3658
  493. numpy-1.9.3/numpy/core/src/multiarray/dtype_transfer.c +0 -4232
  494. numpy-1.9.3/numpy/core/src/multiarray/einsum.c.src +0 -3013
  495. numpy-1.9.3/numpy/core/src/multiarray/getset.c +0 -984
  496. numpy-1.9.3/numpy/core/src/multiarray/hashdescr.c +0 -319
  497. numpy-1.9.3/numpy/core/src/multiarray/item_selection.c +0 -2711
  498. numpy-1.9.3/numpy/core/src/multiarray/iterators.c +0 -2160
  499. numpy-1.9.3/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +0 -1767
  500. numpy-1.9.3/numpy/core/src/multiarray/mapping.c +0 -3316
  501. numpy-1.9.3/numpy/core/src/multiarray/mapping.h +0 -73
  502. numpy-1.9.3/numpy/core/src/multiarray/methods.c +0 -2497
  503. numpy-1.9.3/numpy/core/src/multiarray/multiarray_tests.c.src +0 -977
  504. numpy-1.9.3/numpy/core/src/multiarray/multiarraymodule.c +0 -4200
  505. numpy-1.9.3/numpy/core/src/multiarray/multiarraymodule.h +0 -4
  506. numpy-1.9.3/numpy/core/src/multiarray/nditer_api.c +0 -2809
  507. numpy-1.9.3/numpy/core/src/multiarray/nditer_constr.c +0 -3159
  508. numpy-1.9.3/numpy/core/src/multiarray/nditer_pywrap.c +0 -2492
  509. numpy-1.9.3/numpy/core/src/multiarray/number.c +0 -1057
  510. numpy-1.9.3/numpy/core/src/multiarray/number.h +0 -76
  511. numpy-1.9.3/numpy/core/src/multiarray/numpymemoryview.c +0 -309
  512. numpy-1.9.3/numpy/core/src/multiarray/numpyos.c +0 -683
  513. numpy-1.9.3/numpy/core/src/multiarray/scalarapi.c +0 -861
  514. numpy-1.9.3/numpy/core/src/multiarray/scalartypes.c.src +0 -4270
  515. numpy-1.9.3/numpy/core/src/multiarray/scalartypes.h +0 -52
  516. numpy-1.9.3/numpy/core/src/multiarray/shape.c +0 -1141
  517. numpy-1.9.3/numpy/core/src/multiarray/ucsnarrow.c +0 -173
  518. numpy-1.9.3/numpy/core/src/npymath/ieee754.c.src +0 -814
  519. numpy-1.9.3/numpy/core/src/npymath/npy_math.c.src +0 -527
  520. numpy-1.9.3/numpy/core/src/npymath/npy_math_complex.c.src +0 -291
  521. numpy-1.9.3/numpy/core/src/npymath/npy_math_private.h +0 -539
  522. numpy-1.9.3/numpy/core/src/npysort/heapsort.c.src +0 -341
  523. numpy-1.9.3/numpy/core/src/npysort/mergesort.c.src +0 -428
  524. numpy-1.9.3/numpy/core/src/npysort/npysort_common.h +0 -367
  525. numpy-1.9.3/numpy/core/src/npysort/quicksort.c.src +0 -363
  526. numpy-1.9.3/numpy/core/src/npysort/selection.c.src +0 -474
  527. numpy-1.9.3/numpy/core/src/private/npy_config.h +0 -68
  528. numpy-1.9.3/numpy/core/src/private/npy_partition.h.src +0 -138
  529. numpy-1.9.3/numpy/core/src/private/npy_sort.h +0 -194
  530. numpy-1.9.3/numpy/core/src/private/scalarmathmodule.h.src +0 -42
  531. numpy-1.9.3/numpy/core/src/private/ufunc_override.h +0 -384
  532. numpy-1.9.3/numpy/core/src/scalarmathmodule.c.src +0 -1980
  533. numpy-1.9.3/numpy/core/src/umath/funcs.inc.src +0 -715
  534. numpy-1.9.3/numpy/core/src/umath/loops.c.src +0 -2654
  535. numpy-1.9.3/numpy/core/src/umath/loops.h.src +0 -501
  536. numpy-1.9.3/numpy/core/src/umath/operand_flag_tests.c.src +0 -105
  537. numpy-1.9.3/numpy/core/src/umath/simd.inc.src +0 -881
  538. numpy-1.9.3/numpy/core/src/umath/test_rational.c.src +0 -1404
  539. numpy-1.9.3/numpy/core/src/umath/ufunc_object.c +0 -5520
  540. numpy-1.9.3/numpy/core/src/umath/ufunc_type_resolution.c +0 -2164
  541. numpy-1.9.3/numpy/core/src/umath/umath_tests.c.src +0 -341
  542. numpy-1.9.3/numpy/core/src/umath/umathmodule.c +0 -561
  543. numpy-1.9.3/numpy/core/tests/test_abc.py +0 -45
  544. numpy-1.9.3/numpy/core/tests/test_api.py +0 -514
  545. numpy-1.9.3/numpy/core/tests/test_arrayprint.py +0 -167
  546. numpy-1.9.3/numpy/core/tests/test_blasdot.py +0 -249
  547. numpy-1.9.3/numpy/core/tests/test_datetime.py +0 -1781
  548. numpy-1.9.3/numpy/core/tests/test_defchararray.py +0 -642
  549. numpy-1.9.3/numpy/core/tests/test_deprecations.py +0 -512
  550. numpy-1.9.3/numpy/core/tests/test_dtype.py +0 -542
  551. numpy-1.9.3/numpy/core/tests/test_einsum.py +0 -583
  552. numpy-1.9.3/numpy/core/tests/test_errstate.py +0 -51
  553. numpy-1.9.3/numpy/core/tests/test_function_base.py +0 -111
  554. numpy-1.9.3/numpy/core/tests/test_getlimits.py +0 -86
  555. numpy-1.9.3/numpy/core/tests/test_half.py +0 -439
  556. numpy-1.9.3/numpy/core/tests/test_indexerrors.py +0 -127
  557. numpy-1.9.3/numpy/core/tests/test_indexing.py +0 -1014
  558. numpy-1.9.3/numpy/core/tests/test_item_selection.py +0 -70
  559. numpy-1.9.3/numpy/core/tests/test_machar.py +0 -30
  560. numpy-1.9.3/numpy/core/tests/test_memmap.py +0 -127
  561. numpy-1.9.3/numpy/core/tests/test_multiarray.py +0 -4645
  562. numpy-1.9.3/numpy/core/tests/test_multiarray_assignment.py +0 -80
  563. numpy-1.9.3/numpy/core/tests/test_nditer.py +0 -2630
  564. numpy-1.9.3/numpy/core/tests/test_numeric.py +0 -2117
  565. numpy-1.9.3/numpy/core/tests/test_numerictypes.py +0 -377
  566. numpy-1.9.3/numpy/core/tests/test_print.py +0 -245
  567. numpy-1.9.3/numpy/core/tests/test_records.py +0 -185
  568. numpy-1.9.3/numpy/core/tests/test_regression.py +0 -2115
  569. numpy-1.9.3/numpy/core/tests/test_scalarinherit.py +0 -34
  570. numpy-1.9.3/numpy/core/tests/test_scalarmath.py +0 -275
  571. numpy-1.9.3/numpy/core/tests/test_shape_base.py +0 -250
  572. numpy-1.9.3/numpy/core/tests/test_ufunc.py +0 -1153
  573. numpy-1.9.3/numpy/core/tests/test_umath.py +0 -1695
  574. numpy-1.9.3/numpy/core/tests/test_umath_complex.py +0 -537
  575. numpy-1.9.3/numpy/core/tests/test_unicode.py +0 -357
  576. numpy-1.9.3/numpy/distutils/__init__.py +0 -39
  577. numpy-1.9.3/numpy/distutils/ccompiler.py +0 -656
  578. numpy-1.9.3/numpy/distutils/command/autodist.py +0 -43
  579. numpy-1.9.3/numpy/distutils/command/build.py +0 -39
  580. numpy-1.9.3/numpy/distutils/command/build_clib.py +0 -284
  581. numpy-1.9.3/numpy/distutils/command/build_ext.py +0 -515
  582. numpy-1.9.3/numpy/distutils/command/config.py +0 -476
  583. numpy-1.9.3/numpy/distutils/exec_command.py +0 -618
  584. numpy-1.9.3/numpy/distutils/fcompiler/compaq.py +0 -128
  585. numpy-1.9.3/numpy/distutils/fcompiler/gnu.py +0 -390
  586. numpy-1.9.3/numpy/distutils/fcompiler/intel.py +0 -205
  587. numpy-1.9.3/numpy/distutils/fcompiler/pg.py +0 -60
  588. numpy-1.9.3/numpy/distutils/fcompiler/sun.py +0 -52
  589. numpy-1.9.3/numpy/distutils/intelccompiler.py +0 -45
  590. numpy-1.9.3/numpy/distutils/lib2def.py +0 -116
  591. numpy-1.9.3/numpy/distutils/mingw32ccompiler.py +0 -582
  592. numpy-1.9.3/numpy/distutils/misc_util.py +0 -2271
  593. numpy-1.9.3/numpy/distutils/npy_pkg_config.py +0 -464
  594. numpy-1.9.3/numpy/distutils/system_info.py +0 -2319
  595. numpy-1.9.3/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +0 -13
  596. numpy-1.9.3/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +0 -12
  597. numpy-1.9.3/numpy/distutils/tests/gen_ext/tests/test_fib3.py +0 -12
  598. numpy-1.9.3/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +0 -14
  599. numpy-1.9.3/numpy/distutils/tests/swig_ext/tests/test_example.py +0 -18
  600. numpy-1.9.3/numpy/distutils/tests/swig_ext/tests/test_example2.py +0 -16
  601. numpy-1.9.3/numpy/distutils/tests/test_fcompiler_gnu.py +0 -53
  602. numpy-1.9.3/numpy/distutils/tests/test_fcompiler_intel.py +0 -36
  603. numpy-1.9.3/numpy/distutils/tests/test_misc_util.py +0 -75
  604. numpy-1.9.3/numpy/distutils/tests/test_npy_pkg_config.py +0 -98
  605. numpy-1.9.3/numpy/distutils/unixccompiler.py +0 -113
  606. numpy-1.9.3/numpy/doc/byteswapping.py +0 -147
  607. numpy-1.9.3/numpy/doc/creation.py +0 -144
  608. numpy-1.9.3/numpy/doc/glossary.py +0 -418
  609. numpy-1.9.3/numpy/doc/indexing.py +0 -437
  610. numpy-1.9.3/numpy/doc/structured_arrays.py +0 -223
  611. numpy-1.9.3/numpy/f2py/__init__.py +0 -49
  612. numpy-1.9.3/numpy/f2py/auxfuncs.py +0 -711
  613. numpy-1.9.3/numpy/f2py/capi_maps.py +0 -773
  614. numpy-1.9.3/numpy/f2py/cb_rules.py +0 -539
  615. numpy-1.9.3/numpy/f2py/cfuncs.py +0 -1224
  616. numpy-1.9.3/numpy/f2py/common_rules.py +0 -132
  617. numpy-1.9.3/numpy/f2py/crackfortran.py +0 -2870
  618. numpy-1.9.3/numpy/f2py/diagnose.py +0 -149
  619. numpy-1.9.3/numpy/f2py/f2py2e.py +0 -598
  620. numpy-1.9.3/numpy/f2py/f2py_testing.py +0 -46
  621. numpy-1.9.3/numpy/f2py/f90mod_rules.py +0 -246
  622. numpy-1.9.3/numpy/f2py/func2subr.py +0 -291
  623. numpy-1.9.3/numpy/f2py/rules.py +0 -1448
  624. numpy-1.9.3/numpy/f2py/setup.py +0 -129
  625. numpy-1.9.3/numpy/f2py/src/fortranobject.c +0 -972
  626. numpy-1.9.3/numpy/f2py/src/fortranobject.h +0 -162
  627. numpy-1.9.3/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +0 -223
  628. numpy-1.9.3/numpy/f2py/tests/test_array_from_pyobj.py +0 -559
  629. numpy-1.9.3/numpy/f2py/tests/test_assumed_shape.py +0 -37
  630. numpy-1.9.3/numpy/f2py/tests/test_callback.py +0 -132
  631. numpy-1.9.3/numpy/f2py/tests/test_kind.py +0 -36
  632. numpy-1.9.3/numpy/f2py/tests/test_mixed.py +0 -41
  633. numpy-1.9.3/numpy/f2py/tests/test_regression.py +0 -32
  634. numpy-1.9.3/numpy/f2py/tests/test_return_character.py +0 -142
  635. numpy-1.9.3/numpy/f2py/tests/test_return_complex.py +0 -169
  636. numpy-1.9.3/numpy/f2py/tests/test_return_integer.py +0 -178
  637. numpy-1.9.3/numpy/f2py/tests/test_return_logical.py +0 -187
  638. numpy-1.9.3/numpy/f2py/tests/test_return_real.py +0 -203
  639. numpy-1.9.3/numpy/f2py/tests/test_size.py +0 -47
  640. numpy-1.9.3/numpy/f2py/tests/util.py +0 -353
  641. numpy-1.9.3/numpy/f2py/use_rules.py +0 -109
  642. numpy-1.9.3/numpy/fft/fftpack.c +0 -1501
  643. numpy-1.9.3/numpy/fft/fftpack.h +0 -28
  644. numpy-1.9.3/numpy/fft/fftpack.py +0 -1169
  645. numpy-1.9.3/numpy/fft/fftpack_litemodule.c +0 -371
  646. numpy-1.9.3/numpy/fft/info.py +0 -179
  647. numpy-1.9.3/numpy/fft/setup.py +0 -20
  648. numpy-1.9.3/numpy/fft/tests/test_fftpack.py +0 -75
  649. numpy-1.9.3/numpy/fft/tests/test_helper.py +0 -78
  650. numpy-1.9.3/numpy/lib/_iotools.py +0 -891
  651. numpy-1.9.3/numpy/lib/arraypad.py +0 -1475
  652. numpy-1.9.3/numpy/lib/arraysetops.py +0 -464
  653. numpy-1.9.3/numpy/lib/arrayterator.py +0 -226
  654. numpy-1.9.3/numpy/lib/financial.py +0 -737
  655. numpy-1.9.3/numpy/lib/format.py +0 -771
  656. numpy-1.9.3/numpy/lib/function_base.py +0 -3884
  657. numpy-1.9.3/numpy/lib/index_tricks.py +0 -869
  658. numpy-1.9.3/numpy/lib/info.py +0 -151
  659. numpy-1.9.3/numpy/lib/nanfunctions.py +0 -1158
  660. numpy-1.9.3/numpy/lib/npyio.py +0 -1871
  661. numpy-1.9.3/numpy/lib/polynomial.py +0 -1271
  662. numpy-1.9.3/numpy/lib/recfunctions.py +0 -1003
  663. numpy-1.9.3/numpy/lib/setup.py +0 -23
  664. numpy-1.9.3/numpy/lib/shape_base.py +0 -865
  665. numpy-1.9.3/numpy/lib/src/_compiled_base.c +0 -1761
  666. numpy-1.9.3/numpy/lib/stride_tricks.py +0 -123
  667. numpy-1.9.3/numpy/lib/tests/test__iotools.py +0 -326
  668. numpy-1.9.3/numpy/lib/tests/test__version.py +0 -57
  669. numpy-1.9.3/numpy/lib/tests/test_arraypad.py +0 -560
  670. numpy-1.9.3/numpy/lib/tests/test_arraysetops.py +0 -301
  671. numpy-1.9.3/numpy/lib/tests/test_financial.py +0 -160
  672. numpy-1.9.3/numpy/lib/tests/test_format.py +0 -716
  673. numpy-1.9.3/numpy/lib/tests/test_function_base.py +0 -2145
  674. numpy-1.9.3/numpy/lib/tests/test_index_tricks.py +0 -289
  675. numpy-1.9.3/numpy/lib/tests/test_io.py +0 -1754
  676. numpy-1.9.3/numpy/lib/tests/test_nanfunctions.py +0 -774
  677. numpy-1.9.3/numpy/lib/tests/test_polynomial.py +0 -177
  678. numpy-1.9.3/numpy/lib/tests/test_recfunctions.py +0 -705
  679. numpy-1.9.3/numpy/lib/tests/test_shape_base.py +0 -368
  680. numpy-1.9.3/numpy/lib/tests/test_stride_tricks.py +0 -238
  681. numpy-1.9.3/numpy/lib/tests/test_twodim_base.py +0 -504
  682. numpy-1.9.3/numpy/lib/tests/test_type_check.py +0 -328
  683. numpy-1.9.3/numpy/lib/twodim_base.py +0 -1003
  684. numpy-1.9.3/numpy/lib/type_check.py +0 -605
  685. numpy-1.9.3/numpy/lib/utils.py +0 -1176
  686. numpy-1.9.3/numpy/linalg/lapack_lite/python_xerbla.c +0 -47
  687. numpy-1.9.3/numpy/linalg/lapack_litemodule.c +0 -362
  688. numpy-1.9.3/numpy/linalg/linalg.py +0 -2136
  689. numpy-1.9.3/numpy/linalg/tests/test_build.py +0 -53
  690. numpy-1.9.3/numpy/linalg/tests/test_linalg.py +0 -1156
  691. numpy-1.9.3/numpy/linalg/tests/test_regression.py +0 -90
  692. numpy-1.9.3/numpy/linalg/umath_linalg.c.src +0 -3210
  693. numpy-1.9.3/numpy/ma/__init__.py +0 -58
  694. numpy-1.9.3/numpy/ma/bench.py +0 -166
  695. numpy-1.9.3/numpy/ma/core.py +0 -7374
  696. numpy-1.9.3/numpy/ma/extras.py +0 -1932
  697. numpy-1.9.3/numpy/ma/mrecords.py +0 -734
  698. numpy-1.9.3/numpy/ma/setup.py +0 -20
  699. numpy-1.9.3/numpy/ma/tests/test_core.py +0 -3706
  700. numpy-1.9.3/numpy/ma/tests/test_extras.py +0 -954
  701. numpy-1.9.3/numpy/ma/tests/test_mrecords.py +0 -521
  702. numpy-1.9.3/numpy/ma/tests/test_old_ma.py +0 -869
  703. numpy-1.9.3/numpy/ma/tests/test_regression.py +0 -75
  704. numpy-1.9.3/numpy/ma/tests/test_subclassing.py +0 -236
  705. numpy-1.9.3/numpy/ma/testutils.py +0 -240
  706. numpy-1.9.3/numpy/ma/timer_comparison.py +0 -459
  707. numpy-1.9.3/numpy/matlib.py +0 -358
  708. numpy-1.9.3/numpy/matrixlib/defmatrix.py +0 -1094
  709. numpy-1.9.3/numpy/matrixlib/tests/test_defmatrix.py +0 -400
  710. numpy-1.9.3/numpy/matrixlib/tests/test_multiarray.py +0 -18
  711. numpy-1.9.3/numpy/matrixlib/tests/test_numeric.py +0 -10
  712. numpy-1.9.3/numpy/matrixlib/tests/test_regression.py +0 -34
  713. numpy-1.9.3/numpy/polynomial/_polybase.py +0 -962
  714. numpy-1.9.3/numpy/polynomial/chebyshev.py +0 -2056
  715. numpy-1.9.3/numpy/polynomial/hermite.py +0 -1789
  716. numpy-1.9.3/numpy/polynomial/hermite_e.py +0 -1786
  717. numpy-1.9.3/numpy/polynomial/laguerre.py +0 -1781
  718. numpy-1.9.3/numpy/polynomial/legendre.py +0 -1809
  719. numpy-1.9.3/numpy/polynomial/polytemplate.py +0 -927
  720. numpy-1.9.3/numpy/polynomial/polyutils.py +0 -403
  721. numpy-1.9.3/numpy/random/mtrand/distributions.c +0 -892
  722. numpy-1.9.3/numpy/random/mtrand/mtrand.c +0 -36656
  723. numpy-1.9.3/numpy/random/mtrand/mtrand.pyx +0 -4706
  724. numpy-1.9.3/numpy/random/setup.py +0 -74
  725. numpy-1.9.3/numpy/random/tests/test_random.py +0 -707
  726. numpy-1.9.3/numpy/random/tests/test_regression.py +0 -86
  727. numpy-1.9.3/numpy/setup.py +0 -27
  728. numpy-1.9.3/numpy/testing/__init__.py +0 -16
  729. numpy-1.9.3/numpy/testing/decorators.py +0 -271
  730. numpy-1.9.3/numpy/testing/noseclasses.py +0 -353
  731. numpy-1.9.3/numpy/testing/nosetester.py +0 -504
  732. numpy-1.9.3/numpy/testing/print_coercion_tables.py +0 -89
  733. numpy-1.9.3/numpy/testing/setup.py +0 -20
  734. numpy-1.9.3/numpy/testing/tests/test_decorators.py +0 -185
  735. numpy-1.9.3/numpy/testing/tests/test_utils.py +0 -558
  736. numpy-1.9.3/numpy/testing/utils.py +0 -1715
  737. numpy-1.9.3/numpy/tests/test_ctypeslib.py +0 -102
  738. numpy-1.9.3/numpy/tests/test_matlib.py +0 -55
  739. numpy-1.9.3/numpy/version.py +0 -10
  740. numpy-1.9.3/setup.py +0 -251
  741. numpy-1.9.3/site.cfg.example +0 -157
  742. numpy-1.9.3/tools/swig/README +0 -135
  743. numpy-1.9.3/tools/swig/numpy.i +0 -3085
  744. numpy-1.9.3/tools/swig/test/Array.i +0 -102
  745. numpy-1.9.3/tools/swig/test/Makefile +0 -34
  746. numpy-1.9.3/tools/swig/test/setup.py +0 -64
  747. numpy-1.9.3/tools/swig/test/testArray.py +0 -284
  748. numpy-1.9.3/tools/swig/test/testFarray.py +0 -159
  749. numpy-1.9.3/tools/swig/test/testFortran.py +0 -173
  750. numpy-1.9.3/tools/swig/test/testMatrix.py +0 -362
  751. numpy-1.9.3/tools/swig/test/testSuperTensor.py +0 -388
  752. numpy-1.9.3/tools/swig/test/testTensor.py +0 -402
  753. numpy-1.9.3/tools/swig/test/testVector.py +0 -381
  754. {numpy-1.9.3 → numpy-1.10.0.post2}/BENTO_BUILD.txt +0 -0
  755. {numpy-1.9.3 → numpy-1.10.0.post2}/COMPATIBILITY +0 -0
  756. {numpy-1.9.3 → numpy-1.10.0.post2}/DEV_README.txt +0 -0
  757. {numpy-1.9.3 → numpy-1.10.0.post2}/README.txt +0 -0
  758. {numpy-1.9.3 → numpy-1.10.0.post2}/THANKS.txt +0 -0
  759. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/Makefile +0 -0
  760. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/BUGS.txt +0 -0
  761. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/FAQ.txt +0 -0
  762. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/HISTORY.txt +0 -0
  763. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Makefile +0 -0
  764. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/OLDNEWS.txt +0 -0
  765. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/README.txt +0 -0
  766. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-1.x.txt +0 -0
  767. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-2.x.txt +0 -0
  768. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-3.x.txt +0 -0
  769. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-4.x.txt +0 -0
  770. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/TESTING.txt +0 -0
  771. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/THANKS.txt +0 -0
  772. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/TODO.txt +0 -0
  773. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/apps.tex +0 -0
  774. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/bugs.tex +0 -0
  775. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/collectinput.py +0 -0
  776. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/commands.tex +0 -0
  777. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/default.css +0 -0
  778. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/docutils.conf +0 -0
  779. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/arr.f +0 -0
  780. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/bar.f +0 -0
  781. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foo.f +0 -0
  782. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar-smart.f90 +0 -0
  783. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar.f90 +0 -0
  784. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobarmodule.tex +0 -0
  785. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/runme +0 -0
  786. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2py.1 +0 -0
  787. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2py2e.tex +0 -0
  788. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/README.txt +0 -0
  789. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/aerostructure.jpg +0 -0
  790. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/flow.jpg +0 -0
  791. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_html.sh +0 -0
  792. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_pdf.sh +0 -0
  793. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_ps.sh +0 -0
  794. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1.f +0 -0
  795. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1mess.txt +0 -0
  796. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1session.txt +0 -0
  797. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foo.pyf +0 -0
  798. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foom.pyf +0 -0
  799. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/structure.jpg +0 -0
  800. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/fortranobject.tex +0 -0
  801. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/hello.f +0 -0
  802. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/index.html +0 -0
  803. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/intro.tex +0 -0
  804. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/array_from_pyobj.c +0 -0
  805. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/bar.c +0 -0
  806. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/foo.f +0 -0
  807. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/fortran_array_from_pyobj.txt +0 -0
  808. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/fun.pyf +0 -0
  809. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/run.pyf +0 -0
  810. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/transpose.txt +0 -0
  811. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarrays.txt +0 -0
  812. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/notes.tex +0 -0
  813. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/oldnews.html +0 -0
  814. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/options.tex +0 -0
  815. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/pyforttest.pyf +0 -0
  816. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/pytest.py +0 -0
  817. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/python9.tex +0 -0
  818. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/signaturefile.tex +0 -0
  819. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/simple.f +0 -0
  820. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/simple_session.dat +0 -0
  821. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/using_F_compiler.txt +0 -0
  822. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/win32_notes.txt +0 -0
  823. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/postprocess.py +0 -0
  824. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.3.0-notes.rst +0 -0
  825. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.4.0-notes.rst +0 -0
  826. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.5.0-notes.rst +0 -0
  827. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.0-notes.rst +0 -0
  828. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.1-notes.rst +0 -0
  829. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.2-notes.rst +0 -0
  830. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.0-notes.rst +0 -0
  831. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.1-notes.rst +0 -0
  832. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.2-notes.rst +0 -0
  833. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.0-notes.rst +0 -0
  834. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.1-notes.rst +0 -0
  835. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.2-notes.rst +0 -0
  836. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.0-notes.rst +0 -0
  837. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.1-notes.rst +0 -0
  838. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.2-notes.rst +0 -0
  839. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/time_based_proposal.rst +0 -0
  840. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/.git +0 -0
  841. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/.gitignore +0 -0
  842. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/Makefile +0 -0
  843. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/README.rst +0 -0
  844. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_static/scipyshiny_small.png +0 -0
  845. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/layout.html +0 -0
  846. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/searchbox.html +0 -0
  847. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/sourcelink.html +0 -0
  848. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/extend.css +0 -0
  849. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/pygments.css +0 -0
  850. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/scipy-central.css +0 -0
  851. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-bootstrap.css +0 -0
  852. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-extend.css +0 -0
  853. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/all-icons.svg +0 -0
  854. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/contents.png +0 -0
  855. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/create-new-account-icon.png +0 -0
  856. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon-shrunk.png +0 -0
  857. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.png +0 -0
  858. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.svg +0 -0
  859. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon-tiniest.png +0 -0
  860. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon-tiny.png +0 -0
  861. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon.png +0 -0
  862. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ad.png +0 -0
  863. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ae.png +0 -0
  864. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-af.png +0 -0
  865. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ag.png +0 -0
  866. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ai.png +0 -0
  867. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-al.png +0 -0
  868. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-am.png +0 -0
  869. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ao.png +0 -0
  870. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aq.png +0 -0
  871. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ar.png +0 -0
  872. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-as.png +0 -0
  873. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-at.png +0 -0
  874. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-au.png +0 -0
  875. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aw.png +0 -0
  876. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-az.png +0 -0
  877. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ba.png +0 -0
  878. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bb.png +0 -0
  879. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bd.png +0 -0
  880. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-be.png +0 -0
  881. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bf.png +0 -0
  882. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bg.png +0 -0
  883. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bh.png +0 -0
  884. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bi.png +0 -0
  885. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bj.png +0 -0
  886. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bl.png +0 -0
  887. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bm.png +0 -0
  888. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bn.png +0 -0
  889. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bo.png +0 -0
  890. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-br.png +0 -0
  891. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bs.png +0 -0
  892. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bt.png +0 -0
  893. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bw.png +0 -0
  894. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-by.png +0 -0
  895. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bz.png +0 -0
  896. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ca.png +0 -0
  897. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cc.png +0 -0
  898. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cd.png +0 -0
  899. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cf.png +0 -0
  900. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cg.png +0 -0
  901. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ch.png +0 -0
  902. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ci.png +0 -0
  903. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ck.png +0 -0
  904. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cl.png +0 -0
  905. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cm.png +0 -0
  906. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cn.png +0 -0
  907. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-co.png +0 -0
  908. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cr.png +0 -0
  909. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cu.png +0 -0
  910. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cv.png +0 -0
  911. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cw.png +0 -0
  912. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cx.png +0 -0
  913. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cy.png +0 -0
  914. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cz.png +0 -0
  915. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-de.png +0 -0
  916. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dj.png +0 -0
  917. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dk.png +0 -0
  918. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dm.png +0 -0
  919. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-do.png +0 -0
  920. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dz.png +0 -0
  921. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ec.png +0 -0
  922. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ee.png +0 -0
  923. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-eg.png +0 -0
  924. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-er.png +0 -0
  925. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-es.png +0 -0
  926. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-et.png +0 -0
  927. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fi.png +0 -0
  928. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fj.png +0 -0
  929. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fk.png +0 -0
  930. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fm.png +0 -0
  931. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fo.png +0 -0
  932. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fr.png +0 -0
  933. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ga.png +0 -0
  934. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gb.png +0 -0
  935. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gd.png +0 -0
  936. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ge.png +0 -0
  937. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gf.png +0 -0
  938. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gg.png +0 -0
  939. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gh.png +0 -0
  940. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gi.png +0 -0
  941. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gl.png +0 -0
  942. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gm.png +0 -0
  943. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gn.png +0 -0
  944. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gq.png +0 -0
  945. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gr.png +0 -0
  946. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gs.png +0 -0
  947. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gt.png +0 -0
  948. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gu.png +0 -0
  949. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gw.png +0 -0
  950. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gy.png +0 -0
  951. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hk.png +0 -0
  952. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hm.png +0 -0
  953. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hn.png +0 -0
  954. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hr.png +0 -0
  955. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ht.png +0 -0
  956. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hu.png +0 -0
  957. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-id.png +0 -0
  958. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ie.png +0 -0
  959. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-il.png +0 -0
  960. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-im.png +0 -0
  961. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-in.png +0 -0
  962. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-io.png +0 -0
  963. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-iq.png +0 -0
  964. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ir.png +0 -0
  965. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-is.png +0 -0
  966. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-it.png +0 -0
  967. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-je.png +0 -0
  968. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jm.png +0 -0
  969. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jo.png +0 -0
  970. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jp.png +0 -0
  971. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ke.png +0 -0
  972. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kg.png +0 -0
  973. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kh.png +0 -0
  974. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ki.png +0 -0
  975. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-km.png +0 -0
  976. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kn.png +0 -0
  977. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kp.png +0 -0
  978. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kr.png +0 -0
  979. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kw.png +0 -0
  980. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ky.png +0 -0
  981. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kz.png +0 -0
  982. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-la.png +0 -0
  983. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lb.png +0 -0
  984. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lc.png +0 -0
  985. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-li.png +0 -0
  986. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lk.png +0 -0
  987. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lr.png +0 -0
  988. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ls.png +0 -0
  989. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lt.png +0 -0
  990. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lu.png +0 -0
  991. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lv.png +0 -0
  992. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ly.png +0 -0
  993. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ma.png +0 -0
  994. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mc.png +0 -0
  995. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-md.png +0 -0
  996. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-me.png +0 -0
  997. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mf.png +0 -0
  998. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mg.png +0 -0
  999. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mh.png +0 -0
  1000. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mk.png +0 -0
  1001. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ml.png +0 -0
  1002. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mm.png +0 -0
  1003. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mn.png +0 -0
  1004. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mo.png +0 -0
  1005. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mp.png +0 -0
  1006. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mq.png +0 -0
  1007. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mr.png +0 -0
  1008. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ms.png +0 -0
  1009. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mt.png +0 -0
  1010. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mu.png +0 -0
  1011. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mv.png +0 -0
  1012. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mw.png +0 -0
  1013. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mx.png +0 -0
  1014. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-my.png +0 -0
  1015. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mz.png +0 -0
  1016. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-na.png +0 -0
  1017. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nc.png +0 -0
  1018. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ne.png +0 -0
  1019. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nf.png +0 -0
  1020. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ng.png +0 -0
  1021. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ni.png +0 -0
  1022. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nl.png +0 -0
  1023. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-no.png +0 -0
  1024. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-np.png +0 -0
  1025. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nr.png +0 -0
  1026. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nu.png +0 -0
  1027. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nz.png +0 -0
  1028. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-om.png +0 -0
  1029. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pa.png +0 -0
  1030. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pe.png +0 -0
  1031. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pf.png +0 -0
  1032. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pg.png +0 -0
  1033. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ph.png +0 -0
  1034. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pk.png +0 -0
  1035. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pl.png +0 -0
  1036. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pm.png +0 -0
  1037. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pn.png +0 -0
  1038. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pr.png +0 -0
  1039. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ps.png +0 -0
  1040. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pt.png +0 -0
  1041. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pw.png +0 -0
  1042. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-py.png +0 -0
  1043. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-qa.png +0 -0
  1044. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-re.png +0 -0
  1045. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ro.png +0 -0
  1046. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rs.png +0 -0
  1047. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ru.png +0 -0
  1048. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rw.png +0 -0
  1049. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sa.png +0 -0
  1050. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sb.png +0 -0
  1051. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sc.png +0 -0
  1052. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sd.png +0 -0
  1053. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-se.png +0 -0
  1054. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sg.png +0 -0
  1055. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sh.png +0 -0
  1056. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-si.png +0 -0
  1057. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sj.png +0 -0
  1058. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sk.png +0 -0
  1059. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sl.png +0 -0
  1060. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sm.png +0 -0
  1061. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sn.png +0 -0
  1062. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-so.png +0 -0
  1063. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sr.png +0 -0
  1064. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-st.png +0 -0
  1065. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sv.png +0 -0
  1066. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sy.png +0 -0
  1067. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sz.png +0 -0
  1068. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tc.png +0 -0
  1069. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-td.png +0 -0
  1070. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tf.png +0 -0
  1071. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tg.png +0 -0
  1072. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-th.png +0 -0
  1073. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tj.png +0 -0
  1074. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tk.png +0 -0
  1075. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tl.png +0 -0
  1076. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tm.png +0 -0
  1077. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tn.png +0 -0
  1078. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-to.png +0 -0
  1079. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tr.png +0 -0
  1080. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tt.png +0 -0
  1081. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tv.png +0 -0
  1082. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tw.png +0 -0
  1083. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tz.png +0 -0
  1084. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ua.png +0 -0
  1085. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ug.png +0 -0
  1086. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-um.png +0 -0
  1087. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-us.png +0 -0
  1088. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uy.png +0 -0
  1089. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uz.png +0 -0
  1090. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-va.png +0 -0
  1091. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vc.png +0 -0
  1092. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ve.png +0 -0
  1093. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vg.png +0 -0
  1094. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vi.png +0 -0
  1095. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vn.png +0 -0
  1096. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vu.png +0 -0
  1097. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-wf.png +0 -0
  1098. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ws.png +0 -0
  1099. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ye.png +0 -0
  1100. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-za.png +0 -0
  1101. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zm.png +0 -0
  1102. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zw.png +0 -0
  1103. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings-white.png +0 -0
  1104. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings.png +0 -0
  1105. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/important-icon.png +0 -0
  1106. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/information-icon.png +0 -0
  1107. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/internet-web-browser.png +0 -0
  1108. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon-shrunk.png +0 -0
  1109. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.png +0 -0
  1110. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.svg +0 -0
  1111. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon-tiny.png +0 -0
  1112. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon.png +0 -0
  1113. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/navigation.png +0 -0
  1114. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon-tiny.png +0 -0
  1115. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon.png +0 -0
  1116. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy-logo.png +0 -0
  1117. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy_org_logo.gif +0 -0
  1118. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipycentral_logo.png +0 -0
  1119. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipyshiny_small.png +0 -0
  1120. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/send-email-icon.png +0 -0
  1121. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon-shrunk.png +0 -0
  1122. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.png +0 -0
  1123. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.svg +0 -0
  1124. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon-tiniest.png +0 -0
  1125. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon-tiny.png +0 -0
  1126. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon.png +0 -0
  1127. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/transparent-pixel.gif +0 -0
  1128. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/ui-anim_basic_16x16.gif +0 -0
  1129. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/js/copybutton.js +0 -0
  1130. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/accordion.less +0 -0
  1131. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/alerts.less +0 -0
  1132. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/bootstrap.less +0 -0
  1133. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/breadcrumbs.less +0 -0
  1134. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/button-groups.less +0 -0
  1135. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/buttons.less +0 -0
  1136. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/carousel.less +0 -0
  1137. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/close.less +0 -0
  1138. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/code.less +0 -0
  1139. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/component-animations.less +0 -0
  1140. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/dropdowns.less +0 -0
  1141. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/forms.less +0 -0
  1142. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/grid.less +0 -0
  1143. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/hero-unit.less +0 -0
  1144. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/labels-badges.less +0 -0
  1145. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/layouts.less +0 -0
  1146. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/media.less +0 -0
  1147. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/mixins.less +0 -0
  1148. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/modals.less +0 -0
  1149. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navbar.less +0 -0
  1150. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navs.less +0 -0
  1151. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pager.less +0 -0
  1152. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pagination.less +0 -0
  1153. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/popovers.less +0 -0
  1154. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/progress-bars.less +0 -0
  1155. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/reset.less +0 -0
  1156. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-1200px-min.less +0 -0
  1157. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-767px-max.less +0 -0
  1158. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-768px-979px.less +0 -0
  1159. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-navbar.less +0 -0
  1160. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-utilities.less +0 -0
  1161. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive.less +0 -0
  1162. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/scaffolding.less +0 -0
  1163. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/sprites.less +0 -0
  1164. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tables.less +0 -0
  1165. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/thumbnails.less +0 -0
  1166. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tooltip.less +0 -0
  1167. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/type.less +0 -0
  1168. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/utilities.less +0 -0
  1169. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/variables.less +0 -0
  1170. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/wells.less +0 -0
  1171. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-bootstrap.less +0 -0
  1172. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-content.less +0 -0
  1173. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-extend.less +0 -0
  1174. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-footer.less +0 -0
  1175. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-header.less +0 -0
  1176. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-rightsidebar.less +0 -0
  1177. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-utils.less +0 -0
  1178. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/scipy.css_t +0 -0
  1179. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/theme.conf +0 -0
  1180. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/conf.py +0 -0
  1181. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/index.rst +0 -0
  1182. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc.rst +0 -0
  1183. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_2.rst +0 -0
  1184. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_3.rst +0 -0
  1185. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_4.rst +0 -0
  1186. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_optimize.rst +0 -0
  1187. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/autosummary/class.rst +0 -0
  1188. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/indexcontent.html +0 -0
  1189. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/indexsidebar.html +0 -0
  1190. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/layout.html +0 -0
  1191. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/about.rst +0 -0
  1192. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/bugs.rst +0 -0
  1193. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/contents.rst +0 -0
  1194. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/configure_git.rst +0 -0
  1195. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/development_setup.rst +0 -0
  1196. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/dot2_dot3.rst +0 -0
  1197. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/following_latest.rst +0 -0
  1198. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/forking_button.png +0 -0
  1199. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_development.rst +0 -0
  1200. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_intro.rst +0 -0
  1201. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_resources.rst +0 -0
  1202. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/pull_button.png +0 -0
  1203. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash_links.txt +0 -0
  1204. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/advanced.rst +0 -0
  1205. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/allocarr.f90 +0 -0
  1206. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/allocarr_session.dat +0 -0
  1207. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/array.f +0 -0
  1208. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/array_session.dat +0 -0
  1209. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/calculate.f +0 -0
  1210. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/calculate_session.dat +0 -0
  1211. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback.f +0 -0
  1212. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback2.pyf +0 -0
  1213. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback_session.dat +0 -0
  1214. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/common.f +0 -0
  1215. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/common_session.dat +0 -0
  1216. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/compile_session.dat +0 -0
  1217. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/distutils.rst +0 -0
  1218. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/extcallback.f +0 -0
  1219. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/extcallback_session.dat +0 -0
  1220. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib1.f +0 -0
  1221. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib1.pyf +0 -0
  1222. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib2.pyf +0 -0
  1223. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib3.f +0 -0
  1224. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/ftype.f +0 -0
  1225. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/ftype_session.dat +0 -0
  1226. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/getting-started.rst +0 -0
  1227. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/index.rst +0 -0
  1228. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/moddata.f90 +0 -0
  1229. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/moddata_session.dat +0 -0
  1230. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/python-usage.rst +0 -0
  1231. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/run_main_session.dat +0 -0
  1232. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/scalar.f +0 -0
  1233. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/scalar_session.dat +0 -0
  1234. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/setup_example.py +0 -0
  1235. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/signature-file.rst +0 -0
  1236. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/spam.pyf +0 -0
  1237. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/spam_session.dat +0 -0
  1238. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/string.f +0 -0
  1239. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/string_session.dat +0 -0
  1240. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/usage.rst +0 -0
  1241. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/var.pyf +0 -0
  1242. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/var_session.dat +0 -0
  1243. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/glossary.rst +0 -0
  1244. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/license.rst +0 -0
  1245. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal.rst +0 -0
  1246. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal3.rst +0 -0
  1247. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/deferred-ufunc-evaluation.rst +0 -0
  1248. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/generalized-ufuncs.rst +0 -0
  1249. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/groupby_additions.rst +0 -0
  1250. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/index.rst +0 -0
  1251. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/math_config_clean.rst +0 -0
  1252. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/missing-data.rst +0 -0
  1253. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/new-iterator-ufunc.rst +0 -0
  1254. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/newbugtracker.rst +0 -0
  1255. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/npy-format.rst +0 -0
  1256. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/structured_array_extensions.rst +0 -0
  1257. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/ufunc-overrides.rst +0 -0
  1258. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/warnfix.rst +0 -0
  1259. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.datetime.rst +0 -0
  1260. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.nditer.rst +0 -0
  1261. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.rst +0 -0
  1262. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/c-api.deprecations.rst +0 -0
  1263. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/c-api.rst +0 -0
  1264. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/distutils.rst +0 -0
  1265. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.dia +0 -0
  1266. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.pdf +0 -0
  1267. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.png +0 -0
  1268. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.fig +0 -0
  1269. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.pdf +0 -0
  1270. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.png +0 -0
  1271. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/internals.rst +0 -0
  1272. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.baseclass.rst +0 -0
  1273. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.generic.rst +0 -0
  1274. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.rst +0 -0
  1275. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.array-creation.rst +0 -0
  1276. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.bitwise.rst +0 -0
  1277. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.char.rst +0 -0
  1278. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.ctypeslib.rst +0 -0
  1279. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.datetime.rst +0 -0
  1280. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.dtype.rst +0 -0
  1281. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.dual.rst +0 -0
  1282. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.emath.rst +0 -0
  1283. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.err.rst +0 -0
  1284. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.fft.rst +0 -0
  1285. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.financial.rst +0 -0
  1286. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.functional.rst +0 -0
  1287. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.help.rst +0 -0
  1288. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.indexing.rst +0 -0
  1289. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.logic.rst +0 -0
  1290. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.math.rst +0 -0
  1291. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.matlib.rst +0 -0
  1292. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.numarray.rst +0 -0
  1293. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.oldnumeric.rst +0 -0
  1294. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.other.rst +0 -0
  1295. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.padding.rst +0 -0
  1296. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.chebyshev.rst +0 -0
  1297. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.classes.rst +0 -0
  1298. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite.rst +0 -0
  1299. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite_e.rst +0 -0
  1300. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.laguerre.rst +0 -0
  1301. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.legendre.rst +0 -0
  1302. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.package.rst +0 -0
  1303. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.poly1d.rst +0 -0
  1304. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.polynomial.rst +0 -0
  1305. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.rst +0 -0
  1306. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.random.rst +0 -0
  1307. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.rst +0 -0
  1308. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.set.rst +0 -0
  1309. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.testing.rst +0 -0
  1310. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.window.rst +0 -0
  1311. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/swig.rst +0 -0
  1312. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.broadcasting.rst +0 -0
  1313. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.byteswapping.rst +0 -0
  1314. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.creation.rst +0 -0
  1315. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.indexing.rst +0 -0
  1316. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.io.rst +0 -0
  1317. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.rst +0 -0
  1318. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.subclassing.rst +0 -0
  1319. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.types.rst +0 -0
  1320. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/c-info.rst +0 -0
  1321. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/howtofind.rst +0 -0
  1322. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/index.rst +0 -0
  1323. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/introduction.rst +0 -0
  1324. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/misc.rst +0 -0
  1325. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/performance.rst +0 -0
  1326. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/whatisnumpy.rst +0 -0
  1327. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.git +0 -0
  1328. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.gitignore +0 -0
  1329. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.travis.yml +0 -0
  1330. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/LICENSE.txt +0 -0
  1331. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/MANIFEST.in +0 -0
  1332. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/README.rst +0 -0
  1333. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/__init__.py +0 -0
  1334. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/comment_eater.py +0 -0
  1335. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/compiler_unparse.py +0 -0
  1336. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape.py +0 -0
  1337. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape_sphinx.py +0 -0
  1338. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/linkcode.py +0 -0
  1339. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/numpydoc.py +0 -0
  1340. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/phantom_import.py +0 -0
  1341. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/plot_directive.py +0 -0
  1342. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_docscrape.py +0 -0
  1343. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_linkcode.py +0 -0
  1344. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_phantom_import.py +0 -0
  1345. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_plot_directive.py +0 -0
  1346. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_traitsdoc.py +0 -0
  1347. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/traitsdoc.py +0 -0
  1348. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/setup.py +0 -0
  1349. {numpy-1.9.3/numpy/core/code_generators → numpy-1.10.0.post2/numpy/_build_utils}/__init__.py +0 -0
  1350. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/compat/__init__.py +0 -0
  1351. {numpy-1.9.3/numpy/distutils/tests/f2py_ext → numpy-1.10.0.post2/numpy/core/code_generators}/__init__.py +0 -0
  1352. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/code_generators/genapi.py +0 -0
  1353. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/code_generators/generate_numpy_api.py +0 -0
  1354. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/cversions.py +0 -0
  1355. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/_neighborhood_iterator_imp.h +0 -0
  1356. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/_numpyconfig.h.in +0 -0
  1357. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayobject.h +0 -0
  1358. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayscalars.h +0 -0
  1359. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/halffloat.h +0 -0
  1360. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/noprefix.h +0 -0
  1361. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_1_7_deprecated_api.h +0 -0
  1362. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_interrupt.h +0 -0
  1363. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_no_deprecated_api.h +0 -0
  1364. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_os.h +0 -0
  1365. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/old_defines.h +0 -0
  1366. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/oldnumeric.h +0 -0
  1367. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/ufuncobject.h +0 -0
  1368. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/utils.h +0 -0
  1369. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/info.py +0 -0
  1370. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/mlib.ini.in +0 -0
  1371. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/npymath.ini.in +0 -0
  1372. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/dummymodule.c +0 -0
  1373. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/_datetime.h +0 -0
  1374. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/alloc.h +0 -0
  1375. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.c +0 -0
  1376. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.h +0 -0
  1377. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_array.c +0 -0
  1378. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_scalar.c +0 -0
  1379. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/arrayobject.h +0 -0
  1380. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/buffer.h +0 -0
  1381. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/calculation.h +0 -0
  1382. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/conversion_utils.h +0 -0
  1383. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert.h +0 -0
  1384. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert_datatype.h +0 -0
  1385. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ctors.h +0 -0
  1386. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busday.h +0 -0
  1387. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busdaycal.h +0 -0
  1388. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_strings.h +0 -0
  1389. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/descriptor.h +0 -0
  1390. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/flagsobject.c +0 -0
  1391. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/getset.h +0 -0
  1392. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/hashdescr.h +0 -0
  1393. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/item_selection.h +0 -0
  1394. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/iterators.h +0 -0
  1395. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/methods.h +0 -0
  1396. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_impl.h +0 -0
  1397. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_pywrap.h +0 -0
  1398. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_templ.c.src +0 -0
  1399. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpymemoryview.h +0 -0
  1400. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpyos.h +0 -0
  1401. {numpy-1.9.3/numpy/core/blasdot → numpy-1.10.0.post2/numpy/core/src/multiarray}/python_xerbla.c +0 -0
  1402. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.c +0 -0
  1403. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.h +0 -0
  1404. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.c +0 -0
  1405. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.h +0 -0
  1406. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/shape.h +0 -0
  1407. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ucsnarrow.h +0 -0
  1408. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.c +0 -0
  1409. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.h +0 -0
  1410. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/_signbit.c +0 -0
  1411. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/halffloat.c +0 -0
  1412. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/npy_math_common.h +0 -0
  1413. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npysort/binsearch.c.src +0 -0
  1414. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/lowlevel_strided_loops.h +0 -0
  1415. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_binsearch.h.src +0 -0
  1416. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_fpmath.h +0 -0
  1417. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_pycompat.h +0 -0
  1418. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.c +0 -0
  1419. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.h +0 -0
  1420. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/struct_ufunc_test.c.src +0 -0
  1421. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_object.h +0 -0
  1422. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_type_resolution.h +0 -0
  1423. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/data/astype_copy.pkl +0 -0
  1424. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/data/recarray_from_file.fits +0 -0
  1425. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/test_scalarprint.py +0 -0
  1426. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/ctypeslib.py +0 -0
  1427. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/__version__.py +0 -0
  1428. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/__init__.py +0 -0
  1429. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/bdist_rpm.py +0 -0
  1430. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_py.py +0 -0
  1431. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_scripts.py +0 -0
  1432. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_src.py +0 -0
  1433. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/config_compiler.py +0 -0
  1434. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/develop.py +0 -0
  1435. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/egg_info.py +0 -0
  1436. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install.py +0 -0
  1437. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_clib.py +0 -0
  1438. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_data.py +0 -0
  1439. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_headers.py +0 -0
  1440. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/sdist.py +0 -0
  1441. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/compat.py +0 -0
  1442. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/conv_template.py +0 -0
  1443. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/core.py +0 -0
  1444. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/cpuinfo.py +0 -0
  1445. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/environment.py +0 -0
  1446. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/extension.py +0 -0
  1447. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/__init__.py +0 -0
  1448. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/absoft.py +0 -0
  1449. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/g95.py +0 -0
  1450. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/hpux.py +0 -0
  1451. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/ibm.py +0 -0
  1452. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/lahey.py +0 -0
  1453. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/mips.py +0 -0
  1454. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/nag.py +0 -0
  1455. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/none.py +0 -0
  1456. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/pathf95.py +0 -0
  1457. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/vast.py +0 -0
  1458. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/from_template.py +0 -0
  1459. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/info.py +0 -0
  1460. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/line_endings.py +0 -0
  1461. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/log.py +0 -0
  1462. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/mingw/gfortran_vs2003_hack.c +0 -0
  1463. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/numpy_distribution.py +0 -0
  1464. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/pathccompiler.py +0 -0
  1465. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/setup.py +0 -0
  1466. {numpy-1.9.3/numpy/distutils/tests/f2py_f90_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext}/__init__.py +0 -0
  1467. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/setup.py +0 -0
  1468. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib1.f +0 -0
  1469. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib2.pyf +0 -0
  1470. {numpy-1.9.3/numpy/distutils/tests/gen_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext}/__init__.py +0 -0
  1471. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/include/body.f90 +0 -0
  1472. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/setup.py +0 -0
  1473. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/src/foo_free.f90 +0 -0
  1474. {numpy-1.9.3/numpy/distutils/tests/pyrex_ext → numpy-1.10.0.post2/numpy/distutils/tests/gen_ext}/__init__.py +0 -0
  1475. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/gen_ext/setup.py +0 -0
  1476. {numpy-1.9.3/numpy/distutils/tests/swig_ext → numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext}/__init__.py +0 -0
  1477. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/primes.pyx +0 -0
  1478. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/setup.py +0 -0
  1479. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/setup.py +0 -0
  1480. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/setup.py +0 -0
  1481. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.c +0 -0
  1482. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.i +0 -0
  1483. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.cc +0 -0
  1484. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.h +0 -0
  1485. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.i +0 -0
  1486. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/test_exec_command.py +0 -0
  1487. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/__init__.py +0 -0
  1488. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/basics.py +0 -0
  1489. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/broadcasting.py +0 -0
  1490. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/constants.py +0 -0
  1491. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/howtofind.py +0 -0
  1492. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/internals.py +0 -0
  1493. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/io.py +0 -0
  1494. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/jargon.py +0 -0
  1495. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/methods_vs_functions.py +0 -0
  1496. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/misc.py +0 -0
  1497. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/performance.py +0 -0
  1498. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/subclassing.py +0 -0
  1499. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/ufuncs.py +0 -0
  1500. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/dual.py +0 -0
  1501. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/__version__.py +0 -0
  1502. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/info.py +0 -0
  1503. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap +0 -0
  1504. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_free.f90 +0 -0
  1505. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_mod.f90 +0 -0
  1506. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_use.f90 +0 -0
  1507. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/precision.f90 +0 -0
  1508. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/kind/foo.f90 +0 -0
  1509. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo.f +0 -0
  1510. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_fixed.f90 +0 -0
  1511. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_free.f90 +0 -0
  1512. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/regression/inout.f90 +0 -0
  1513. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/size/foo.f90 +0 -0
  1514. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/fft/__init__.py +0 -0
  1515. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/fft/helper.py +0 -0
  1516. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/__init__.py +0 -0
  1517. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/_datasource.py +0 -0
  1518. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/_version.py +0 -0
  1519. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/scimath.py +0 -0
  1520. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/data/python3.npy +0 -0
  1521. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/data/win64python2.npy +0 -0
  1522. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test__datasource.py +0 -0
  1523. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_arrayterator.py +0 -0
  1524. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_regression.py +0 -0
  1525. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_ufunclike.py +0 -0
  1526. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_utils.py +0 -0
  1527. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/ufunclike.py +0 -0
  1528. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/user_array.py +0 -0
  1529. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/__init__.py +0 -0
  1530. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/info.py +0 -0
  1531. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/blas_lite.c +0 -0
  1532. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlamch.c +0 -0
  1533. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlapack_lite.c +0 -0
  1534. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c.h +0 -0
  1535. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c_lite.c +0 -0
  1536. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/zlapack_lite.c +0 -0
  1537. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/setup.py +0 -0
  1538. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/tests/test_deprecations.py +0 -0
  1539. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/ma/version.py +0 -0
  1540. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/matrixlib/__init__.py +0 -0
  1541. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/matrixlib/setup.py +0 -0
  1542. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/__init__.py +0 -0
  1543. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/polynomial.py +0 -0
  1544. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/setup.py +0 -0
  1545. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_chebyshev.py +0 -0
  1546. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_classes.py +0 -0
  1547. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite.py +0 -0
  1548. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite_e.py +0 -0
  1549. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_laguerre.py +0 -0
  1550. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_legendre.py +0 -0
  1551. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polynomial.py +0 -0
  1552. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polyutils.py +0 -0
  1553. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_printing.py +0 -0
  1554. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/__init__.py +0 -0
  1555. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/info.py +0 -0
  1556. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/Python.pxi +0 -0
  1557. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/distributions.h +0 -0
  1558. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/generate_mtrand_c.py +0 -0
  1559. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.c +0 -0
  1560. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.h +0 -0
  1561. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/mtrand_py_helper.h +0 -0
  1562. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/numpy.pxd +0 -0
  1563. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.c +0 -0
  1564. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.h +0 -0
  1565. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/testing/tests/test_doctesting.py +0 -0
  1566. {numpy-1.9.3 → numpy-1.10.0.post2}/setupegg.py +0 -0
  1567. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/Makefile +0 -0
  1568. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/pyfragments.swg +0 -0
  1569. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array1.cxx +0 -0
  1570. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array1.h +0 -0
  1571. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array2.cxx +0 -0
  1572. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array2.h +0 -0
  1573. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.cxx +0 -0
  1574. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.h +0 -0
  1575. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.i +0 -0
  1576. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.cxx +0 -0
  1577. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.h +0 -0
  1578. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.i +0 -0
  1579. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.cxx +0 -0
  1580. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.h +0 -0
  1581. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.i +0 -0
  1582. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.cxx +0 -0
  1583. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.h +0 -0
  1584. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.i +0 -0
  1585. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.cxx +0 -0
  1586. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.h +0 -0
  1587. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.i +0 -0
  1588. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.cxx +0 -0
  1589. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.h +0 -0
  1590. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.i +0 -0
@@ -0,0 +1,3236 @@
1
+ /* -*- c -*- */
2
+
3
+ /*
4
+ *****************************************************************************
5
+ ** INCLUDES **
6
+ *****************************************************************************
7
+ */
8
+ #define NPY_NO_DEPRECATED_API NPY_API_VERSION
9
+
10
+ #include "Python.h"
11
+ #include "numpy/arrayobject.h"
12
+ #include "numpy/ufuncobject.h"
13
+
14
+ #include "npy_pycompat.h"
15
+
16
+ #include "npy_config.h"
17
+
18
+ #include <stddef.h>
19
+ #include <stdio.h>
20
+ #include <assert.h>
21
+ #include <math.h>
22
+
23
+
24
+ static const char* umath_linalg_version_string = "0.1.4";
25
+
26
+ /*
27
+ ****************************************************************************
28
+ * Debugging support *
29
+ ****************************************************************************
30
+ */
31
+ #define TRACE_TXT(...) do { fprintf (stderr, __VA_ARGS__); } while (0)
32
+ #define STACK_TRACE do {} while (0)
33
+ #define TRACE\
34
+ do { \
35
+ fprintf (stderr, \
36
+ "%s:%d:%s\n", \
37
+ __FILE__, \
38
+ __LINE__, \
39
+ __FUNCTION__); \
40
+ STACK_TRACE; \
41
+ } while (0)
42
+
43
+ #if 0
44
+ #include <execinfo.h>
45
+ void
46
+ dbg_stack_trace()
47
+ {
48
+ void *trace[32];
49
+ size_t size;
50
+
51
+ size = backtrace(trace, sizeof(trace)/sizeof(trace[0]));
52
+ backtrace_symbols_fd(trace, size, 1);
53
+ }
54
+
55
+ #undef STACK_TRACE
56
+ #define STACK_TRACE do { dbg_stack_trace(); } while (0)
57
+ #endif
58
+
59
+ /*
60
+ *****************************************************************************
61
+ * BLAS/LAPACK calling macros *
62
+ *****************************************************************************
63
+ */
64
+
65
+ #ifdef NO_APPEND_FORTRAN
66
+ # define FNAME(x) x
67
+ #else
68
+ # define FNAME(x) x##_
69
+ #endif
70
+
71
+ typedef struct { float r, i; } f2c_complex;
72
+ typedef struct { double r, i; } f2c_doublecomplex;
73
+ /* typedef long int (*L_fp)(); */
74
+
75
+ extern int
76
+ FNAME(sgeev)(char *jobvl, char *jobvr, int *n,
77
+ float a[], int *lda, float wr[], float wi[],
78
+ float vl[], int *ldvl, float vr[], int *ldvr,
79
+ float work[], int lwork[],
80
+ int *info);
81
+ extern int
82
+ FNAME(dgeev)(char *jobvl, char *jobvr, int *n,
83
+ double a[], int *lda, double wr[], double wi[],
84
+ double vl[], int *ldvl, double vr[], int *ldvr,
85
+ double work[], int lwork[],
86
+ int *info);
87
+ extern int
88
+ FNAME(cgeev)(char *jobvl, char *jobvr, int *n,
89
+ f2c_doublecomplex a[], int *lda,
90
+ f2c_doublecomplex w[],
91
+ f2c_doublecomplex vl[], int *ldvl,
92
+ f2c_doublecomplex vr[], int *ldvr,
93
+ f2c_doublecomplex work[], int *lwork,
94
+ double rwork[],
95
+ int *info);
96
+ extern int
97
+ FNAME(zgeev)(char *jobvl, char *jobvr, int *n,
98
+ f2c_doublecomplex a[], int *lda,
99
+ f2c_doublecomplex w[],
100
+ f2c_doublecomplex vl[], int *ldvl,
101
+ f2c_doublecomplex vr[], int *ldvr,
102
+ f2c_doublecomplex work[], int *lwork,
103
+ double rwork[],
104
+ int *info);
105
+
106
+ extern int
107
+ FNAME(ssyevd)(char *jobz, char *uplo, int *n,
108
+ float a[], int *lda, float w[], float work[],
109
+ int *lwork, int iwork[], int *liwork,
110
+ int *info);
111
+ extern int
112
+ FNAME(dsyevd)(char *jobz, char *uplo, int *n,
113
+ double a[], int *lda, double w[], double work[],
114
+ int *lwork, int iwork[], int *liwork,
115
+ int *info);
116
+ extern int
117
+ FNAME(cheevd)(char *jobz, char *uplo, int *n,
118
+ f2c_complex a[], int *lda,
119
+ float w[], f2c_complex work[],
120
+ int *lwork, float rwork[], int *lrwork, int iwork[],
121
+ int *liwork,
122
+ int *info);
123
+ extern int
124
+ FNAME(zheevd)(char *jobz, char *uplo, int *n,
125
+ f2c_doublecomplex a[], int *lda,
126
+ double w[], f2c_doublecomplex work[],
127
+ int *lwork, double rwork[], int *lrwork, int iwork[],
128
+ int *liwork,
129
+ int *info);
130
+
131
+ extern int
132
+ FNAME(dgelsd)(int *m, int *n, int *nrhs,
133
+ double a[], int *lda, double b[], int *ldb,
134
+ double s[], double *rcond, int *rank,
135
+ double work[], int *lwork, int iwork[],
136
+ int *info);
137
+ extern int
138
+ FNAME(zgelsd)(int *m, int *n, int *nrhs,
139
+ f2c_doublecomplex a[], int *lda,
140
+ f2c_doublecomplex b[], int *ldb,
141
+ double s[], double *rcond, int *rank,
142
+ f2c_doublecomplex work[], int *lwork,
143
+ double rwork[], int iwork[],
144
+ int *info);
145
+
146
+ extern int
147
+ FNAME(sgesv)(int *n, int *nrhs,
148
+ float a[], int *lda,
149
+ int ipiv[],
150
+ float b[], int *ldb,
151
+ int *info);
152
+ extern int
153
+ FNAME(dgesv)(int *n, int *nrhs,
154
+ double a[], int *lda,
155
+ int ipiv[],
156
+ double b[], int *ldb,
157
+ int *info);
158
+ extern int
159
+ FNAME(cgesv)(int *n, int *nrhs,
160
+ f2c_complex a[], int *lda,
161
+ int ipiv[],
162
+ f2c_complex b[], int *ldb,
163
+ int *info);
164
+ extern int
165
+ FNAME(zgesv)(int *n, int *nrhs,
166
+ f2c_doublecomplex a[], int *lda,
167
+ int ipiv[],
168
+ f2c_doublecomplex b[], int *ldb,
169
+ int *info);
170
+
171
+ extern int
172
+ FNAME(sgetrf)(int *m, int *n,
173
+ float a[], int *lda,
174
+ int ipiv[],
175
+ int *info);
176
+ extern int
177
+ FNAME(dgetrf)(int *m, int *n,
178
+ double a[], int *lda,
179
+ int ipiv[],
180
+ int *info);
181
+ extern int
182
+ FNAME(cgetrf)(int *m, int *n,
183
+ f2c_complex a[], int *lda,
184
+ int ipiv[],
185
+ int *info);
186
+ extern int
187
+ FNAME(zgetrf)(int *m, int *n,
188
+ f2c_doublecomplex a[], int *lda,
189
+ int ipiv[],
190
+ int *info);
191
+
192
+ extern int
193
+ FNAME(spotrf)(char *uplo, int *n,
194
+ float a[], int *lda,
195
+ int *info);
196
+ extern int
197
+ FNAME(dpotrf)(char *uplo, int *n,
198
+ double a[], int *lda,
199
+ int *info);
200
+ extern int
201
+ FNAME(cpotrf)(char *uplo, int *n,
202
+ f2c_complex a[], int *lda,
203
+ int *info);
204
+ extern int
205
+ FNAME(zpotrf)(char *uplo, int *n,
206
+ f2c_doublecomplex a[], int *lda,
207
+ int *info);
208
+
209
+ extern int
210
+ FNAME(sgesdd)(char *jobz, int *m, int *n,
211
+ float a[], int *lda, float s[], float u[],
212
+ int *ldu, float vt[], int *ldvt, float work[],
213
+ int *lwork, int iwork[], int *info);
214
+ extern int
215
+ FNAME(dgesdd)(char *jobz, int *m, int *n,
216
+ double a[], int *lda, double s[], double u[],
217
+ int *ldu, double vt[], int *ldvt, double work[],
218
+ int *lwork, int iwork[], int *info);
219
+ extern int
220
+ FNAME(cgesdd)(char *jobz, int *m, int *n,
221
+ f2c_complex a[], int *lda,
222
+ float s[], f2c_complex u[], int *ldu,
223
+ f2c_complex vt[], int *ldvt,
224
+ f2c_complex work[], int *lwork,
225
+ float rwork[], int iwork[], int *info);
226
+ extern int
227
+ FNAME(zgesdd)(char *jobz, int *m, int *n,
228
+ f2c_doublecomplex a[], int *lda,
229
+ double s[], f2c_doublecomplex u[], int *ldu,
230
+ f2c_doublecomplex vt[], int *ldvt,
231
+ f2c_doublecomplex work[], int *lwork,
232
+ double rwork[], int iwork[], int *info);
233
+
234
+ extern int
235
+ FNAME(spotrs)(char *uplo, int *n, int *nrhs,
236
+ float a[], int *lda,
237
+ float b[], int *ldb,
238
+ int *info);
239
+ extern int
240
+ FNAME(dpotrs)(char *uplo, int *n, int *nrhs,
241
+ double a[], int *lda,
242
+ double b[], int *ldb,
243
+ int *info);
244
+ extern int
245
+ FNAME(cpotrs)(char *uplo, int *n, int *nrhs,
246
+ f2c_complex a[], int *lda,
247
+ f2c_complex b[], int *ldb,
248
+ int *info);
249
+ extern int
250
+ FNAME(zpotrs)(char *uplo, int *n, int *nrhs,
251
+ f2c_doublecomplex a[], int *lda,
252
+ f2c_doublecomplex b[], int *ldb,
253
+ int *info);
254
+
255
+ extern int
256
+ FNAME(spotri)(char *uplo, int *n,
257
+ float a[], int *lda,
258
+ int *info);
259
+ extern int
260
+ FNAME(dpotri)(char *uplo, int *n,
261
+ double a[], int *lda,
262
+ int *info);
263
+ extern int
264
+ FNAME(cpotri)(char *uplo, int *n,
265
+ f2c_complex a[], int *lda,
266
+ int *info);
267
+ extern int
268
+ FNAME(zpotri)(char *uplo, int *n,
269
+ f2c_doublecomplex a[], int *lda,
270
+ int *info);
271
+
272
+ extern int
273
+ FNAME(scopy)(int *n,
274
+ float *sx, int *incx,
275
+ float *sy, int *incy);
276
+ extern int
277
+ FNAME(dcopy)(int *n,
278
+ double *sx, int *incx,
279
+ double *sy, int *incy);
280
+ extern int
281
+ FNAME(ccopy)(int *n,
282
+ f2c_complex *sx, int *incx,
283
+ f2c_complex *sy, int *incy);
284
+ extern int
285
+ FNAME(zcopy)(int *n,
286
+ f2c_doublecomplex *sx, int *incx,
287
+ f2c_doublecomplex *sy, int *incy);
288
+
289
+ extern float
290
+ FNAME(sdot)(int *n,
291
+ float *sx, int *incx,
292
+ float *sy, int *incy);
293
+ extern double
294
+ FNAME(ddot)(int *n,
295
+ double *sx, int *incx,
296
+ double *sy, int *incy);
297
+ extern f2c_complex
298
+ FNAME(cdotu)(int *n,
299
+ f2c_complex *sx, int *incx,
300
+ f2c_complex *sy, int *incy);
301
+ extern f2c_doublecomplex
302
+ FNAME(zdotu)(int *n,
303
+ f2c_doublecomplex *sx, int *incx,
304
+ f2c_doublecomplex *sy, int *incy);
305
+ extern f2c_complex
306
+ FNAME(cdotc)(int *n,
307
+ f2c_complex *sx, int *incx,
308
+ f2c_complex *sy, int *incy);
309
+ extern f2c_doublecomplex
310
+ FNAME(zdotc)(int *n,
311
+ f2c_doublecomplex *sx, int *incx,
312
+ f2c_doublecomplex *sy, int *incy);
313
+
314
+ extern int
315
+ FNAME(sgemm)(char *transa, char *transb,
316
+ int *m, int *n, int *k,
317
+ float *alpha,
318
+ float *a, int *lda,
319
+ float *b, int *ldb,
320
+ float *beta,
321
+ float *c, int *ldc);
322
+ extern int
323
+ FNAME(dgemm)(char *transa, char *transb,
324
+ int *m, int *n, int *k,
325
+ double *alpha,
326
+ double *a, int *lda,
327
+ double *b, int *ldb,
328
+ double *beta,
329
+ double *c, int *ldc);
330
+ extern int
331
+ FNAME(cgemm)(char *transa, char *transb,
332
+ int *m, int *n, int *k,
333
+ f2c_complex *alpha,
334
+ f2c_complex *a, int *lda,
335
+ f2c_complex *b, int *ldb,
336
+ f2c_complex *beta,
337
+ f2c_complex *c, int *ldc);
338
+ extern int
339
+ FNAME(zgemm)(char *transa, char *transb,
340
+ int *m, int *n, int *k,
341
+ f2c_doublecomplex *alpha,
342
+ f2c_doublecomplex *a, int *lda,
343
+ f2c_doublecomplex *b, int *ldb,
344
+ f2c_doublecomplex *beta,
345
+ f2c_doublecomplex *c, int *ldc);
346
+
347
+
348
+ #define LAPACK_T(FUNC) \
349
+ TRACE_TXT("Calling LAPACK ( " # FUNC " )\n"); \
350
+ FNAME(FUNC)
351
+
352
+ #define BLAS(FUNC) \
353
+ FNAME(FUNC)
354
+
355
+ #define LAPACK(FUNC) \
356
+ FNAME(FUNC)
357
+
358
+ typedef int fortran_int;
359
+ typedef float fortran_real;
360
+ typedef double fortran_doublereal;
361
+ typedef f2c_complex fortran_complex;
362
+ typedef f2c_doublecomplex fortran_doublecomplex;
363
+
364
+
365
+ /*
366
+ *****************************************************************************
367
+ ** Some handy functions **
368
+ *****************************************************************************
369
+ */
370
+
371
+ static inline void *
372
+ offset_ptr(void* ptr, ptrdiff_t offset)
373
+ {
374
+ return (void*)((npy_uint8*)ptr + offset);
375
+ }
376
+
377
+ static inline int
378
+ get_fp_invalid_and_clear(void)
379
+ {
380
+ int status;
381
+ status = npy_clear_floatstatus();
382
+ return !!(status & NPY_FPE_INVALID);
383
+ }
384
+
385
+ static inline void
386
+ set_fp_invalid_or_clear(int error_occurred)
387
+ {
388
+ if (error_occurred) {
389
+ npy_set_floatstatus_invalid();
390
+ }
391
+ else {
392
+ npy_clear_floatstatus();
393
+ }
394
+ }
395
+
396
+ /*
397
+ *****************************************************************************
398
+ ** Some handy constants **
399
+ *****************************************************************************
400
+ */
401
+
402
+ #define UMATH_LINALG_MODULE_NAME "_umath_linalg"
403
+
404
+ typedef union {
405
+ fortran_complex f;
406
+ npy_cfloat npy;
407
+ float array[2];
408
+ } COMPLEX_t;
409
+
410
+ typedef union {
411
+ fortran_doublecomplex f;
412
+ npy_cdouble npy;
413
+ double array[2];
414
+ } DOUBLECOMPLEX_t;
415
+
416
+ static float s_one;
417
+ static float s_zero;
418
+ static float s_minus_one;
419
+ static float s_ninf;
420
+ static float s_nan;
421
+ static double d_one;
422
+ static double d_zero;
423
+ static double d_minus_one;
424
+ static double d_ninf;
425
+ static double d_nan;
426
+ static COMPLEX_t c_one;
427
+ static COMPLEX_t c_zero;
428
+ static COMPLEX_t c_minus_one;
429
+ static COMPLEX_t c_ninf;
430
+ static COMPLEX_t c_nan;
431
+ static DOUBLECOMPLEX_t z_one;
432
+ static DOUBLECOMPLEX_t z_zero;
433
+ static DOUBLECOMPLEX_t z_minus_one;
434
+ static DOUBLECOMPLEX_t z_ninf;
435
+ static DOUBLECOMPLEX_t z_nan;
436
+
437
+ static void init_constants(void)
438
+ {
439
+ /*
440
+ this is needed as NPY_INFINITY and NPY_NAN macros
441
+ can't be used as initializers. I prefer to just set
442
+ all the constants the same way.
443
+ */
444
+ s_one = 1.0f;
445
+ s_zero = 0.0f;
446
+ s_minus_one = -1.0f;
447
+ s_ninf = -NPY_INFINITYF;
448
+ s_nan = NPY_NANF;
449
+
450
+ d_one = 1.0;
451
+ d_zero = 0.0;
452
+ d_minus_one = -1.0;
453
+ d_ninf = -NPY_INFINITY;
454
+ d_nan = NPY_NAN;
455
+
456
+ c_one.array[0] = 1.0f;
457
+ c_one.array[1] = 0.0f;
458
+ c_zero.array[0] = 0.0f;
459
+ c_zero.array[1] = 0.0f;
460
+ c_minus_one.array[0] = -1.0f;
461
+ c_minus_one.array[1] = 0.0f;
462
+ c_ninf.array[0] = -NPY_INFINITYF;
463
+ c_ninf.array[1] = 0.0f;
464
+ c_nan.array[0] = NPY_NANF;
465
+ c_nan.array[1] = NPY_NANF;
466
+
467
+ z_one.array[0] = 1.0;
468
+ z_one.array[1] = 0.0;
469
+ z_zero.array[0] = 0.0;
470
+ z_zero.array[1] = 0.0;
471
+ z_minus_one.array[0] = -1.0;
472
+ z_minus_one.array[1] = 0.0;
473
+ z_ninf.array[0] = -NPY_INFINITY;
474
+ z_ninf.array[1] = 0.0;
475
+ z_nan.array[0] = NPY_NAN;
476
+ z_nan.array[1] = NPY_NAN;
477
+ }
478
+
479
+ /*
480
+ *****************************************************************************
481
+ ** Structs used for data rearrangement **
482
+ *****************************************************************************
483
+ */
484
+
485
+
486
+ /* this struct contains information about how to linearize in a local buffer
487
+ a matrix so that it can be used by blas functions.
488
+ All strides are specified in number of elements (similar to what blas
489
+ expects)
490
+
491
+ dst_row_strides: number of elements between different row. Matrix is
492
+ considered row-major
493
+ dst_column_strides: number of elements between differnt columns in the
494
+ destination buffer
495
+ rows: number of rows of the matrix
496
+ columns: number of columns of the matrix
497
+ src_row_strides: strides needed to access the next row in the source matrix
498
+ src_column_strides: strides needed to access the next column in the source
499
+ matrix
500
+ */
501
+ typedef struct linearize_data_struct
502
+ {
503
+ size_t rows;
504
+ size_t columns;
505
+ ptrdiff_t row_strides;
506
+ ptrdiff_t column_strides;
507
+ } LINEARIZE_DATA_t;
508
+
509
+ static inline void
510
+ init_linearize_data(LINEARIZE_DATA_t *lin_data,
511
+ int rows,
512
+ int columns,
513
+ ptrdiff_t row_strides,
514
+ ptrdiff_t column_strides)
515
+ {
516
+ lin_data->rows = rows;
517
+ lin_data->columns = columns;
518
+ lin_data->row_strides = row_strides;
519
+ lin_data->column_strides = column_strides;
520
+ }
521
+
522
+ static inline void
523
+ dump_ufunc_object(PyUFuncObject* ufunc)
524
+ {
525
+ TRACE_TXT("\n\n%s '%s' (%d input(s), %d output(s), %d specialization(s).\n",
526
+ ufunc->core_enabled? "generalized ufunc" : "scalar ufunc",
527
+ ufunc->name, ufunc->nin, ufunc->nout, ufunc->ntypes);
528
+ if (ufunc->core_enabled) {
529
+ int arg;
530
+ int dim;
531
+ TRACE_TXT("\t%s (%d dimension(s) detected).\n",
532
+ ufunc->core_signature, ufunc->core_num_dim_ix);
533
+
534
+ for (arg = 0; arg < ufunc->nargs; arg++){
535
+ int * arg_dim_ix = ufunc->core_dim_ixs + ufunc->core_offsets[arg];
536
+ TRACE_TXT("\t\targ %d (%s) has %d dimension(s): (",
537
+ arg, arg < ufunc->nin? "INPUT" : "OUTPUT",
538
+ ufunc->core_num_dims[arg]);
539
+ for (dim = 0; dim < ufunc->core_num_dims[arg]; dim ++) {
540
+ TRACE_TXT(" %d", arg_dim_ix[dim]);
541
+ }
542
+ TRACE_TXT(" )\n");
543
+ }
544
+ }
545
+ }
546
+
547
+ static inline void
548
+ dump_linearize_data(const char* name, const LINEARIZE_DATA_t* params)
549
+ {
550
+ TRACE_TXT("\n\t%s rows: %zd columns: %zd"\
551
+ "\n\t\trow_strides: %td column_strides: %td"\
552
+ "\n", name, params->rows, params->columns,
553
+ params->row_strides, params->column_strides);
554
+ }
555
+
556
+
557
+ static inline float
558
+ FLOAT_add(float op1, float op2)
559
+ {
560
+ return op1 + op2;
561
+ }
562
+
563
+ static inline double
564
+ DOUBLE_add(double op1, double op2)
565
+ {
566
+ return op1 + op2;
567
+ }
568
+
569
+ static inline COMPLEX_t
570
+ CFLOAT_add(COMPLEX_t op1, COMPLEX_t op2)
571
+ {
572
+ COMPLEX_t result;
573
+ result.array[0] = op1.array[0] + op2.array[0];
574
+ result.array[1] = op1.array[1] + op2.array[1];
575
+
576
+ return result;
577
+ }
578
+
579
+ static inline DOUBLECOMPLEX_t
580
+ CDOUBLE_add(DOUBLECOMPLEX_t op1, DOUBLECOMPLEX_t op2)
581
+ {
582
+ DOUBLECOMPLEX_t result;
583
+ result.array[0] = op1.array[0] + op2.array[0];
584
+ result.array[1] = op1.array[1] + op2.array[1];
585
+
586
+ return result;
587
+ }
588
+
589
+ static inline float
590
+ FLOAT_mul(float op1, float op2)
591
+ {
592
+ return op1*op2;
593
+ }
594
+
595
+ static inline double
596
+ DOUBLE_mul(double op1, double op2)
597
+ {
598
+ return op1*op2;
599
+ }
600
+
601
+
602
+ static inline COMPLEX_t
603
+ CFLOAT_mul(COMPLEX_t op1, COMPLEX_t op2)
604
+ {
605
+ COMPLEX_t result;
606
+ result.array[0] = op1.array[0]*op2.array[0] - op1.array[1]*op2.array[1];
607
+ result.array[1] = op1.array[1]*op2.array[0] + op1.array[0]*op2.array[1];
608
+
609
+ return result;
610
+ }
611
+
612
+ static inline DOUBLECOMPLEX_t
613
+ CDOUBLE_mul(DOUBLECOMPLEX_t op1, DOUBLECOMPLEX_t op2)
614
+ {
615
+ DOUBLECOMPLEX_t result;
616
+ result.array[0] = op1.array[0]*op2.array[0] - op1.array[1]*op2.array[1];
617
+ result.array[1] = op1.array[1]*op2.array[0] + op1.array[0]*op2.array[1];
618
+
619
+ return result;
620
+ }
621
+
622
+ static inline float
623
+ FLOAT_mulc(float op1, float op2)
624
+ {
625
+ return op1*op2;
626
+ }
627
+
628
+ static inline double
629
+ DOUBLE_mulc(float op1, float op2)
630
+ {
631
+ return op1*op2;
632
+ }
633
+
634
+ static inline COMPLEX_t
635
+ CFLOAT_mulc(COMPLEX_t op1, COMPLEX_t op2)
636
+ {
637
+ COMPLEX_t result;
638
+ result.array[0] = op1.array[0]*op2.array[0] + op1.array[1]*op2.array[1];
639
+ result.array[1] = op1.array[0]*op2.array[1] - op1.array[1]*op2.array[0];
640
+
641
+ return result;
642
+ }
643
+
644
+ static inline DOUBLECOMPLEX_t
645
+ CDOUBLE_mulc(DOUBLECOMPLEX_t op1, DOUBLECOMPLEX_t op2)
646
+ {
647
+ DOUBLECOMPLEX_t result;
648
+ result.array[0] = op1.array[0]*op2.array[0] + op1.array[1]*op2.array[1];
649
+ result.array[1] = op1.array[0]*op2.array[1] - op1.array[1]*op2.array[0];
650
+
651
+ return result;
652
+ }
653
+
654
+ static inline void
655
+ print_FLOAT(npy_float s)
656
+ {
657
+ TRACE_TXT(" %8.4f", s);
658
+ }
659
+ static inline void
660
+ print_DOUBLE(npy_double d)
661
+ {
662
+ TRACE_TXT(" %10.6f", d);
663
+ }
664
+ static inline void
665
+ print_CFLOAT(npy_cfloat c)
666
+ {
667
+ float* c_parts = (float*)&c;
668
+ TRACE_TXT("(%8.4f, %8.4fj)", c_parts[0], c_parts[1]);
669
+ }
670
+ static inline void
671
+ print_CDOUBLE(npy_cdouble z)
672
+ {
673
+ double* z_parts = (double*)&z;
674
+ TRACE_TXT("(%8.4f, %8.4fj)", z_parts[0], z_parts[1]);
675
+ }
676
+
677
+ /**begin repeat
678
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
679
+ #typ=npy_float,npy_double,npy_cfloat,npy_cdouble#
680
+ */
681
+ static inline void
682
+ dump_@TYPE@_matrix(const char* name,
683
+ size_t rows, size_t columns,
684
+ const @typ@* ptr)
685
+ {
686
+ size_t i,j;
687
+
688
+ TRACE_TXT("\n%s %p (%zd, %zd)\n", name, ptr, rows, columns);
689
+ for (i=0; i<rows; i++)
690
+ {
691
+ TRACE_TXT("| ");
692
+ for (j=0; j<columns; j++)
693
+ {
694
+ print_@TYPE@(ptr[j*rows + i]);
695
+ TRACE_TXT(", ");
696
+ }
697
+ TRACE_TXT(" |\n");
698
+ }
699
+ }
700
+ /**end repeat**/
701
+
702
+
703
+ /*
704
+ *****************************************************************************
705
+ ** Basics **
706
+ *****************************************************************************
707
+ */
708
+
709
+ #define INIT_OUTER_LOOP_1 \
710
+ npy_intp dN = *dimensions++;\
711
+ npy_intp N_;\
712
+ npy_intp s0 = *steps++;
713
+
714
+ #define INIT_OUTER_LOOP_2 \
715
+ INIT_OUTER_LOOP_1\
716
+ npy_intp s1 = *steps++;
717
+
718
+ #define INIT_OUTER_LOOP_3 \
719
+ INIT_OUTER_LOOP_2\
720
+ npy_intp s2 = *steps++;
721
+
722
+ #define INIT_OUTER_LOOP_4 \
723
+ INIT_OUTER_LOOP_3\
724
+ npy_intp s3 = *steps++;
725
+
726
+ #define INIT_OUTER_LOOP_5 \
727
+ INIT_OUTER_LOOP_4\
728
+ npy_intp s4 = *steps++;
729
+
730
+ #define INIT_OUTER_LOOP_6 \
731
+ INIT_OUTER_LOOP_5\
732
+ npy_intp s5 = *steps++;
733
+
734
+ #define BEGIN_OUTER_LOOP_2 \
735
+ for (N_ = 0;\
736
+ N_ < dN;\
737
+ N_++, args[0] += s0,\
738
+ args[1] += s1) {
739
+
740
+ #define BEGIN_OUTER_LOOP_3 \
741
+ for (N_ = 0;\
742
+ N_ < dN;\
743
+ N_++, args[0] += s0,\
744
+ args[1] += s1,\
745
+ args[2] += s2) {
746
+
747
+ #define BEGIN_OUTER_LOOP_4 \
748
+ for (N_ = 0;\
749
+ N_ < dN;\
750
+ N_++, args[0] += s0,\
751
+ args[1] += s1,\
752
+ args[2] += s2,\
753
+ args[3] += s3) {
754
+
755
+ #define BEGIN_OUTER_LOOP_5 \
756
+ for (N_ = 0;\
757
+ N_ < dN;\
758
+ N_++, args[0] += s0,\
759
+ args[1] += s1,\
760
+ args[2] += s2,\
761
+ args[3] += s3,\
762
+ args[4] += s4) {
763
+
764
+ #define BEGIN_OUTER_LOOP_6 \
765
+ for (N_ = 0;\
766
+ N_ < dN;\
767
+ N_++, args[0] += s0,\
768
+ args[1] += s1,\
769
+ args[2] += s2,\
770
+ args[3] += s3,\
771
+ args[4] += s4,\
772
+ args[5] += s5) {
773
+
774
+ #define END_OUTER_LOOP }
775
+
776
+ static inline void
777
+ update_pointers(npy_uint8** bases, ptrdiff_t* offsets, size_t count)
778
+ {
779
+ size_t i;
780
+ for (i=0; i < count; ++i) {
781
+ bases[i] += offsets[i];
782
+ }
783
+ }
784
+
785
+
786
+ /* disable -Wmaybe-uninitialized as there is some code that generate false
787
+ positives with this warning
788
+ */
789
+ #pragma GCC diagnostic push
790
+ #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
791
+
792
+ /*
793
+ *****************************************************************************
794
+ ** HELPER FUNCS **
795
+ *****************************************************************************
796
+ */
797
+
798
+ /* rearranging of 2D matrices using blas */
799
+
800
+ /**begin repeat
801
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
802
+ #typ=float,double,COMPLEX_t,DOUBLECOMPLEX_t#
803
+ #copy=scopy,dcopy,ccopy,zcopy#
804
+ #nan=s_nan, d_nan, c_nan, z_nan#
805
+ */
806
+ static inline void *
807
+ linearize_@TYPE@_matrix(void *dst_in,
808
+ void *src_in,
809
+ const LINEARIZE_DATA_t* data)
810
+ {
811
+ @typ@ *src = (@typ@ *) src_in;
812
+ @typ@ *dst = (@typ@ *) dst_in;
813
+
814
+ if (dst) {
815
+ int i, j;
816
+ @typ@* rv = dst;
817
+ fortran_int columns = (fortran_int)data->columns;
818
+ fortran_int column_strides =
819
+ (fortran_int)(data->column_strides/sizeof(@typ@));
820
+ fortran_int one = 1;
821
+ for (i=0; i< data->rows; i++) {
822
+ if (column_strides > 0) {
823
+ FNAME(@copy@)(&columns,
824
+ (void*)src, &column_strides,
825
+ (void*)dst, &one);
826
+ }
827
+ else if (column_strides < 0) {
828
+ FNAME(@copy@)(&columns,
829
+ (void*)((@typ@*)src + (columns-1)*column_strides),
830
+ &column_strides,
831
+ (void*)dst, &one);
832
+ }
833
+ else {
834
+ /*
835
+ * Zero stride has undefined behavior in some BLAS
836
+ * implementations (e.g. OSX Accelerate), so do it
837
+ * manually
838
+ */
839
+ for (j = 0; j < columns; ++j) {
840
+ memcpy((@typ@*)dst + j, (@typ@*)src, sizeof(@typ@));
841
+ }
842
+ }
843
+ src += data->row_strides/sizeof(@typ@);
844
+ dst += data->columns;
845
+ }
846
+ return rv;
847
+ } else {
848
+ return src;
849
+ }
850
+ }
851
+
852
+ static inline void *
853
+ delinearize_@TYPE@_matrix(void *dst_in,
854
+ void *src_in,
855
+ const LINEARIZE_DATA_t* data)
856
+ {
857
+ @typ@ *src = (@typ@ *) src_in;
858
+ @typ@ *dst = (@typ@ *) dst_in;
859
+
860
+ if (src) {
861
+ int i;
862
+ @typ@ *rv = src;
863
+ fortran_int columns = (fortran_int)data->columns;
864
+ fortran_int column_strides =
865
+ (fortran_int)(data->column_strides/sizeof(@typ@));
866
+ fortran_int one = 1;
867
+ for (i=0; i < data->rows; i++) {
868
+ if (column_strides > 0) {
869
+ FNAME(@copy@)(&columns,
870
+ (void*)src, &one,
871
+ (void*)dst, &column_strides);
872
+ }
873
+ else if (column_strides < 0) {
874
+ FNAME(@copy@)(&columns,
875
+ (void*)src, &one,
876
+ (void*)((@typ@*)dst + (columns-1)*column_strides),
877
+ &column_strides);
878
+ }
879
+ else {
880
+ /*
881
+ * Zero stride has undefined behavior in some BLAS
882
+ * implementations (e.g. OSX Accelerate), so do it
883
+ * manually
884
+ */
885
+ if (columns > 0) {
886
+ memcpy((@typ@*)dst, (@typ@*)src + (columns-1), sizeof(@typ@));
887
+ }
888
+ }
889
+ src += data->columns;
890
+ dst += data->row_strides/sizeof(@typ@);
891
+ }
892
+
893
+ return rv;
894
+ } else {
895
+ return src;
896
+ }
897
+ }
898
+
899
+ static inline void
900
+ nan_@TYPE@_matrix(void *dst_in, const LINEARIZE_DATA_t* data)
901
+ {
902
+ @typ@ *dst = (@typ@ *) dst_in;
903
+
904
+ int i,j;
905
+ for (i=0; i < data->rows; i++) {
906
+ @typ@ *cp = dst;
907
+ ptrdiff_t cs = data->column_strides/sizeof(@typ@);
908
+ for (j=0; j< data->columns; ++j) {
909
+ *cp = @nan@;
910
+ cp += cs;
911
+ }
912
+ dst += data->row_strides/sizeof(@typ@);
913
+ }
914
+ }
915
+
916
+ /**end repeat**/
917
+
918
+ /* identity square matrix generation */
919
+ /**begin repeat
920
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
921
+ #typ=float,double,COMPLEX_t,DOUBLECOMPLEX_t#
922
+ #cblas_type=s,d,c,z#
923
+ */
924
+ static inline void
925
+ identity_@TYPE@_matrix(void *ptr, size_t n)
926
+ {
927
+ size_t i;
928
+ @typ@ *matrix = (@typ@*) ptr;
929
+ /* in IEEE floating point, zeroes are represented as bitwise 0 */
930
+ memset(matrix, 0, n*n*sizeof(@typ@));
931
+
932
+ for (i = 0; i < n; ++i)
933
+ {
934
+ *matrix = @cblas_type@_one;
935
+ matrix += n+1;
936
+ }
937
+ }
938
+ /**end repeat**/
939
+
940
+ /* lower/upper triangular matrix using blas (in place) */
941
+ /**begin repeat
942
+
943
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
944
+ #typ=float,double,COMPLEX_t,DOUBLECOMPLEX_t#
945
+ #cblas_type=s,d,c,z#
946
+ */
947
+
948
+ static inline void
949
+ triu_@TYPE@_matrix(void *ptr, size_t n)
950
+ {
951
+ size_t i,j;
952
+ @typ@ *matrix = (@typ@*)ptr;
953
+ matrix += n;
954
+ for (i=1; i < n; ++i) {
955
+ for (j=0; j<i; ++j) {
956
+ matrix[j] = @cblas_type@_zero;
957
+ }
958
+ matrix += n;
959
+ }
960
+ }
961
+ /**end repeat**/
962
+
963
+
964
+ /* -------------------------------------------------------------------------- */
965
+ /* Determinants */
966
+
967
+ /**begin repeat
968
+ #TYPE=FLOAT,DOUBLE#
969
+ #typ=npy_float, npy_double#
970
+ #log_func=npy_logf,npy_log#
971
+ #exp_func=npy_expf,npy_exp#
972
+ #zero=0.0f,0.0#
973
+ */
974
+
975
+ static inline void
976
+ @TYPE@_slogdet_from_factored_diagonal(@typ@* src,
977
+ fortran_int m,
978
+ @typ@ *sign,
979
+ @typ@ *logdet)
980
+ {
981
+ @typ@ acc_sign = *sign;
982
+ @typ@ acc_logdet = @zero@;
983
+ int i;
984
+ for (i = 0; i < m; i++) {
985
+ @typ@ abs_element = *src;
986
+ if (abs_element < @zero@) {
987
+ acc_sign = -acc_sign;
988
+ abs_element = -abs_element;
989
+ }
990
+
991
+ acc_logdet += @log_func@(abs_element);
992
+ src += m+1;
993
+ }
994
+
995
+ *sign = acc_sign;
996
+ *logdet = acc_logdet;
997
+ }
998
+
999
+ static inline @typ@
1000
+ @TYPE@_det_from_slogdet(@typ@ sign, @typ@ logdet)
1001
+ {
1002
+ @typ@ result = sign * @exp_func@(logdet);
1003
+ return result;
1004
+ }
1005
+
1006
+ /**end repeat**/
1007
+
1008
+
1009
+ /**begin repeat
1010
+ #TYPE=CFLOAT,CDOUBLE#
1011
+ #typ=npy_cfloat, npy_cdouble#
1012
+ #basetyp=npy_float, npy_double#
1013
+ #abs_func=npy_cabsf, npy_cabs#
1014
+ #log_func=npy_logf, npy_log#
1015
+ #exp_func=npy_expf, npy_exp#
1016
+ #zero=0.0f,0.0#
1017
+ */
1018
+ #define RE(COMPLEX) (((@basetyp@*)(&COMPLEX))[0])
1019
+ #define IM(COMPLEX) (((@basetyp@*)(&COMPLEX))[1])
1020
+
1021
+ static inline @typ@
1022
+ @TYPE@_mult(@typ@ op1, @typ@ op2)
1023
+ {
1024
+ @typ@ rv;
1025
+
1026
+ RE(rv) = RE(op1)*RE(op2) - IM(op1)*IM(op2);
1027
+ IM(rv) = RE(op1)*IM(op2) + IM(op1)*RE(op2);
1028
+
1029
+ return rv;
1030
+ }
1031
+
1032
+
1033
+ static inline void
1034
+ @TYPE@_slogdet_from_factored_diagonal(@typ@* src,
1035
+ fortran_int m,
1036
+ @typ@ *sign,
1037
+ @basetyp@ *logdet)
1038
+ {
1039
+ int i;
1040
+ @typ@ sign_acc = *sign;
1041
+ @basetyp@ logdet_acc = @zero@;
1042
+
1043
+ for (i = 0; i < m; i++)
1044
+ {
1045
+ @basetyp@ abs_element = @abs_func@(*src);
1046
+ @typ@ sign_element;
1047
+ RE(sign_element) = RE(*src) / abs_element;
1048
+ IM(sign_element) = IM(*src) / abs_element;
1049
+
1050
+ sign_acc = @TYPE@_mult(sign_acc, sign_element);
1051
+ logdet_acc += @log_func@(abs_element);
1052
+ src += m + 1;
1053
+ }
1054
+
1055
+ *sign = sign_acc;
1056
+ *logdet = logdet_acc;
1057
+ }
1058
+
1059
+ static inline @typ@
1060
+ @TYPE@_det_from_slogdet(@typ@ sign, @basetyp@ logdet)
1061
+ {
1062
+ @typ@ tmp;
1063
+ RE(tmp) = @exp_func@(logdet);
1064
+ IM(tmp) = @zero@;
1065
+ return @TYPE@_mult(sign, tmp);
1066
+ }
1067
+ #undef RE
1068
+ #undef IM
1069
+ /**end repeat**/
1070
+
1071
+
1072
+ /* As in the linalg package, the determinant is computed via LU factorization
1073
+ * using LAPACK.
1074
+ * slogdet computes sign + log(determinant).
1075
+ * det computes sign * exp(slogdet).
1076
+ */
1077
+ /**begin repeat
1078
+
1079
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
1080
+ #typ=npy_float,npy_double,npy_cfloat,npy_cdouble#
1081
+ #basetyp=npy_float,npy_double,npy_float,npy_double#
1082
+ #cblas_type=s,d,c,z#
1083
+ */
1084
+
1085
+ static inline void
1086
+ @TYPE@_slogdet_single_element(fortran_int m,
1087
+ void* src,
1088
+ fortran_int* pivots,
1089
+ @typ@ *sign,
1090
+ @basetyp@ *logdet)
1091
+ {
1092
+ fortran_int info = 0;
1093
+ int i;
1094
+ /* note: done in place */
1095
+ LAPACK(@cblas_type@getrf)(&m, &m, (void *)src, &m, pivots, &info);
1096
+
1097
+ if (info == 0)
1098
+ {
1099
+ int change_sign = 0;
1100
+ /* note: fortran uses 1 based indexing */
1101
+ for (i=0; i < m; i++)
1102
+ {
1103
+ change_sign += (pivots[i] != (i+1));
1104
+ }
1105
+
1106
+ memcpy(sign,
1107
+ (change_sign % 2)?
1108
+ &@cblas_type@_minus_one :
1109
+ &@cblas_type@_one
1110
+ , sizeof(*sign));
1111
+ @TYPE@_slogdet_from_factored_diagonal(src, m, sign, logdet);
1112
+ } else {
1113
+ /*
1114
+ if getrf fails, use 0 as sign and -inf as logdet
1115
+ */
1116
+ memcpy(sign, &@cblas_type@_zero, sizeof(*sign));
1117
+ memcpy(logdet, &@cblas_type@_ninf, sizeof(*logdet));
1118
+ }
1119
+ }
1120
+
1121
+ static void
1122
+ @TYPE@_slogdet(char **args,
1123
+ npy_intp *dimensions,
1124
+ npy_intp *steps,
1125
+ void *NPY_UNUSED(func))
1126
+ {
1127
+ fortran_int m;
1128
+ npy_uint8 *tmp_buff = NULL;
1129
+ size_t matrix_size;
1130
+ size_t pivot_size;
1131
+ size_t safe_m;
1132
+ /* notes:
1133
+ * matrix will need to be copied always, as factorization in lapack is
1134
+ * made inplace
1135
+ * matrix will need to be in column-major order, as expected by lapack
1136
+ * code (fortran)
1137
+ * always a square matrix
1138
+ * need to allocate memory for both, matrix_buffer and pivot buffer
1139
+ */
1140
+ INIT_OUTER_LOOP_3
1141
+ m = (fortran_int) dimensions[0];
1142
+ safe_m = m;
1143
+ matrix_size = safe_m * safe_m * sizeof(@typ@);
1144
+ pivot_size = safe_m * sizeof(fortran_int);
1145
+ tmp_buff = (npy_uint8 *)malloc(matrix_size + pivot_size);
1146
+
1147
+ if (tmp_buff)
1148
+ {
1149
+ LINEARIZE_DATA_t lin_data;
1150
+ /* swapped steps to get matrix in FORTRAN order */
1151
+ init_linearize_data(&lin_data, m, m,
1152
+ (ptrdiff_t)steps[1],
1153
+ (ptrdiff_t)steps[0]);
1154
+ BEGIN_OUTER_LOOP_3
1155
+ linearize_@TYPE@_matrix(tmp_buff, args[0], &lin_data);
1156
+ @TYPE@_slogdet_single_element(m,
1157
+ (void*)tmp_buff,
1158
+ (fortran_int*)(tmp_buff+matrix_size),
1159
+ (@typ@*)args[1],
1160
+ (@basetyp@*)args[2]);
1161
+ END_OUTER_LOOP
1162
+
1163
+ free(tmp_buff);
1164
+ }
1165
+ }
1166
+
1167
+ static void
1168
+ @TYPE@_det(char **args,
1169
+ npy_intp *dimensions,
1170
+ npy_intp *steps,
1171
+ void *NPY_UNUSED(func))
1172
+ {
1173
+ fortran_int m;
1174
+ npy_uint8 *tmp_buff;
1175
+ size_t matrix_size;
1176
+ size_t pivot_size;
1177
+ size_t safe_m;
1178
+ /* notes:
1179
+ * matrix will need to be copied always, as factorization in lapack is
1180
+ * made inplace
1181
+ * matrix will need to be in column-major order, as expected by lapack
1182
+ * code (fortran)
1183
+ * always a square matrix
1184
+ * need to allocate memory for both, matrix_buffer and pivot buffer
1185
+ */
1186
+ INIT_OUTER_LOOP_2
1187
+ m = (fortran_int) dimensions[0];
1188
+ safe_m = m;
1189
+ matrix_size = safe_m * safe_m * sizeof(@typ@);
1190
+ pivot_size = safe_m * sizeof(fortran_int);
1191
+ tmp_buff = (npy_uint8 *)malloc(matrix_size + pivot_size);
1192
+
1193
+ if (tmp_buff)
1194
+ {
1195
+ LINEARIZE_DATA_t lin_data;
1196
+ @typ@ sign;
1197
+ @basetyp@ logdet;
1198
+ /* swapped steps to get matrix in FORTRAN order */
1199
+ init_linearize_data(&lin_data, m, m,
1200
+ (ptrdiff_t)steps[1],
1201
+ (ptrdiff_t)steps[0]);
1202
+
1203
+ BEGIN_OUTER_LOOP_2
1204
+ linearize_@TYPE@_matrix(tmp_buff, args[0], &lin_data);
1205
+ @TYPE@_slogdet_single_element(m,
1206
+ (void*)tmp_buff,
1207
+ (fortran_int*)(tmp_buff+matrix_size),
1208
+ &sign,
1209
+ &logdet);
1210
+ *(@typ@ *)args[1] = @TYPE@_det_from_slogdet(sign, logdet);
1211
+ END_OUTER_LOOP
1212
+
1213
+ free(tmp_buff);
1214
+ }
1215
+ }
1216
+ /**end repeat**/
1217
+
1218
+
1219
+ /* -------------------------------------------------------------------------- */
1220
+ /* Eigh family */
1221
+
1222
+ typedef struct eigh_params_struct {
1223
+ void *A; /* matrix */
1224
+ void *W; /* eigenvalue vector */
1225
+ void *WORK; /* main work buffer */
1226
+ void *RWORK; /* secondary work buffer (for complex versions) */
1227
+ void *IWORK;
1228
+ fortran_int N;
1229
+ fortran_int LWORK;
1230
+ fortran_int LRWORK;
1231
+ fortran_int LIWORK;
1232
+ char JOBZ;
1233
+ char UPLO;
1234
+ } EIGH_PARAMS_t;
1235
+
1236
+ /**begin repeat
1237
+ #TYPE=FLOAT,DOUBLE#
1238
+ #typ=npy_float,npy_double#
1239
+ #ftyp=fortran_real,fortran_doublereal#
1240
+ #lapack_func=ssyevd,dsyevd#
1241
+ */
1242
+
1243
+ /*
1244
+ * Initialize the parameters to use in for the lapack function _syevd
1245
+ * Handles buffer allocation
1246
+ */
1247
+ static inline int
1248
+ init_@lapack_func@(EIGH_PARAMS_t* params, char JOBZ, char UPLO,
1249
+ fortran_int N)
1250
+ {
1251
+ npy_uint8 *mem_buff = NULL;
1252
+ npy_uint8 *mem_buff2 = NULL;
1253
+ @typ@ query_work_size;
1254
+ fortran_int query_iwork_size;
1255
+ fortran_int lwork = -1;
1256
+ fortran_int liwork = -1;
1257
+ fortran_int info;
1258
+ npy_uint8 *a, *w, *work, *iwork;
1259
+ size_t safe_N = N;
1260
+ size_t alloc_size = safe_N * (safe_N + 1) * sizeof(@typ@);
1261
+
1262
+ mem_buff = malloc(alloc_size);
1263
+
1264
+ if (!mem_buff)
1265
+ goto error;
1266
+ a = mem_buff;
1267
+ w = mem_buff + safe_N * safe_N * sizeof(@typ@);
1268
+ LAPACK(@lapack_func@)(&JOBZ, &UPLO, &N,
1269
+ (@ftyp@*)a, &N, (@ftyp@*)w,
1270
+ &query_work_size, &lwork,
1271
+ &query_iwork_size, &liwork,
1272
+ &info);
1273
+
1274
+ if (info != 0)
1275
+ goto error;
1276
+
1277
+ work = mem_buff;
1278
+ lwork = (fortran_int)query_work_size;
1279
+ liwork = query_iwork_size;
1280
+ mem_buff2 = malloc(lwork*sizeof(@typ@) + liwork*sizeof(fortran_int));
1281
+ if (!mem_buff2)
1282
+ goto error;
1283
+
1284
+ work = mem_buff2;
1285
+ iwork = mem_buff2 + lwork*sizeof(@typ@);
1286
+
1287
+ params->A = a;
1288
+ params->W = w;
1289
+ params->WORK = work;
1290
+ params->RWORK = NULL; /* unused */
1291
+ params->IWORK = iwork;
1292
+ params->N = N;
1293
+ params->LWORK = lwork;
1294
+ params->LRWORK = 0; /* unused */
1295
+ params->LIWORK = liwork;
1296
+ params->JOBZ = JOBZ;
1297
+ params->UPLO = UPLO;
1298
+
1299
+ return 1;
1300
+
1301
+ error:
1302
+ /* something failed */
1303
+ memset(params, 0, sizeof(*params));
1304
+ free(mem_buff2);
1305
+ free(mem_buff);
1306
+
1307
+ return 0;
1308
+ }
1309
+
1310
+ static inline fortran_int
1311
+ call_@lapack_func@(EIGH_PARAMS_t *params)
1312
+ {
1313
+ fortran_int rv;
1314
+ LAPACK(@lapack_func@)(&params->JOBZ, &params->UPLO, &params->N,
1315
+ params->A, &params->N, params->W,
1316
+ params->WORK, &params->LWORK,
1317
+ params->IWORK, &params->LIWORK,
1318
+ &rv);
1319
+ return rv;
1320
+ }
1321
+ /**end repeat**/
1322
+
1323
+
1324
+ /**begin repeat
1325
+ #TYPE=CFLOAT,CDOUBLE#
1326
+ #typ=npy_cfloat,npy_cdouble#
1327
+ #basetyp=npy_float,npy_double#
1328
+ #ftyp=fortran_complex,fortran_doublecomplex#
1329
+ #fbasetyp=fortran_real,fortran_doublereal#
1330
+ #lapack_func=cheevd,zheevd#
1331
+ */
1332
+ /*
1333
+ * Initialize the parameters to use in for the lapack function _heev
1334
+ * Handles buffer allocation
1335
+ */
1336
+ static inline int
1337
+ init_@lapack_func@(EIGH_PARAMS_t *params,
1338
+ char JOBZ,
1339
+ char UPLO,
1340
+ fortran_int N)
1341
+ {
1342
+ npy_uint8 *mem_buff = NULL;
1343
+ npy_uint8 *mem_buff2 = NULL;
1344
+ @ftyp@ query_work_size;
1345
+ @fbasetyp@ query_rwork_size;
1346
+ fortran_int query_iwork_size;
1347
+ fortran_int lwork = -1;
1348
+ fortran_int lrwork = -1;
1349
+ fortran_int liwork = -1;
1350
+ npy_uint8 *a, *w, *work, *rwork, *iwork;
1351
+ fortran_int info;
1352
+ size_t safe_N = N;
1353
+
1354
+ mem_buff = malloc(safe_N * safe_N * sizeof(@typ@) +
1355
+ safe_N * sizeof(@basetyp@));
1356
+ if (!mem_buff)
1357
+ goto error;
1358
+ a = mem_buff;
1359
+ w = mem_buff + safe_N * safe_N * sizeof(@typ@);
1360
+
1361
+ LAPACK(@lapack_func@)(&JOBZ, &UPLO, &N,
1362
+ (@ftyp@*)a, &N, (@fbasetyp@*)w,
1363
+ &query_work_size, &lwork,
1364
+ &query_rwork_size, &lrwork,
1365
+ &query_iwork_size, &liwork,
1366
+ &info);
1367
+ if (info != 0)
1368
+ goto error;
1369
+
1370
+ lwork = (fortran_int)*(@fbasetyp@*)&query_work_size;
1371
+ lrwork = (fortran_int)query_rwork_size;
1372
+ liwork = query_iwork_size;
1373
+
1374
+ mem_buff2 = malloc(lwork*sizeof(@typ@) +
1375
+ lrwork*sizeof(@basetyp@) +
1376
+ liwork*sizeof(fortran_int));
1377
+ if (!mem_buff2)
1378
+ goto error;
1379
+ work = mem_buff2;
1380
+ rwork = work + lwork*sizeof(@typ@);
1381
+ iwork = rwork + lrwork*sizeof(@basetyp@);
1382
+
1383
+ params->A = a;
1384
+ params->W = w;
1385
+ params->WORK = work;
1386
+ params->RWORK = rwork;
1387
+ params->IWORK = iwork;
1388
+ params->N = N;
1389
+ params->LWORK = lwork;
1390
+ params->LRWORK = lrwork;
1391
+ params->LIWORK = liwork;
1392
+ params->JOBZ = JOBZ;
1393
+ params->UPLO = UPLO;
1394
+
1395
+ return 1;
1396
+
1397
+ /* something failed */
1398
+ error:
1399
+ memset(params, 0, sizeof(*params));
1400
+ free(mem_buff2);
1401
+ free(mem_buff);
1402
+
1403
+ return 0;
1404
+ }
1405
+
1406
+ static inline fortran_int
1407
+ call_@lapack_func@(EIGH_PARAMS_t *params)
1408
+ {
1409
+ fortran_int rv;
1410
+ LAPACK(@lapack_func@)(&params->JOBZ, &params->UPLO, &params->N,
1411
+ params->A, &params->N, params->W,
1412
+ params->WORK, &params->LWORK,
1413
+ params->RWORK, &params->LRWORK,
1414
+ params->IWORK, &params->LIWORK,
1415
+ &rv);
1416
+ return rv;
1417
+ }
1418
+ /**end repeat**/
1419
+
1420
+
1421
+ /**begin repeat
1422
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
1423
+ #BASETYPE=FLOAT,DOUBLE,FLOAT,DOUBLE#
1424
+ #typ=npy_float,npy_double,npy_cfloat,npy_cdouble#
1425
+ #basetyp=npy_float,npy_double,npy_float,npy_double#
1426
+ #lapack_func=ssyevd,dsyevd,cheevd,zheevd#
1427
+ **/
1428
+ /*
1429
+ * (M,M)->(M,)(M,M)
1430
+ * dimensions[1] -> M
1431
+ * args[0] -> A[in]
1432
+ * args[1] -> W
1433
+ * args[2] -> A[out]
1434
+ */
1435
+
1436
+ static inline void
1437
+ release_@lapack_func@(EIGH_PARAMS_t *params)
1438
+ {
1439
+ /* allocated memory in A and WORK */
1440
+ free(params->A);
1441
+ free(params->WORK);
1442
+ memset(params, 0, sizeof(*params));
1443
+ }
1444
+
1445
+
1446
+ static inline void
1447
+ @TYPE@_eigh_wrapper(char JOBZ,
1448
+ char UPLO,
1449
+ char**args,
1450
+ npy_intp* dimensions,
1451
+ npy_intp* steps)
1452
+ {
1453
+ ptrdiff_t outer_steps[3];
1454
+ size_t iter;
1455
+ size_t outer_dim = *dimensions++;
1456
+ size_t op_count = (JOBZ=='N')?2:3;
1457
+ EIGH_PARAMS_t eigh_params;
1458
+ int error_occurred = get_fp_invalid_and_clear();
1459
+
1460
+ for (iter=0; iter < op_count; ++iter) {
1461
+ outer_steps[iter] = (ptrdiff_t) steps[iter];
1462
+ }
1463
+ steps += op_count;
1464
+
1465
+ if (init_@lapack_func@(&eigh_params,
1466
+ JOBZ,
1467
+ UPLO,
1468
+ (fortran_int)dimensions[0])) {
1469
+ LINEARIZE_DATA_t matrix_in_ld;
1470
+ LINEARIZE_DATA_t eigenvectors_out_ld;
1471
+ LINEARIZE_DATA_t eigenvalues_out_ld;
1472
+
1473
+ init_linearize_data(&matrix_in_ld,
1474
+ eigh_params.N, eigh_params.N,
1475
+ steps[1], steps[0]);
1476
+ init_linearize_data(&eigenvalues_out_ld,
1477
+ 1, eigh_params.N,
1478
+ 0, steps[2]);
1479
+ if ('V' == eigh_params.JOBZ) {
1480
+ init_linearize_data(&eigenvectors_out_ld,
1481
+ eigh_params.N, eigh_params.N,
1482
+ steps[4], steps[3]);
1483
+ }
1484
+
1485
+ for (iter = 0; iter < outer_dim; ++iter) {
1486
+ int not_ok;
1487
+ /* copy the matrix in */
1488
+ linearize_@TYPE@_matrix(eigh_params.A, args[0], &matrix_in_ld);
1489
+ not_ok = call_@lapack_func@(&eigh_params);
1490
+ if (!not_ok) {
1491
+ /* lapack ok, copy result out */
1492
+ delinearize_@BASETYPE@_matrix(args[1],
1493
+ eigh_params.W,
1494
+ &eigenvalues_out_ld);
1495
+
1496
+ if ('V' == eigh_params.JOBZ) {
1497
+ delinearize_@TYPE@_matrix(args[2],
1498
+ eigh_params.A,
1499
+ &eigenvectors_out_ld);
1500
+ }
1501
+ } else {
1502
+ /* lapack fail, set result to nan */
1503
+ error_occurred = 1;
1504
+ nan_@BASETYPE@_matrix(args[1], &eigenvalues_out_ld);
1505
+ if ('V' == eigh_params.JOBZ) {
1506
+ nan_@TYPE@_matrix(args[2], &eigenvectors_out_ld);
1507
+ }
1508
+ }
1509
+ update_pointers((npy_uint8**)args, outer_steps, op_count);
1510
+ }
1511
+
1512
+ release_@lapack_func@(&eigh_params);
1513
+ }
1514
+
1515
+ set_fp_invalid_or_clear(error_occurred);
1516
+ }
1517
+ /**end repeat**/
1518
+
1519
+
1520
+ /**begin repeat
1521
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
1522
+ */
1523
+ static void
1524
+ @TYPE@_eighlo(char **args,
1525
+ npy_intp *dimensions,
1526
+ npy_intp *steps,
1527
+ void *NPY_UNUSED(func))
1528
+ {
1529
+ @TYPE@_eigh_wrapper('V', 'L', args, dimensions, steps);
1530
+ }
1531
+
1532
+ static void
1533
+ @TYPE@_eighup(char **args,
1534
+ npy_intp *dimensions,
1535
+ npy_intp *steps,
1536
+ void* NPY_UNUSED(func))
1537
+ {
1538
+ @TYPE@_eigh_wrapper('V', 'U', args, dimensions, steps);
1539
+ }
1540
+
1541
+ static void
1542
+ @TYPE@_eigvalshlo(char **args,
1543
+ npy_intp *dimensions,
1544
+ npy_intp *steps,
1545
+ void* NPY_UNUSED(func))
1546
+ {
1547
+ @TYPE@_eigh_wrapper('N', 'L', args, dimensions, steps);
1548
+ }
1549
+
1550
+ static void
1551
+ @TYPE@_eigvalshup(char **args,
1552
+ npy_intp *dimensions,
1553
+ npy_intp *steps,
1554
+ void* NPY_UNUSED(func))
1555
+ {
1556
+ @TYPE@_eigh_wrapper('N', 'U', args, dimensions, steps);
1557
+ }
1558
+ /**end repeat**/
1559
+
1560
+ /* -------------------------------------------------------------------------- */
1561
+ /* Solve family (includes inv) */
1562
+
1563
+ typedef struct gesv_params_struct
1564
+ {
1565
+ void *A; /* A is (N,N) of base type */
1566
+ void *B; /* B is (N,NRHS) of base type */
1567
+ fortran_int * IPIV; /* IPIV is (N) */
1568
+
1569
+ fortran_int N;
1570
+ fortran_int NRHS;
1571
+ fortran_int LDA;
1572
+ fortran_int LDB;
1573
+ } GESV_PARAMS_t;
1574
+
1575
+ /**begin repeat
1576
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
1577
+ #typ=npy_float,npy_double,npy_cfloat,npy_cdouble#
1578
+ #ftyp=fortran_real,fortran_doublereal,fortran_complex,fortran_doublecomplex#
1579
+ #lapack_func=sgesv,dgesv,cgesv,zgesv#
1580
+ */
1581
+
1582
+ /*
1583
+ * Initialize the parameters to use in for the lapack function _heev
1584
+ * Handles buffer allocation
1585
+ */
1586
+ static inline int
1587
+ init_@lapack_func@(GESV_PARAMS_t *params, fortran_int N, fortran_int NRHS)
1588
+ {
1589
+ npy_uint8 *mem_buff = NULL;
1590
+ npy_uint8 *a, *b, *ipiv;
1591
+ size_t safe_N = N;
1592
+ size_t safe_NRHS = NRHS;
1593
+ mem_buff = malloc(safe_N * safe_N * sizeof(@ftyp@) +
1594
+ safe_N * safe_NRHS*sizeof(@ftyp@) +
1595
+ safe_N * sizeof(fortran_int));
1596
+ if (!mem_buff)
1597
+ goto error;
1598
+ a = mem_buff;
1599
+ b = a + safe_N * safe_N * sizeof(@ftyp@);
1600
+ ipiv = b + safe_N * safe_NRHS * sizeof(@ftyp@);
1601
+
1602
+ params->A = a;
1603
+ params->B = b;
1604
+ params->IPIV = (fortran_int*)ipiv;
1605
+ params->N = N;
1606
+ params->NRHS = NRHS;
1607
+ params->LDA = N;
1608
+ params->LDB = N;
1609
+
1610
+ return 1;
1611
+ error:
1612
+ free(mem_buff);
1613
+ memset(params, 0, sizeof(*params));
1614
+
1615
+ return 0;
1616
+ }
1617
+
1618
+ static inline void
1619
+ release_@lapack_func@(GESV_PARAMS_t *params)
1620
+ {
1621
+ /* memory block base is in A */
1622
+ free(params->A);
1623
+ memset(params, 0, sizeof(*params));
1624
+ }
1625
+
1626
+ static inline fortran_int
1627
+ call_@lapack_func@(GESV_PARAMS_t *params)
1628
+ {
1629
+ fortran_int rv;
1630
+ LAPACK(@lapack_func@)(&params->N, &params->NRHS,
1631
+ params->A, &params->LDA,
1632
+ params->IPIV,
1633
+ params->B, &params->LDB,
1634
+ &rv);
1635
+ return rv;
1636
+ }
1637
+
1638
+ static void
1639
+ @TYPE@_solve(char **args, npy_intp *dimensions, npy_intp *steps,
1640
+ void *NPY_UNUSED(func))
1641
+ {
1642
+ GESV_PARAMS_t params;
1643
+ fortran_int n, nrhs;
1644
+ int error_occurred = get_fp_invalid_and_clear();
1645
+ INIT_OUTER_LOOP_3
1646
+
1647
+ n = (fortran_int)dimensions[0];
1648
+ nrhs = (fortran_int)dimensions[1];
1649
+ if (init_@lapack_func@(&params, n, nrhs)) {
1650
+ LINEARIZE_DATA_t a_in, b_in, r_out;
1651
+
1652
+ init_linearize_data(&a_in, n, n, steps[1], steps[0]);
1653
+ init_linearize_data(&b_in, nrhs, n, steps[3], steps[2]);
1654
+ init_linearize_data(&r_out, nrhs, n, steps[5], steps[4]);
1655
+
1656
+ BEGIN_OUTER_LOOP_3
1657
+ int not_ok;
1658
+ linearize_@TYPE@_matrix(params.A, args[0], &a_in);
1659
+ linearize_@TYPE@_matrix(params.B, args[1], &b_in);
1660
+ not_ok =call_@lapack_func@(&params);
1661
+ if (!not_ok) {
1662
+ delinearize_@TYPE@_matrix(args[2], params.B, &r_out);
1663
+ } else {
1664
+ error_occurred = 1;
1665
+ nan_@TYPE@_matrix(args[2], &r_out);
1666
+ }
1667
+ END_OUTER_LOOP
1668
+
1669
+ release_@lapack_func@(&params);
1670
+ }
1671
+
1672
+ set_fp_invalid_or_clear(error_occurred);
1673
+ }
1674
+
1675
+ static void
1676
+ @TYPE@_solve1(char **args, npy_intp *dimensions, npy_intp *steps,
1677
+ void *NPY_UNUSED(func))
1678
+ {
1679
+ GESV_PARAMS_t params;
1680
+ int error_occurred = get_fp_invalid_and_clear();
1681
+ fortran_int n;
1682
+ INIT_OUTER_LOOP_3
1683
+
1684
+ n = (fortran_int)dimensions[0];
1685
+ if (init_@lapack_func@(&params, n, 1)) {
1686
+ LINEARIZE_DATA_t a_in, b_in, r_out;
1687
+ init_linearize_data(&a_in, n, n, steps[1], steps[0]);
1688
+ init_linearize_data(&b_in, 1, n, 1, steps[2]);
1689
+ init_linearize_data(&r_out, 1, n, 1, steps[3]);
1690
+
1691
+ BEGIN_OUTER_LOOP_3
1692
+ int not_ok;
1693
+ linearize_@TYPE@_matrix(params.A, args[0], &a_in);
1694
+ linearize_@TYPE@_matrix(params.B, args[1], &b_in);
1695
+ not_ok = call_@lapack_func@(&params);
1696
+ if (!not_ok) {
1697
+ delinearize_@TYPE@_matrix(args[2], params.B, &r_out);
1698
+ } else {
1699
+ error_occurred = 1;
1700
+ nan_@TYPE@_matrix(args[2], &r_out);
1701
+ }
1702
+ END_OUTER_LOOP
1703
+
1704
+ release_@lapack_func@(&params);
1705
+ }
1706
+
1707
+ set_fp_invalid_or_clear(error_occurred);
1708
+ }
1709
+
1710
+ static void
1711
+ @TYPE@_inv(char **args, npy_intp *dimensions, npy_intp *steps,
1712
+ void *NPY_UNUSED(func))
1713
+ {
1714
+ GESV_PARAMS_t params;
1715
+ fortran_int n;
1716
+ int error_occurred = get_fp_invalid_and_clear();
1717
+ INIT_OUTER_LOOP_2
1718
+
1719
+ n = (fortran_int)dimensions[0];
1720
+ if (init_@lapack_func@(&params, n, n)) {
1721
+ LINEARIZE_DATA_t a_in, r_out;
1722
+ init_linearize_data(&a_in, n, n, steps[1], steps[0]);
1723
+ init_linearize_data(&r_out, n, n, steps[3], steps[2]);
1724
+
1725
+ BEGIN_OUTER_LOOP_2
1726
+ int not_ok;
1727
+ linearize_@TYPE@_matrix(params.A, args[0], &a_in);
1728
+ identity_@TYPE@_matrix(params.B, n);
1729
+ not_ok = call_@lapack_func@(&params);
1730
+ if (!not_ok) {
1731
+ delinearize_@TYPE@_matrix(args[1], params.B, &r_out);
1732
+ } else {
1733
+ error_occurred = 1;
1734
+ nan_@TYPE@_matrix(args[1], &r_out);
1735
+ }
1736
+ END_OUTER_LOOP
1737
+
1738
+ release_@lapack_func@(&params);
1739
+ }
1740
+
1741
+ set_fp_invalid_or_clear(error_occurred);
1742
+ }
1743
+
1744
+ /**end repeat**/
1745
+
1746
+
1747
+ /* -------------------------------------------------------------------------- */
1748
+ /* Cholesky decomposition */
1749
+
1750
+ typedef struct potr_params_struct
1751
+ {
1752
+ void *A;
1753
+ fortran_int N;
1754
+ fortran_int LDA;
1755
+ char UPLO;
1756
+ } POTR_PARAMS_t;
1757
+
1758
+ /**begin repeat
1759
+
1760
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
1761
+ #ftyp=fortran_real, fortran_doublereal,
1762
+ fortran_complex, fortran_doublecomplex#
1763
+ #lapack_func=spotrf,dpotrf,cpotrf,zpotrf#
1764
+ */
1765
+
1766
+ static inline int
1767
+ init_@lapack_func@(POTR_PARAMS_t *params, char UPLO, fortran_int N)
1768
+ {
1769
+ npy_uint8 *mem_buff = NULL;
1770
+ npy_uint8 *a;
1771
+ size_t safe_N = N;
1772
+
1773
+ mem_buff = malloc(safe_N * safe_N * sizeof(@ftyp@));
1774
+ if (!mem_buff)
1775
+ goto error;
1776
+
1777
+ a = mem_buff;
1778
+
1779
+ params->A = a;
1780
+ params->N = N;
1781
+ params->LDA = N;
1782
+ params->UPLO = UPLO;
1783
+
1784
+ return 1;
1785
+ error:
1786
+ free(mem_buff);
1787
+ memset(params, 0, sizeof(*params));
1788
+
1789
+ return 0;
1790
+ }
1791
+
1792
+ static inline void
1793
+ release_@lapack_func@(POTR_PARAMS_t *params)
1794
+ {
1795
+ /* memory block base in A */
1796
+ free(params->A);
1797
+ memset(params, 0, sizeof(*params));
1798
+ }
1799
+
1800
+ static inline fortran_int
1801
+ call_@lapack_func@(POTR_PARAMS_t *params)
1802
+ {
1803
+ fortran_int rv;
1804
+ LAPACK(@lapack_func@)(&params->UPLO,
1805
+ &params->N, params->A, &params->LDA,
1806
+ &rv);
1807
+ return rv;
1808
+ }
1809
+
1810
+ static void
1811
+ @TYPE@_cholesky(char uplo, char **args, npy_intp *dimensions, npy_intp *steps)
1812
+ {
1813
+ POTR_PARAMS_t params;
1814
+ int error_occurred = get_fp_invalid_and_clear();
1815
+ fortran_int n;
1816
+ INIT_OUTER_LOOP_2
1817
+
1818
+ assert(uplo == 'L');
1819
+
1820
+ n = (fortran_int)dimensions[0];
1821
+ if (init_@lapack_func@(&params, uplo, n))
1822
+ {
1823
+ LINEARIZE_DATA_t a_in, r_out;
1824
+ init_linearize_data(&a_in, n, n, steps[1], steps[0]);
1825
+ init_linearize_data(&r_out, n, n, steps[3], steps[2]);
1826
+ BEGIN_OUTER_LOOP_2
1827
+ int not_ok;
1828
+ linearize_@TYPE@_matrix(params.A, args[0], &a_in);
1829
+ not_ok = call_@lapack_func@(&params);
1830
+ if (!not_ok) {
1831
+ triu_@TYPE@_matrix(params.A, params.N);
1832
+ delinearize_@TYPE@_matrix(args[1], params.A, &r_out);
1833
+ } else {
1834
+ error_occurred = 1;
1835
+ nan_@TYPE@_matrix(args[1], &r_out);
1836
+ }
1837
+ END_OUTER_LOOP
1838
+ release_@lapack_func@(&params);
1839
+ }
1840
+
1841
+ set_fp_invalid_or_clear(error_occurred);
1842
+ }
1843
+
1844
+ static void
1845
+ @TYPE@_cholesky_lo(char **args, npy_intp *dimensions, npy_intp *steps,
1846
+ void *NPY_UNUSED(func))
1847
+ {
1848
+ @TYPE@_cholesky('L', args, dimensions, steps);
1849
+ }
1850
+
1851
+ /**end repeat**/
1852
+
1853
+ /* -------------------------------------------------------------------------- */
1854
+ /* eig family */
1855
+
1856
+ typedef struct geev_params_struct {
1857
+ void *A;
1858
+ void *WR; /* RWORK in complex versions, REAL W buffer for (sd)geev*/
1859
+ void *WI;
1860
+ void *VLR; /* REAL VL buffers for _geev where _ is s, d */
1861
+ void *VRR; /* REAL VR buffers for _geev hwere _ is s, d */
1862
+ void *WORK;
1863
+ void *W; /* final w */
1864
+ void *VL; /* final vl */
1865
+ void *VR; /* final vr */
1866
+
1867
+ fortran_int N;
1868
+ fortran_int LDA;
1869
+ fortran_int LDVL;
1870
+ fortran_int LDVR;
1871
+ fortran_int LWORK;
1872
+
1873
+ char JOBVL;
1874
+ char JOBVR;
1875
+ } GEEV_PARAMS_t;
1876
+
1877
+ static inline void
1878
+ dump_geev_params(const char *name, GEEV_PARAMS_t* params)
1879
+ {
1880
+ TRACE_TXT("\n%s\n"
1881
+
1882
+ "\t%10s: %p\n"\
1883
+ "\t%10s: %p\n"\
1884
+ "\t%10s: %p\n"\
1885
+ "\t%10s: %p\n"\
1886
+ "\t%10s: %p\n"\
1887
+ "\t%10s: %p\n"\
1888
+ "\t%10s: %p\n"\
1889
+ "\t%10s: %p\n"\
1890
+ "\t%10s: %p\n"\
1891
+
1892
+ "\t%10s: %d\n"\
1893
+ "\t%10s: %d\n"\
1894
+ "\t%10s: %d\n"\
1895
+ "\t%10s: %d\n"\
1896
+ "\t%10s: %d\n"\
1897
+
1898
+ "\t%10s: %c\n"\
1899
+ "\t%10s: %c\n",
1900
+
1901
+ name,
1902
+
1903
+ "A", params->A,
1904
+ "WR", params->WR,
1905
+ "WI", params->WI,
1906
+ "VLR", params->VLR,
1907
+ "VRR", params->VRR,
1908
+ "WORK", params->WORK,
1909
+ "W", params->W,
1910
+ "VL", params->VL,
1911
+ "VR", params->VR,
1912
+
1913
+ "N", (int)params->N,
1914
+ "LDA", (int)params->LDA,
1915
+ "LDVL", (int)params->LDVL,
1916
+ "LDVR", (int)params->LDVR,
1917
+ "LWORK", (int)params->LWORK,
1918
+
1919
+ "JOBVL", params->JOBVL,
1920
+ "JOBVR", params->JOBVR);
1921
+ }
1922
+
1923
+ /**begin repeat
1924
+ #TYPE=FLOAT,DOUBLE#
1925
+ #CTYPE=CFLOAT,CDOUBLE#
1926
+ #typ=float,double#
1927
+ #complextyp=COMPLEX_t,DOUBLECOMPLEX_t#
1928
+ #lapack_func=sgeev,dgeev#
1929
+ #zero=0.0f,0.0#
1930
+ */
1931
+ static inline int
1932
+ init_@lapack_func@(GEEV_PARAMS_t *params, char jobvl, char jobvr, fortran_int n)
1933
+ {
1934
+ npy_uint8 *mem_buff=NULL;
1935
+ npy_uint8 *mem_buff2=NULL;
1936
+ npy_uint8 *a, *wr, *wi, *vlr, *vrr, *work, *w, *vl, *vr;
1937
+ size_t safe_n = n;
1938
+ size_t a_size = safe_n * safe_n * sizeof(@typ@);
1939
+ size_t wr_size = safe_n * sizeof(@typ@);
1940
+ size_t wi_size = safe_n * sizeof(@typ@);
1941
+ size_t vlr_size = jobvl=='V' ? safe_n * safe_n * sizeof(@typ@) : 0;
1942
+ size_t vrr_size = jobvr=='V' ? safe_n * safe_n * sizeof(@typ@) : 0;
1943
+ size_t w_size = wr_size*2;
1944
+ size_t vl_size = vlr_size*2;
1945
+ size_t vr_size = vrr_size*2;
1946
+ size_t work_count = 0;
1947
+ @typ@ work_size_query;
1948
+ fortran_int do_size_query = -1;
1949
+ fortran_int rv;
1950
+
1951
+ /* allocate data for known sizes (all but work) */
1952
+ mem_buff = malloc(a_size + wr_size + wi_size +
1953
+ vlr_size + vrr_size +
1954
+ w_size + vl_size + vr_size);
1955
+ if (!mem_buff)
1956
+ goto error;
1957
+
1958
+ a = mem_buff;
1959
+ wr = a + a_size;
1960
+ wi = wr + wr_size;
1961
+ vlr = wi + wi_size;
1962
+ vrr = vlr + vlr_size;
1963
+ w = vrr + vrr_size;
1964
+ vl = w + w_size;
1965
+ vr = vl + vl_size;
1966
+ LAPACK(@lapack_func@)(&jobvl, &jobvr, &n,
1967
+ (void *)a, &n, (void *)wr, (void *)wi,
1968
+ (void *)vl, &n, (void *)vr, &n,
1969
+ &work_size_query, &do_size_query,
1970
+ &rv);
1971
+
1972
+ if (0 != rv)
1973
+ goto error;
1974
+
1975
+ work_count = (size_t)work_size_query;
1976
+ mem_buff2 = malloc(work_count*sizeof(@typ@));
1977
+ if (!mem_buff2)
1978
+ goto error;
1979
+ work = mem_buff2;
1980
+
1981
+ params->A = a;
1982
+ params->WR = wr;
1983
+ params->WI = wi;
1984
+ params->VLR = vlr;
1985
+ params->VRR = vrr;
1986
+ params->WORK = work;
1987
+ params->W = w;
1988
+ params->VL = vl;
1989
+ params->VR = vr;
1990
+ params->N = n;
1991
+ params->LDA = n;
1992
+ params->LDVL = n;
1993
+ params->LDVR = n;
1994
+ params->LWORK = (fortran_int)work_count;
1995
+ params->JOBVL = jobvl;
1996
+ params->JOBVR = jobvr;
1997
+
1998
+ return 1;
1999
+ error:
2000
+ free(mem_buff2);
2001
+ free(mem_buff);
2002
+ memset(params, 0, sizeof(*params));
2003
+
2004
+ return 0;
2005
+ }
2006
+
2007
+ static inline fortran_int
2008
+ call_@lapack_func@(GEEV_PARAMS_t* params)
2009
+ {
2010
+ fortran_int rv;
2011
+ LAPACK(@lapack_func@)(&params->JOBVL, &params->JOBVR,
2012
+ &params->N, params->A, &params->LDA,
2013
+ params->WR, params->WI,
2014
+ params->VLR, &params->LDVL,
2015
+ params->VRR, &params->LDVR,
2016
+ params->WORK, &params->LWORK,
2017
+ &rv);
2018
+ return rv;
2019
+ }
2020
+
2021
+
2022
+ static inline void
2023
+ mk_@TYPE@_complex_array_from_real(@complextyp@ *c, const @typ@ *re, size_t n)
2024
+ {
2025
+ size_t iter;
2026
+ for (iter = 0; iter < n; ++iter) {
2027
+ c[iter].array[0] = re[iter];
2028
+ c[iter].array[1] = @zero@;
2029
+ }
2030
+ }
2031
+
2032
+ static inline void
2033
+ mk_@TYPE@_complex_array(@complextyp@ *c,
2034
+ const @typ@ *re,
2035
+ const @typ@ *im,
2036
+ size_t n)
2037
+ {
2038
+ size_t iter;
2039
+ for (iter = 0; iter < n; ++iter) {
2040
+ c[iter].array[0] = re[iter];
2041
+ c[iter].array[1] = im[iter];
2042
+ }
2043
+ }
2044
+
2045
+ static inline void
2046
+ mk_@TYPE@_complex_array_conjugate_pair(@complextyp@ *c,
2047
+ const @typ@ *r,
2048
+ size_t n)
2049
+ {
2050
+ size_t iter;
2051
+ for (iter = 0; iter < n; ++iter) {
2052
+ @typ@ re = r[iter];
2053
+ @typ@ im = r[iter+n];
2054
+ c[iter].array[0] = re;
2055
+ c[iter].array[1] = im;
2056
+ c[iter+n].array[0] = re;
2057
+ c[iter+n].array[1] = -im;
2058
+ }
2059
+ }
2060
+
2061
+ /*
2062
+ * make the complex eigenvectors from the real array produced by sgeev/zgeev.
2063
+ * c is the array where the results will be left.
2064
+ * r is the source array of reals produced by sgeev/zgeev
2065
+ * i is the eigenvalue imaginary part produced by sgeev/zgeev
2066
+ * n is so that the order of the matrix is n by n
2067
+ */
2068
+ static inline void
2069
+ mk_@lapack_func@_complex_eigenvectors(@complextyp@ *c,
2070
+ const @typ@ *r,
2071
+ const @typ@ *i,
2072
+ size_t n)
2073
+ {
2074
+ size_t iter = 0;
2075
+ while (iter < n)
2076
+ {
2077
+ if (i[iter] == @zero@) {
2078
+ /* eigenvalue was real, eigenvectors as well... */
2079
+ mk_@TYPE@_complex_array_from_real(c, r, n);
2080
+ c += n;
2081
+ r += n;
2082
+ iter ++;
2083
+ } else {
2084
+ /* eigenvalue was complex, generate a pair of eigenvectors */
2085
+ mk_@TYPE@_complex_array_conjugate_pair(c, r, n);
2086
+ c += 2*n;
2087
+ r += 2*n;
2088
+ iter += 2;
2089
+ }
2090
+ }
2091
+ }
2092
+
2093
+
2094
+ static inline void
2095
+ process_@lapack_func@_results(GEEV_PARAMS_t *params)
2096
+ {
2097
+ /* REAL versions of geev need the results to be translated
2098
+ * into complex versions. This is the way to deal with imaginary
2099
+ * results. In our gufuncs we will always return complex arrays!
2100
+ */
2101
+ mk_@TYPE@_complex_array(params->W, params->WR, params->WI, params->N);
2102
+
2103
+ /* handle the eigenvectors */
2104
+ if ('V' == params->JOBVL) {
2105
+ mk_@lapack_func@_complex_eigenvectors(params->VL, params->VLR,
2106
+ params->WI, params->N);
2107
+ }
2108
+ if ('V' == params->JOBVR) {
2109
+ mk_@lapack_func@_complex_eigenvectors(params->VR, params->VRR,
2110
+ params->WI, params->N);
2111
+ }
2112
+ }
2113
+
2114
+ /**end repeat**/
2115
+
2116
+
2117
+ /**begin repeat
2118
+ #TYPE=CFLOAT,CDOUBLE#
2119
+ #typ=COMPLEX_t,DOUBLECOMPLEX_t#
2120
+ #ftyp=fortran_complex,fortran_doublecomplex#
2121
+ #realtyp=float,double#
2122
+ #lapack_func=cgeev,zgeev#
2123
+ */
2124
+
2125
+ static inline int
2126
+ init_@lapack_func@(GEEV_PARAMS_t* params,
2127
+ char jobvl,
2128
+ char jobvr,
2129
+ fortran_int n)
2130
+ {
2131
+ npy_uint8 *mem_buff = NULL;
2132
+ npy_uint8 *mem_buff2 = NULL;
2133
+ npy_uint8 *a, *w, *vl, *vr, *work, *rwork;
2134
+ size_t safe_n = n;
2135
+ size_t a_size = safe_n * safe_n * sizeof(@ftyp@);
2136
+ size_t w_size = safe_n * sizeof(@ftyp@);
2137
+ size_t vl_size = jobvl=='V'? safe_n * safe_n * sizeof(@ftyp@) : 0;
2138
+ size_t vr_size = jobvr=='V'? safe_n * safe_n * sizeof(@ftyp@) : 0;
2139
+ size_t rwork_size = 2 * safe_n * sizeof(@realtyp@);
2140
+ size_t work_count = 0;
2141
+ @typ@ work_size_query;
2142
+ fortran_int do_size_query = -1;
2143
+ fortran_int rv;
2144
+ size_t total_size = a_size + w_size + vl_size + vr_size + rwork_size;
2145
+
2146
+ mem_buff = malloc(total_size);
2147
+ if (!mem_buff)
2148
+ goto error;
2149
+
2150
+ a = mem_buff;
2151
+ w = a + a_size;
2152
+ vl = w + w_size;
2153
+ vr = vl + vl_size;
2154
+ rwork = vr + vr_size;
2155
+ LAPACK(@lapack_func@)(&jobvl, &jobvr, &n,
2156
+ (void *)a, &n, (void *)w,
2157
+ (void *)vl, &n, (void *)vr, &n,
2158
+ (void *)&work_size_query, &do_size_query,
2159
+ (void *)rwork,
2160
+ &rv);
2161
+ if (0 != rv)
2162
+ goto error;
2163
+
2164
+ work_count = (size_t) work_size_query.array[0];
2165
+ mem_buff2 = malloc(work_count*sizeof(@ftyp@));
2166
+ if (!mem_buff2)
2167
+ goto error;
2168
+
2169
+ work = mem_buff2;
2170
+
2171
+ params->A = a;
2172
+ params->WR = rwork;
2173
+ params->WI = NULL;
2174
+ params->VLR = NULL;
2175
+ params->VRR = NULL;
2176
+ params->VL = vl;
2177
+ params->VR = vr;
2178
+ params->WORK = work;
2179
+ params->W = w;
2180
+ params->N = n;
2181
+ params->LDA = n;
2182
+ params->LDVL = n;
2183
+ params->LDVR = n;
2184
+ params->LWORK = (fortran_int)work_count;
2185
+ params->JOBVL = jobvl;
2186
+ params->JOBVR = jobvr;
2187
+
2188
+ return 1;
2189
+ error:
2190
+ free(mem_buff2);
2191
+ free(mem_buff);
2192
+ memset(params, 0, sizeof(*params));
2193
+
2194
+ return 0;
2195
+ }
2196
+
2197
+ static inline fortran_int
2198
+ call_@lapack_func@(GEEV_PARAMS_t* params)
2199
+ {
2200
+ fortran_int rv;
2201
+
2202
+ LAPACK(@lapack_func@)(&params->JOBVL, &params->JOBVR,
2203
+ &params->N, params->A, &params->LDA,
2204
+ params->W,
2205
+ params->VL, &params->LDVL,
2206
+ params->VR, &params->LDVR,
2207
+ params->WORK, &params->LWORK,
2208
+ params->WR, /* actually RWORK */
2209
+ &rv);
2210
+ return rv;
2211
+ }
2212
+
2213
+
2214
+ static inline void
2215
+ process_@lapack_func@_results(GEEV_PARAMS_t *NPY_UNUSED(params))
2216
+ {
2217
+ /* nothing to do here, complex versions are ready to copy out */
2218
+ }
2219
+ /**end repeat**/
2220
+
2221
+
2222
+ /**begin repeat
2223
+ #TYPE=FLOAT,DOUBLE,CDOUBLE#
2224
+ #COMPLEXTYPE=CFLOAT,CDOUBLE,CDOUBLE#
2225
+ #ftype=fortran_real,fortran_doublereal,fortran_doublecomplex#
2226
+ #lapack_func=sgeev,dgeev,zgeev#
2227
+ */
2228
+
2229
+ static inline void
2230
+ release_@lapack_func@(GEEV_PARAMS_t *params)
2231
+ {
2232
+ free(params->WORK);
2233
+ free(params->A);
2234
+ memset(params, 0, sizeof(*params));
2235
+ }
2236
+
2237
+ static inline void
2238
+ @TYPE@_eig_wrapper(char JOBVL,
2239
+ char JOBVR,
2240
+ char**args,
2241
+ npy_intp* dimensions,
2242
+ npy_intp* steps)
2243
+ {
2244
+ ptrdiff_t outer_steps[4];
2245
+ size_t iter;
2246
+ size_t outer_dim = *dimensions++;
2247
+ size_t op_count = 2;
2248
+ int error_occurred = get_fp_invalid_and_clear();
2249
+ GEEV_PARAMS_t geev_params;
2250
+
2251
+ assert(JOBVL == 'N');
2252
+
2253
+ STACK_TRACE;
2254
+ op_count += 'V'==JOBVL?1:0;
2255
+ op_count += 'V'==JOBVR?1:0;
2256
+
2257
+ for (iter=0; iter < op_count; ++iter) {
2258
+ outer_steps[iter] = (ptrdiff_t) steps[iter];
2259
+ }
2260
+ steps += op_count;
2261
+
2262
+ if (init_@lapack_func@(&geev_params,
2263
+ JOBVL, JOBVR,
2264
+ (fortran_int)dimensions[0])) {
2265
+ LINEARIZE_DATA_t a_in;
2266
+ LINEARIZE_DATA_t w_out;
2267
+ LINEARIZE_DATA_t vl_out;
2268
+ LINEARIZE_DATA_t vr_out;
2269
+
2270
+ init_linearize_data(&a_in,
2271
+ geev_params.N, geev_params.N,
2272
+ steps[1], steps[0]);
2273
+ steps += 2;
2274
+ init_linearize_data(&w_out,
2275
+ 1, geev_params.N,
2276
+ 0, steps[0]);
2277
+ steps += 1;
2278
+ if ('V' == geev_params.JOBVL) {
2279
+ init_linearize_data(&vl_out,
2280
+ geev_params.N, geev_params.N,
2281
+ steps[1], steps[0]);
2282
+ steps += 2;
2283
+ }
2284
+ if ('V' == geev_params.JOBVR) {
2285
+ init_linearize_data(&vr_out,
2286
+ geev_params.N, geev_params.N,
2287
+ steps[1], steps[0]);
2288
+ }
2289
+
2290
+ for (iter = 0; iter < outer_dim; ++iter) {
2291
+ int not_ok;
2292
+ char **arg_iter = args;
2293
+ /* copy the matrix in */
2294
+ linearize_@TYPE@_matrix(geev_params.A, *arg_iter++, &a_in);
2295
+ not_ok = call_@lapack_func@(&geev_params);
2296
+
2297
+ if (!not_ok) {
2298
+ process_@lapack_func@_results(&geev_params);
2299
+ delinearize_@COMPLEXTYPE@_matrix(*arg_iter++,
2300
+ geev_params.W,
2301
+ &w_out);
2302
+
2303
+ if ('V' == geev_params.JOBVL)
2304
+ delinearize_@COMPLEXTYPE@_matrix(*arg_iter++,
2305
+ geev_params.VL,
2306
+ &vl_out);
2307
+ if ('V' == geev_params.JOBVR)
2308
+ delinearize_@COMPLEXTYPE@_matrix(*arg_iter++,
2309
+ geev_params.VR,
2310
+ &vr_out);
2311
+ } else {
2312
+ /* geev failed */
2313
+ error_occurred = 1;
2314
+ nan_@COMPLEXTYPE@_matrix(*arg_iter++, &w_out);
2315
+ if ('V' == geev_params.JOBVL)
2316
+ nan_@COMPLEXTYPE@_matrix(*arg_iter++, &vl_out);
2317
+ if ('V' == geev_params.JOBVR)
2318
+ nan_@COMPLEXTYPE@_matrix(*arg_iter++, &vr_out);
2319
+ }
2320
+ update_pointers((npy_uint8**)args, outer_steps, op_count);
2321
+ }
2322
+
2323
+ release_@lapack_func@(&geev_params);
2324
+ }
2325
+
2326
+ set_fp_invalid_or_clear(error_occurred);
2327
+ }
2328
+
2329
+ static void
2330
+ @TYPE@_eig(char **args,
2331
+ npy_intp *dimensions,
2332
+ npy_intp *steps,
2333
+ void *NPY_UNUSED(func))
2334
+ {
2335
+ @TYPE@_eig_wrapper('N', 'V', args, dimensions, steps);
2336
+ }
2337
+
2338
+ static void
2339
+ @TYPE@_eigvals(char **args,
2340
+ npy_intp *dimensions,
2341
+ npy_intp *steps,
2342
+ void *NPY_UNUSED(func))
2343
+ {
2344
+ @TYPE@_eig_wrapper('N', 'N', args, dimensions, steps);
2345
+ }
2346
+
2347
+ /**end repeat**/
2348
+
2349
+
2350
+ /* -------------------------------------------------------------------------- */
2351
+ /* singular value decomposition */
2352
+
2353
+ typedef struct gessd_params_struct
2354
+ {
2355
+ void *A;
2356
+ void *S;
2357
+ void *U;
2358
+ void *VT;
2359
+ void *WORK;
2360
+ void *RWORK;
2361
+ void *IWORK;
2362
+
2363
+ fortran_int M;
2364
+ fortran_int N;
2365
+ fortran_int LDA;
2366
+ fortran_int LDU;
2367
+ fortran_int LDVT;
2368
+ fortran_int LWORK;
2369
+ char JOBZ;
2370
+ } GESDD_PARAMS_t;
2371
+
2372
+
2373
+ static inline void
2374
+ dump_gesdd_params(const char *name,
2375
+ GESDD_PARAMS_t *params)
2376
+ {
2377
+ TRACE_TXT("\n%s:\n"\
2378
+
2379
+ "%14s: %18p\n"\
2380
+ "%14s: %18p\n"\
2381
+ "%14s: %18p\n"\
2382
+ "%14s: %18p\n"\
2383
+ "%14s: %18p\n"\
2384
+ "%14s: %18p\n"\
2385
+ "%14s: %18p\n"\
2386
+
2387
+ "%14s: %18d\n"\
2388
+ "%14s: %18d\n"\
2389
+ "%14s: %18d\n"\
2390
+ "%14s: %18d\n"\
2391
+ "%14s: %18d\n"\
2392
+ "%14s: %18d\n"\
2393
+
2394
+ "%14s: %15c'%c'\n",
2395
+
2396
+ name,
2397
+
2398
+ "A", params->A,
2399
+ "S", params->S,
2400
+ "U", params->U,
2401
+ "VT", params->VT,
2402
+ "WORK", params->WORK,
2403
+ "RWORK", params->RWORK,
2404
+ "IWORK", params->IWORK,
2405
+
2406
+ "M", (int)params->M,
2407
+ "N", (int)params->N,
2408
+ "LDA", (int)params->LDA,
2409
+ "LDU", (int)params->LDU,
2410
+ "LDVT", (int)params->LDVT,
2411
+ "LWORK", (int)params->LWORK,
2412
+
2413
+ "JOBZ", ' ',params->JOBZ);
2414
+ }
2415
+
2416
+ static inline int
2417
+ compute_urows_vtcolumns(char jobz,
2418
+ fortran_int m, fortran_int n,
2419
+ fortran_int *urows, fortran_int *vtcolumns)
2420
+ {
2421
+ fortran_int min_m_n = m<n?m:n;
2422
+ switch(jobz)
2423
+ {
2424
+ case 'N':
2425
+ *urows = 0;
2426
+ *vtcolumns = 0;
2427
+ break;
2428
+ case 'A':
2429
+ *urows = m;
2430
+ *vtcolumns = n;
2431
+ break;
2432
+ case 'S':
2433
+ {
2434
+ *urows = min_m_n;
2435
+ *vtcolumns = min_m_n;
2436
+ }
2437
+ break;
2438
+ default:
2439
+ return 0;
2440
+ }
2441
+
2442
+ return 1;
2443
+ }
2444
+
2445
+
2446
+ /**begin repeat
2447
+ #TYPE=FLOAT,DOUBLE#
2448
+ #lapack_func=sgesdd,dgesdd#
2449
+ #ftyp=fortran_real,fortran_doublereal#
2450
+ */
2451
+
2452
+ static inline int
2453
+ init_@lapack_func@(GESDD_PARAMS_t *params,
2454
+ char jobz,
2455
+ fortran_int m,
2456
+ fortran_int n)
2457
+ {
2458
+ npy_uint8 *mem_buff = NULL;
2459
+ npy_uint8 *mem_buff2 = NULL;
2460
+ npy_uint8 *a, *s, *u, *vt, *work, *iwork;
2461
+ size_t safe_m = m;
2462
+ size_t safe_n = n;
2463
+ size_t a_size = safe_m * safe_n * sizeof(@ftyp@);
2464
+ fortran_int min_m_n = m<n?m:n;
2465
+ size_t safe_min_m_n = min_m_n;
2466
+ size_t s_size = safe_min_m_n * sizeof(@ftyp@);
2467
+ fortran_int u_row_count, vt_column_count;
2468
+ size_t safe_u_row_count, safe_vt_column_count;
2469
+ size_t u_size, vt_size;
2470
+ fortran_int work_count;
2471
+ size_t work_size;
2472
+ size_t iwork_size = 8 * safe_min_m_n * sizeof(fortran_int);
2473
+
2474
+ if (!compute_urows_vtcolumns(jobz, m, n, &u_row_count, &vt_column_count))
2475
+ goto error;
2476
+
2477
+ safe_u_row_count = u_row_count;
2478
+ safe_vt_column_count = vt_column_count;
2479
+
2480
+ u_size = safe_u_row_count * safe_m * sizeof(@ftyp@);
2481
+ vt_size = safe_n * safe_vt_column_count * sizeof(@ftyp@);
2482
+
2483
+ mem_buff = malloc(a_size + s_size + u_size + vt_size + iwork_size);
2484
+
2485
+ if (!mem_buff)
2486
+ goto error;
2487
+
2488
+ a = mem_buff;
2489
+ s = a + a_size;
2490
+ u = s + s_size;
2491
+ vt = u + u_size;
2492
+ iwork = vt + vt_size;
2493
+
2494
+ /* fix vt_column_count so that it is a valid lapack parameter (0 is not) */
2495
+ vt_column_count = vt_column_count < 1? 1 : vt_column_count;
2496
+ {
2497
+ /* compute optimal work size */
2498
+ @ftyp@ work_size_query;
2499
+ fortran_int do_query = -1;
2500
+ fortran_int rv;
2501
+ LAPACK(@lapack_func@)(&jobz, &m, &n,
2502
+ (void*)a, &m, (void*)s, (void*)u, &m,
2503
+ (void*)vt, &vt_column_count,
2504
+ &work_size_query, &do_query,
2505
+ (void*)iwork, &rv);
2506
+ if (0!=rv)
2507
+ goto error;
2508
+ work_count = (fortran_int)work_size_query;
2509
+ work_size = (size_t)work_count * sizeof(@ftyp@);
2510
+ }
2511
+
2512
+ mem_buff2 = malloc(work_size);
2513
+ if (!mem_buff2)
2514
+ goto error;
2515
+
2516
+ work = mem_buff2;
2517
+
2518
+ params->M = m;
2519
+ params->N = n;
2520
+ params->A = a;
2521
+ params->S = s;
2522
+ params->U = u;
2523
+ params->VT = vt;
2524
+ params->WORK = work;
2525
+ params->RWORK = NULL;
2526
+ params->IWORK = iwork;
2527
+ params->M = m;
2528
+ params->N = n;
2529
+ params->LDA = m;
2530
+ params->LDU = m;
2531
+ params->LDVT = vt_column_count;
2532
+ params->LWORK = work_count;
2533
+ params->JOBZ = jobz;
2534
+
2535
+ return 1;
2536
+ error:
2537
+ TRACE_TXT("%s failed init\n", __FUNCTION__);
2538
+ free(mem_buff);
2539
+ free(mem_buff2);
2540
+ memset(params, 0, sizeof(*params));
2541
+
2542
+ return 0;
2543
+ }
2544
+
2545
+ static inline fortran_int
2546
+ call_@lapack_func@(GESDD_PARAMS_t *params)
2547
+ {
2548
+ fortran_int rv;
2549
+ LAPACK(@lapack_func@)(&params->JOBZ, &params->M, &params->N,
2550
+ params->A, &params->LDA,
2551
+ params->S,
2552
+ params->U, &params->LDU,
2553
+ params->VT, &params->LDVT,
2554
+ params->WORK, &params->LWORK,
2555
+ params->IWORK,
2556
+ &rv);
2557
+ return rv;
2558
+ }
2559
+
2560
+ /**end repeat**/
2561
+
2562
+ /**begin repeat
2563
+ #TYPE=CFLOAT,CDOUBLE#
2564
+ #ftyp=fortran_complex,fortran_doublecomplex#
2565
+ #frealtyp=fortran_real,fortran_doublereal#
2566
+ #typ=COMPLEX_t,DOUBLECOMPLEX_t#
2567
+ #lapack_func=cgesdd,zgesdd#
2568
+ */
2569
+
2570
+ static inline int
2571
+ init_@lapack_func@(GESDD_PARAMS_t *params,
2572
+ char jobz,
2573
+ fortran_int m,
2574
+ fortran_int n)
2575
+ {
2576
+ npy_uint8 *mem_buff = NULL, *mem_buff2 = NULL;
2577
+ npy_uint8 *a,*s, *u, *vt, *work, *rwork, *iwork;
2578
+ size_t a_size, s_size, u_size, vt_size, work_size, rwork_size, iwork_size;
2579
+ size_t safe_u_row_count, safe_vt_column_count;
2580
+ fortran_int u_row_count, vt_column_count, work_count;
2581
+ size_t safe_m = m;
2582
+ size_t safe_n = n;
2583
+ fortran_int min_m_n = m<n?m:n;
2584
+ size_t safe_min_m_n = min_m_n;
2585
+
2586
+ if (!compute_urows_vtcolumns(jobz, m, n, &u_row_count, &vt_column_count))
2587
+ goto error;
2588
+
2589
+ safe_u_row_count = u_row_count;
2590
+ safe_vt_column_count = vt_column_count;
2591
+
2592
+ a_size = safe_m * safe_n * sizeof(@ftyp@);
2593
+ s_size = safe_min_m_n * sizeof(@frealtyp@);
2594
+ u_size = safe_u_row_count * safe_m * sizeof(@ftyp@);
2595
+ vt_size = safe_n * safe_vt_column_count * sizeof(@ftyp@);
2596
+ rwork_size = 'N'==jobz?
2597
+ (7 * safe_min_m_n) :
2598
+ (5*safe_min_m_n * safe_min_m_n + 5*safe_min_m_n);
2599
+ rwork_size *= sizeof(@ftyp@);
2600
+ iwork_size = 8 * safe_min_m_n* sizeof(fortran_int);
2601
+
2602
+ mem_buff = malloc(a_size +
2603
+ s_size +
2604
+ u_size +
2605
+ vt_size +
2606
+ rwork_size +
2607
+ iwork_size);
2608
+ if (!mem_buff)
2609
+ goto error;
2610
+
2611
+ a = mem_buff;
2612
+ s = a + a_size;
2613
+ u = s + s_size;
2614
+ vt = u + u_size;
2615
+ rwork = vt + vt_size;
2616
+ iwork = rwork + rwork_size;
2617
+
2618
+ /* fix vt_column_count so that it is a valid lapack parameter (0 is not) */
2619
+ vt_column_count = vt_column_count < 1? 1 : vt_column_count;
2620
+ {
2621
+ /* compute optimal work size */
2622
+ @ftyp@ work_size_query;
2623
+ fortran_int do_query = -1;
2624
+ fortran_int rv;
2625
+ LAPACK(@lapack_func@)(&jobz, &m, &n,
2626
+ (void*)a, &m, (void*)s, (void*)u, &m,
2627
+ (void*)vt, &vt_column_count,
2628
+ &work_size_query, &do_query,
2629
+ (void*)rwork,
2630
+ (void*)iwork, &rv);
2631
+ if (0!=rv)
2632
+ goto error;
2633
+ work_count = (fortran_int)((@typ@*)&work_size_query)->array[0];
2634
+ work_size = (size_t)work_count * sizeof(@ftyp@);
2635
+ }
2636
+
2637
+ mem_buff2 = malloc(work_size);
2638
+ if (!mem_buff2)
2639
+ goto error;
2640
+
2641
+ work = mem_buff2;
2642
+
2643
+ params->A = a;
2644
+ params->S = s;
2645
+ params->U = u;
2646
+ params->VT = vt;
2647
+ params->WORK = work;
2648
+ params->RWORK = rwork;
2649
+ params->IWORK = iwork;
2650
+ params->M = m;
2651
+ params->N = n;
2652
+ params->LDA = m;
2653
+ params->LDU = m;
2654
+ params->LDVT = vt_column_count;
2655
+ params->LWORK = work_count;
2656
+ params->JOBZ = jobz;
2657
+
2658
+ return 1;
2659
+ error:
2660
+ TRACE_TXT("%s failed init\n", __FUNCTION__);
2661
+ free(mem_buff2);
2662
+ free(mem_buff);
2663
+ memset(params, 0, sizeof(*params));
2664
+
2665
+ return 0;
2666
+ }
2667
+
2668
+ static inline fortran_int
2669
+ call_@lapack_func@(GESDD_PARAMS_t *params)
2670
+ {
2671
+ fortran_int rv;
2672
+ LAPACK(@lapack_func@)(&params->JOBZ, &params->M, &params->N,
2673
+ params->A, &params->LDA,
2674
+ params->S,
2675
+ params->U, &params->LDU,
2676
+ params->VT, &params->LDVT,
2677
+ params->WORK, &params->LWORK,
2678
+ params->RWORK,
2679
+ params->IWORK,
2680
+ &rv);
2681
+ return rv;
2682
+ }
2683
+ /**end repeat**/
2684
+
2685
+
2686
+ /**begin repeat
2687
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
2688
+ #REALTYPE=FLOAT,DOUBLE,FLOAT,DOUBLE#
2689
+ #lapack_func=sgesdd,dgesdd,cgesdd,zgesdd#
2690
+ */
2691
+ static inline void
2692
+ release_@lapack_func@(GESDD_PARAMS_t* params)
2693
+ {
2694
+ /* A and WORK contain allocated blocks */
2695
+ free(params->A);
2696
+ free(params->WORK);
2697
+ memset(params, 0, sizeof(*params));
2698
+ }
2699
+
2700
+ static inline void
2701
+ @TYPE@_svd_wrapper(char JOBZ,
2702
+ char **args,
2703
+ npy_intp* dimensions,
2704
+ npy_intp* steps)
2705
+ {
2706
+ ptrdiff_t outer_steps[4];
2707
+ int error_occurred = get_fp_invalid_and_clear();
2708
+ size_t iter;
2709
+ size_t outer_dim = *dimensions++;
2710
+ size_t op_count = (JOBZ=='N')?2:4;
2711
+ GESDD_PARAMS_t params;
2712
+
2713
+ for (iter=0; iter < op_count; ++iter) {
2714
+ outer_steps[iter] = (ptrdiff_t) steps[iter];
2715
+ }
2716
+ steps += op_count;
2717
+
2718
+ if (init_@lapack_func@(&params,
2719
+ JOBZ,
2720
+ (fortran_int)dimensions[0],
2721
+ (fortran_int)dimensions[1])) {
2722
+ LINEARIZE_DATA_t a_in, u_out, s_out, v_out;
2723
+
2724
+ init_linearize_data(&a_in, params.N, params.M, steps[1], steps[0]);
2725
+ if ('N' == params.JOBZ) {
2726
+ /* only the singular values are wanted */
2727
+ fortran_int min_m_n = params.M < params.N? params.M : params.N;
2728
+ init_linearize_data(&s_out, 1, min_m_n, 0, steps[2]);
2729
+ } else {
2730
+ fortran_int u_columns, v_rows;
2731
+ fortran_int min_m_n = params.M < params.N? params.M : params.N;
2732
+ if ('S' == params.JOBZ) {
2733
+ u_columns = min_m_n;
2734
+ v_rows = min_m_n;
2735
+ } else {
2736
+ u_columns = params.M;
2737
+ v_rows = params.N;
2738
+ }
2739
+ init_linearize_data(&u_out,
2740
+ u_columns, params.M,
2741
+ steps[3], steps[2]);
2742
+ init_linearize_data(&s_out,
2743
+ 1, min_m_n,
2744
+ 0, steps[4]);
2745
+ init_linearize_data(&v_out,
2746
+ params.N, v_rows,
2747
+ steps[6], steps[5]);
2748
+ }
2749
+
2750
+ for (iter = 0; iter < outer_dim; ++iter) {
2751
+ int not_ok;
2752
+ /* copy the matrix in */
2753
+ linearize_@TYPE@_matrix(params.A, args[0], &a_in);
2754
+ not_ok = call_@lapack_func@(&params);
2755
+ if (!not_ok) {
2756
+ if ('N' == params.JOBZ) {
2757
+ delinearize_@REALTYPE@_matrix(args[1], params.S, &s_out);
2758
+ } else {
2759
+ delinearize_@TYPE@_matrix(args[1], params.U, &u_out);
2760
+ delinearize_@REALTYPE@_matrix(args[2], params.S, &s_out);
2761
+ delinearize_@TYPE@_matrix(args[3], params.VT, &v_out);
2762
+ }
2763
+ } else {
2764
+ error_occurred = 1;
2765
+ if ('N' == params.JOBZ) {
2766
+ nan_@REALTYPE@_matrix(args[1], &s_out);
2767
+ } else {
2768
+ nan_@TYPE@_matrix(args[1], &u_out);
2769
+ nan_@REALTYPE@_matrix(args[2], &s_out);
2770
+ nan_@TYPE@_matrix(args[3], &v_out);
2771
+ }
2772
+ }
2773
+ update_pointers((npy_uint8**)args, outer_steps, op_count);
2774
+ }
2775
+
2776
+ release_@lapack_func@(&params);
2777
+ }
2778
+
2779
+ set_fp_invalid_or_clear(error_occurred);
2780
+ }
2781
+ /**end repeat*/
2782
+
2783
+
2784
+ /* svd gufunc entry points */
2785
+ /**begin repeat
2786
+ #TYPE=FLOAT,DOUBLE,CFLOAT,CDOUBLE#
2787
+ */
2788
+ static void
2789
+ @TYPE@_svd_N(char **args,
2790
+ npy_intp *dimensions,
2791
+ npy_intp *steps,
2792
+ void *NPY_UNUSED(func))
2793
+ {
2794
+ @TYPE@_svd_wrapper('N', args, dimensions, steps);
2795
+ }
2796
+
2797
+ static void
2798
+ @TYPE@_svd_S(char **args,
2799
+ npy_intp *dimensions,
2800
+ npy_intp *steps,
2801
+ void *NPY_UNUSED(func))
2802
+ {
2803
+ @TYPE@_svd_wrapper('S', args, dimensions, steps);
2804
+ }
2805
+
2806
+ static void
2807
+ @TYPE@_svd_A(char **args,
2808
+ npy_intp *dimensions,
2809
+ npy_intp *steps,
2810
+ void *NPY_UNUSED(func))
2811
+ {
2812
+ @TYPE@_svd_wrapper('A', args, dimensions, steps);
2813
+ }
2814
+
2815
+ /**end repeat**/
2816
+
2817
+ #pragma GCC diagnostic pop
2818
+
2819
+ /* -------------------------------------------------------------------------- */
2820
+ /* gufunc registration */
2821
+
2822
+ static void *array_of_nulls[] = {
2823
+ (void *)NULL,
2824
+ (void *)NULL,
2825
+ (void *)NULL,
2826
+ (void *)NULL,
2827
+
2828
+ (void *)NULL,
2829
+ (void *)NULL,
2830
+ (void *)NULL,
2831
+ (void *)NULL,
2832
+
2833
+ (void *)NULL,
2834
+ (void *)NULL,
2835
+ (void *)NULL,
2836
+ (void *)NULL,
2837
+
2838
+ (void *)NULL,
2839
+ (void *)NULL,
2840
+ (void *)NULL,
2841
+ (void *)NULL
2842
+ };
2843
+
2844
+ #define FUNC_ARRAY_NAME(NAME) NAME ## _funcs
2845
+
2846
+ #define GUFUNC_FUNC_ARRAY_REAL(NAME) \
2847
+ static PyUFuncGenericFunction \
2848
+ FUNC_ARRAY_NAME(NAME)[] = { \
2849
+ FLOAT_ ## NAME, \
2850
+ DOUBLE_ ## NAME \
2851
+ }
2852
+
2853
+ #define GUFUNC_FUNC_ARRAY_REAL_COMPLEX(NAME) \
2854
+ static PyUFuncGenericFunction \
2855
+ FUNC_ARRAY_NAME(NAME)[] = { \
2856
+ FLOAT_ ## NAME, \
2857
+ DOUBLE_ ## NAME, \
2858
+ CFLOAT_ ## NAME, \
2859
+ CDOUBLE_ ## NAME \
2860
+ }
2861
+
2862
+ /* There are problems with eig in complex single precision.
2863
+ * That kernel is disabled
2864
+ */
2865
+ #define GUFUNC_FUNC_ARRAY_EIG(NAME) \
2866
+ static PyUFuncGenericFunction \
2867
+ FUNC_ARRAY_NAME(NAME)[] = { \
2868
+ FLOAT_ ## NAME, \
2869
+ DOUBLE_ ## NAME, \
2870
+ CDOUBLE_ ## NAME \
2871
+ }
2872
+
2873
+
2874
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(slogdet);
2875
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(det);
2876
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(eighlo);
2877
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(eighup);
2878
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(eigvalshlo);
2879
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(eigvalshup);
2880
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(solve);
2881
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(solve1);
2882
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(inv);
2883
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(cholesky_lo);
2884
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(svd_N);
2885
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(svd_S);
2886
+ GUFUNC_FUNC_ARRAY_REAL_COMPLEX(svd_A);
2887
+ GUFUNC_FUNC_ARRAY_EIG(eig);
2888
+ GUFUNC_FUNC_ARRAY_EIG(eigvals);
2889
+
2890
+ static char equal_2_types[] = {
2891
+ NPY_FLOAT, NPY_FLOAT,
2892
+ NPY_DOUBLE, NPY_DOUBLE,
2893
+ NPY_CFLOAT, NPY_CFLOAT,
2894
+ NPY_CDOUBLE, NPY_CDOUBLE
2895
+ };
2896
+
2897
+ static char equal_3_types[] = {
2898
+ NPY_FLOAT, NPY_FLOAT, NPY_FLOAT,
2899
+ NPY_DOUBLE, NPY_DOUBLE, NPY_DOUBLE,
2900
+ NPY_CFLOAT, NPY_CFLOAT, NPY_CFLOAT,
2901
+ NPY_CDOUBLE, NPY_CDOUBLE, NPY_CDOUBLE
2902
+ };
2903
+
2904
+ /* second result is logdet, that will always be a REAL */
2905
+ static char slogdet_types[] = {
2906
+ NPY_FLOAT, NPY_FLOAT, NPY_FLOAT,
2907
+ NPY_DOUBLE, NPY_DOUBLE, NPY_DOUBLE,
2908
+ NPY_CFLOAT, NPY_CFLOAT, NPY_FLOAT,
2909
+ NPY_CDOUBLE, NPY_CDOUBLE, NPY_DOUBLE
2910
+ };
2911
+
2912
+ static char eigh_types[] = {
2913
+ NPY_FLOAT, NPY_FLOAT, NPY_FLOAT,
2914
+ NPY_DOUBLE, NPY_DOUBLE, NPY_DOUBLE,
2915
+ NPY_CFLOAT, NPY_FLOAT, NPY_CFLOAT,
2916
+ NPY_CDOUBLE, NPY_DOUBLE, NPY_CDOUBLE
2917
+ };
2918
+
2919
+ static char eighvals_types[] = {
2920
+ NPY_FLOAT, NPY_FLOAT,
2921
+ NPY_DOUBLE, NPY_DOUBLE,
2922
+ NPY_CFLOAT, NPY_FLOAT,
2923
+ NPY_CDOUBLE, NPY_DOUBLE
2924
+ };
2925
+
2926
+ static char eig_types[] = {
2927
+ NPY_FLOAT, NPY_CFLOAT, NPY_CFLOAT,
2928
+ NPY_DOUBLE, NPY_CDOUBLE, NPY_CDOUBLE,
2929
+ NPY_CDOUBLE, NPY_CDOUBLE, NPY_CDOUBLE
2930
+ };
2931
+
2932
+ static char eigvals_types[] = {
2933
+ NPY_FLOAT, NPY_CFLOAT,
2934
+ NPY_DOUBLE, NPY_CDOUBLE,
2935
+ NPY_CDOUBLE, NPY_CDOUBLE
2936
+ };
2937
+
2938
+ static char svd_1_1_types[] = {
2939
+ NPY_FLOAT, NPY_FLOAT,
2940
+ NPY_DOUBLE, NPY_DOUBLE,
2941
+ NPY_CFLOAT, NPY_FLOAT,
2942
+ NPY_CDOUBLE, NPY_DOUBLE
2943
+ };
2944
+
2945
+ static char svd_1_3_types[] = {
2946
+ NPY_FLOAT, NPY_FLOAT, NPY_FLOAT, NPY_FLOAT,
2947
+ NPY_DOUBLE, NPY_DOUBLE, NPY_DOUBLE, NPY_DOUBLE,
2948
+ NPY_CFLOAT, NPY_CFLOAT, NPY_FLOAT, NPY_CFLOAT,
2949
+ NPY_CDOUBLE, NPY_CDOUBLE, NPY_DOUBLE, NPY_CDOUBLE
2950
+ };
2951
+
2952
+ typedef struct gufunc_descriptor_struct {
2953
+ char *name;
2954
+ char *signature;
2955
+ char *doc;
2956
+ int ntypes;
2957
+ int nin;
2958
+ int nout;
2959
+ PyUFuncGenericFunction *funcs;
2960
+ char *types;
2961
+ } GUFUNC_DESCRIPTOR_t;
2962
+
2963
+ GUFUNC_DESCRIPTOR_t gufunc_descriptors [] = {
2964
+ {
2965
+ "slogdet",
2966
+ "(m,m)->(),()",
2967
+ "slogdet on the last two dimensions and broadcast on the rest. \n"\
2968
+ "Results in two arrays, one with sign and the other with log of the"\
2969
+ " determinants. \n"\
2970
+ " \"(m,m)->(),()\" \n",
2971
+ 4, 1, 2,
2972
+ FUNC_ARRAY_NAME(slogdet),
2973
+ slogdet_types
2974
+ },
2975
+ {
2976
+ "det",
2977
+ "(m,m)->()",
2978
+ "det of the last two dimensions and broadcast on the rest. \n"\
2979
+ " \"(m,m)->()\" \n",
2980
+ 4, 1, 1,
2981
+ FUNC_ARRAY_NAME(det),
2982
+ equal_2_types
2983
+ },
2984
+ {
2985
+ "eigh_lo",
2986
+ "(m,m)->(m),(m,m)",
2987
+ "eigh on the last two dimension and broadcast to the rest, using"\
2988
+ " lower triangle \n"\
2989
+ "Results in a vector of eigenvalues and a matrix with the"\
2990
+ "eigenvectors. \n"\
2991
+ " \"(m,m)->(m),(m,m)\" \n",
2992
+ 4, 1, 2,
2993
+ FUNC_ARRAY_NAME(eighlo),
2994
+ eigh_types
2995
+ },
2996
+ {
2997
+ "eigh_up",
2998
+ "(m,m)->(m),(m,m)",
2999
+ "eigh on the last two dimension and broadcast to the rest, using"\
3000
+ " upper triangle. \n"\
3001
+ "Results in a vector of eigenvalues and a matrix with the"\
3002
+ " eigenvectors. \n"\
3003
+ " \"(m,m)->(m),(m,m)\" \n",
3004
+ 4, 1, 2,
3005
+ FUNC_ARRAY_NAME(eighup),
3006
+ eigh_types
3007
+ },
3008
+ {
3009
+ "eigvalsh_lo",
3010
+ "(m,m)->(m)",
3011
+ "eigh on the last two dimension and broadcast to the rest, using"\
3012
+ " lower triangle. \n"\
3013
+ "Results in a vector of eigenvalues and a matrix with the"\
3014
+ "eigenvectors. \n"\
3015
+ " \"(m,m)->(m)\" \n",
3016
+ 4, 1, 1,
3017
+ FUNC_ARRAY_NAME(eigvalshlo),
3018
+ eighvals_types
3019
+ },
3020
+ {
3021
+ "eigvalsh_up",
3022
+ "(m,m)->(m)",
3023
+ "eigvalsh on the last two dimension and broadcast to the rest,"\
3024
+ " using upper triangle. \n"\
3025
+ "Results in a vector of eigenvalues and a matrix with the"\
3026
+ "eigenvectors.\n"\
3027
+ " \"(m,m)->(m)\" \n",
3028
+ 4, 1, 1,
3029
+ FUNC_ARRAY_NAME(eigvalshup),
3030
+ eighvals_types
3031
+ },
3032
+ {
3033
+ "solve",
3034
+ "(m,m),(m,n)->(m,n)",
3035
+ "solve the system a x = b, on the last two dimensions, broadcast"\
3036
+ " to the rest. \n"\
3037
+ "Results in a matrices with the solutions. \n"\
3038
+ " \"(m,m),(m,n)->(m,n)\" \n",
3039
+ 4, 2, 1,
3040
+ FUNC_ARRAY_NAME(solve),
3041
+ equal_3_types
3042
+ },
3043
+ {
3044
+ "solve1",
3045
+ "(m,m),(m)->(m)",
3046
+ "solve the system a x = b, for b being a vector, broadcast in"\
3047
+ " the outer dimensions. \n"\
3048
+ "Results in vectors with the solutions. \n"\
3049
+ " \"(m,m),(m)->(m)\" \n",
3050
+ 4,2,1,
3051
+ FUNC_ARRAY_NAME(solve1),
3052
+ equal_3_types
3053
+ },
3054
+ {
3055
+ "inv",
3056
+ "(m,m)->(m,m)",
3057
+ "compute the inverse of the last two dimensions and broadcast"\
3058
+ " to the rest. \n"\
3059
+ "Results in the inverse matrices. \n"\
3060
+ " \"(m,m)->(m,m)\" \n",
3061
+ 4,1,1,
3062
+ FUNC_ARRAY_NAME(inv),
3063
+ equal_2_types
3064
+ },
3065
+ {
3066
+ "cholesky_lo",
3067
+ "(m,m)->(m,m)",
3068
+ "cholesky decomposition of hermitian positive-definite matrices. \n"\
3069
+ "Broadcast to all outer dimensions. \n"\
3070
+ " \"(m,m)->(m,m)\" \n",
3071
+ 4, 1, 1,
3072
+ FUNC_ARRAY_NAME(cholesky_lo),
3073
+ equal_2_types
3074
+ },
3075
+ {
3076
+ "svd_m",
3077
+ "(m,n)->(m)",
3078
+ "svd when n>=m. ",
3079
+ 4, 1, 1,
3080
+ FUNC_ARRAY_NAME(svd_N),
3081
+ svd_1_1_types
3082
+ },
3083
+ {
3084
+ "svd_n",
3085
+ "(m,n)->(n)",
3086
+ "svd when n<=m",
3087
+ 4, 1, 1,
3088
+ FUNC_ARRAY_NAME(svd_N),
3089
+ svd_1_1_types
3090
+ },
3091
+ {
3092
+ "svd_m_s",
3093
+ "(m,n)->(m,m),(m),(m,n)",
3094
+ "svd when m>=n",
3095
+ 4, 1, 3,
3096
+ FUNC_ARRAY_NAME(svd_S),
3097
+ svd_1_3_types
3098
+ },
3099
+ {
3100
+ "svd_n_s",
3101
+ "(m,n)->(m,n),(n),(n,n)",
3102
+ "svd when m>=n",
3103
+ 4, 1, 3,
3104
+ FUNC_ARRAY_NAME(svd_S),
3105
+ svd_1_3_types
3106
+ },
3107
+ {
3108
+ "svd_m_f",
3109
+ "(m,n)->(m,m),(m),(n,n)",
3110
+ "svd when m>=n",
3111
+ 4, 1, 3,
3112
+ FUNC_ARRAY_NAME(svd_A),
3113
+ svd_1_3_types
3114
+ },
3115
+ {
3116
+ "svd_n_f",
3117
+ "(m,n)->(m,m),(n),(n,n)",
3118
+ "svd when m>=n",
3119
+ 4, 1, 3,
3120
+ FUNC_ARRAY_NAME(svd_A),
3121
+ svd_1_3_types
3122
+ },
3123
+ {
3124
+ "eig",
3125
+ "(m,m)->(m),(m,m)",
3126
+ "eig on the last two dimension and broadcast to the rest. \n"\
3127
+ "Results in a vector with the eigenvalues and a matrix with the"\
3128
+ " eigenvectors. \n"\
3129
+ " \"(m,m)->(m),(m,m)\" \n",
3130
+ 3, 1, 2,
3131
+ FUNC_ARRAY_NAME(eig),
3132
+ eig_types
3133
+ },
3134
+ {
3135
+ "eigvals",
3136
+ "(m,m)->(m)",
3137
+ "eigvals on the last two dimension and broadcast to the rest. \n"\
3138
+ "Results in a vector of eigenvalues. \n"\
3139
+ " \"(m,m)->(m),(m,m)\" \n",
3140
+ 3, 1, 1,
3141
+ FUNC_ARRAY_NAME(eigvals),
3142
+ eigvals_types
3143
+ },
3144
+ };
3145
+
3146
+ static void
3147
+ addUfuncs(PyObject *dictionary) {
3148
+ PyObject *f;
3149
+ int i;
3150
+ const int gufunc_count = sizeof(gufunc_descriptors)/
3151
+ sizeof(gufunc_descriptors[0]);
3152
+ for (i=0; i < gufunc_count; i++) {
3153
+ GUFUNC_DESCRIPTOR_t* d = &gufunc_descriptors[i];
3154
+ f = PyUFunc_FromFuncAndDataAndSignature(d->funcs,
3155
+ array_of_nulls,
3156
+ d->types,
3157
+ d->ntypes,
3158
+ d->nin,
3159
+ d->nout,
3160
+ PyUFunc_None,
3161
+ d->name,
3162
+ d->doc,
3163
+ 0,
3164
+ d->signature);
3165
+ PyDict_SetItemString(dictionary, d->name, f);
3166
+ #if 0
3167
+ dump_ufunc_object((PyUFuncObject*) f);
3168
+ #endif
3169
+ Py_DECREF(f);
3170
+ }
3171
+ }
3172
+
3173
+
3174
+
3175
+ /* -------------------------------------------------------------------------- */
3176
+ /* Module initialization stuff */
3177
+
3178
+ static PyMethodDef UMath_LinAlgMethods[] = {
3179
+ {NULL, NULL, 0, NULL} /* Sentinel */
3180
+ };
3181
+
3182
+ #if defined(NPY_PY3K)
3183
+ static struct PyModuleDef moduledef = {
3184
+ PyModuleDef_HEAD_INIT,
3185
+ UMATH_LINALG_MODULE_NAME,
3186
+ NULL,
3187
+ -1,
3188
+ UMath_LinAlgMethods,
3189
+ NULL,
3190
+ NULL,
3191
+ NULL,
3192
+ NULL
3193
+ };
3194
+ #endif
3195
+
3196
+ #if defined(NPY_PY3K)
3197
+ #define RETVAL m
3198
+ PyObject *PyInit__umath_linalg(void)
3199
+ #else
3200
+ #define RETVAL
3201
+ PyMODINIT_FUNC
3202
+ init_umath_linalg(void)
3203
+ #endif
3204
+ {
3205
+ PyObject *m;
3206
+ PyObject *d;
3207
+ PyObject *version;
3208
+
3209
+ init_constants();
3210
+ #if defined(NPY_PY3K)
3211
+ m = PyModule_Create(&moduledef);
3212
+ #else
3213
+ m = Py_InitModule(UMATH_LINALG_MODULE_NAME, UMath_LinAlgMethods);
3214
+ #endif
3215
+ if (m == NULL)
3216
+ return RETVAL;
3217
+
3218
+ import_array();
3219
+ import_ufunc();
3220
+
3221
+ d = PyModule_GetDict(m);
3222
+
3223
+ version = PyString_FromString(umath_linalg_version_string);
3224
+ PyDict_SetItemString(d, "__version__", version);
3225
+ Py_DECREF(version);
3226
+
3227
+ /* Load the ufunc operators into the module's namespace */
3228
+ addUfuncs(d);
3229
+
3230
+ if (PyErr_Occurred()) {
3231
+ PyErr_SetString(PyExc_RuntimeError,
3232
+ "cannot load _umath_linalg module.");
3233
+ }
3234
+
3235
+ return RETVAL;
3236
+ }