numpy 2.1.0__cp313-cp313-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of numpy might be problematic. Click here for more details.

Files changed (833) hide show
  1. numpy/__config__.py +162 -0
  2. numpy/__init__.cython-30.pxd +1225 -0
  3. numpy/__init__.pxd +1140 -0
  4. numpy/__init__.py +542 -0
  5. numpy/__init__.pyi +4095 -0
  6. numpy/_array_api_info.py +346 -0
  7. numpy/_array_api_info.pyi +213 -0
  8. numpy/_configtool.py +39 -0
  9. numpy/_core/__init__.py +180 -0
  10. numpy/_core/__init__.pyi +2 -0
  11. numpy/_core/_add_newdocs.py +7089 -0
  12. numpy/_core/_add_newdocs_scalars.py +389 -0
  13. numpy/_core/_asarray.py +135 -0
  14. numpy/_core/_asarray.pyi +41 -0
  15. numpy/_core/_dtype.py +374 -0
  16. numpy/_core/_dtype_ctypes.py +120 -0
  17. numpy/_core/_exceptions.py +172 -0
  18. numpy/_core/_internal.py +963 -0
  19. numpy/_core/_internal.pyi +30 -0
  20. numpy/_core/_machar.py +356 -0
  21. numpy/_core/_methods.py +260 -0
  22. numpy/_core/_multiarray_tests.cp313-win32.lib +0 -0
  23. numpy/_core/_multiarray_tests.cp313-win32.pyd +0 -0
  24. numpy/_core/_multiarray_umath.cp313-win32.lib +0 -0
  25. numpy/_core/_multiarray_umath.cp313-win32.pyd +0 -0
  26. numpy/_core/_operand_flag_tests.cp313-win32.lib +0 -0
  27. numpy/_core/_operand_flag_tests.cp313-win32.pyd +0 -0
  28. numpy/_core/_rational_tests.cp313-win32.lib +0 -0
  29. numpy/_core/_rational_tests.cp313-win32.pyd +0 -0
  30. numpy/_core/_simd.cp313-win32.lib +0 -0
  31. numpy/_core/_simd.cp313-win32.pyd +0 -0
  32. numpy/_core/_string_helpers.py +100 -0
  33. numpy/_core/_struct_ufunc_tests.cp313-win32.lib +0 -0
  34. numpy/_core/_struct_ufunc_tests.cp313-win32.pyd +0 -0
  35. numpy/_core/_type_aliases.py +119 -0
  36. numpy/_core/_type_aliases.pyi +3 -0
  37. numpy/_core/_ufunc_config.py +503 -0
  38. numpy/_core/_ufunc_config.pyi +37 -0
  39. numpy/_core/_umath_tests.cp313-win32.lib +0 -0
  40. numpy/_core/_umath_tests.cp313-win32.pyd +0 -0
  41. numpy/_core/arrayprint.py +1737 -0
  42. numpy/_core/arrayprint.pyi +135 -0
  43. numpy/_core/cversions.py +13 -0
  44. numpy/_core/defchararray.py +1402 -0
  45. numpy/_core/defchararray.pyi +843 -0
  46. numpy/_core/einsumfunc.py +1505 -0
  47. numpy/_core/einsumfunc.pyi +183 -0
  48. numpy/_core/fromnumeric.py +4320 -0
  49. numpy/_core/fromnumeric.pyi +1239 -0
  50. numpy/_core/function_base.py +562 -0
  51. numpy/_core/function_base.pyi +202 -0
  52. numpy/_core/getlimits.py +742 -0
  53. numpy/_core/getlimits.pyi +6 -0
  54. numpy/_core/include/numpy/__multiarray_api.c +376 -0
  55. numpy/_core/include/numpy/__multiarray_api.h +1613 -0
  56. numpy/_core/include/numpy/__ufunc_api.c +54 -0
  57. numpy/_core/include/numpy/__ufunc_api.h +340 -0
  58. numpy/_core/include/numpy/_neighborhood_iterator_imp.h +90 -0
  59. numpy/_core/include/numpy/_numpyconfig.h +33 -0
  60. numpy/_core/include/numpy/_public_dtype_api_table.h +86 -0
  61. numpy/_core/include/numpy/arrayobject.h +7 -0
  62. numpy/_core/include/numpy/arrayscalars.h +196 -0
  63. numpy/_core/include/numpy/dtype_api.h +479 -0
  64. numpy/_core/include/numpy/halffloat.h +70 -0
  65. numpy/_core/include/numpy/ndarrayobject.h +304 -0
  66. numpy/_core/include/numpy/ndarraytypes.h +1925 -0
  67. numpy/_core/include/numpy/npy_1_7_deprecated_api.h +112 -0
  68. numpy/_core/include/numpy/npy_2_compat.h +249 -0
  69. numpy/_core/include/numpy/npy_2_complexcompat.h +28 -0
  70. numpy/_core/include/numpy/npy_3kcompat.h +374 -0
  71. numpy/_core/include/numpy/npy_common.h +1070 -0
  72. numpy/_core/include/numpy/npy_cpu.h +129 -0
  73. numpy/_core/include/numpy/npy_endian.h +77 -0
  74. numpy/_core/include/numpy/npy_math.h +602 -0
  75. numpy/_core/include/numpy/npy_no_deprecated_api.h +20 -0
  76. numpy/_core/include/numpy/npy_os.h +42 -0
  77. numpy/_core/include/numpy/numpyconfig.h +171 -0
  78. numpy/_core/include/numpy/random/LICENSE.txt +21 -0
  79. numpy/_core/include/numpy/random/bitgen.h +20 -0
  80. numpy/_core/include/numpy/random/distributions.h +209 -0
  81. numpy/_core/include/numpy/random/libdivide.h +2079 -0
  82. numpy/_core/include/numpy/ufuncobject.h +345 -0
  83. numpy/_core/include/numpy/utils.h +37 -0
  84. numpy/_core/lib/npy-pkg-config/mlib.ini +12 -0
  85. numpy/_core/lib/npy-pkg-config/npymath.ini +20 -0
  86. numpy/_core/lib/npymath.lib +0 -0
  87. numpy/_core/lib/pkgconfig/numpy.pc +7 -0
  88. numpy/_core/memmap.py +352 -0
  89. numpy/_core/memmap.pyi +3 -0
  90. numpy/_core/multiarray.py +1772 -0
  91. numpy/_core/multiarray.pyi +1081 -0
  92. numpy/_core/numeric.py +2729 -0
  93. numpy/_core/numeric.pyi +707 -0
  94. numpy/_core/numerictypes.py +629 -0
  95. numpy/_core/numerictypes.pyi +99 -0
  96. numpy/_core/overrides.py +181 -0
  97. numpy/_core/printoptions.py +32 -0
  98. numpy/_core/records.py +1091 -0
  99. numpy/_core/records.pyi +329 -0
  100. numpy/_core/shape_base.py +1004 -0
  101. numpy/_core/shape_base.pyi +138 -0
  102. numpy/_core/strings.py +1560 -0
  103. numpy/_core/strings.pyi +331 -0
  104. numpy/_core/tests/_locales.py +74 -0
  105. numpy/_core/tests/_natype.py +198 -0
  106. numpy/_core/tests/data/astype_copy.pkl +0 -0
  107. numpy/_core/tests/data/generate_umath_validation_data.cpp +170 -0
  108. numpy/_core/tests/data/recarray_from_file.fits +0 -0
  109. numpy/_core/tests/data/umath-validation-set-README.txt +15 -0
  110. numpy/_core/tests/data/umath-validation-set-arccos.csv +1429 -0
  111. numpy/_core/tests/data/umath-validation-set-arccosh.csv +1429 -0
  112. numpy/_core/tests/data/umath-validation-set-arcsin.csv +1429 -0
  113. numpy/_core/tests/data/umath-validation-set-arcsinh.csv +1429 -0
  114. numpy/_core/tests/data/umath-validation-set-arctan.csv +1429 -0
  115. numpy/_core/tests/data/umath-validation-set-arctanh.csv +1429 -0
  116. numpy/_core/tests/data/umath-validation-set-cbrt.csv +1429 -0
  117. numpy/_core/tests/data/umath-validation-set-cos.csv +1375 -0
  118. numpy/_core/tests/data/umath-validation-set-cosh.csv +1429 -0
  119. numpy/_core/tests/data/umath-validation-set-exp.csv +412 -0
  120. numpy/_core/tests/data/umath-validation-set-exp2.csv +1429 -0
  121. numpy/_core/tests/data/umath-validation-set-expm1.csv +1429 -0
  122. numpy/_core/tests/data/umath-validation-set-log.csv +271 -0
  123. numpy/_core/tests/data/umath-validation-set-log10.csv +1629 -0
  124. numpy/_core/tests/data/umath-validation-set-log1p.csv +1429 -0
  125. numpy/_core/tests/data/umath-validation-set-log2.csv +1629 -0
  126. numpy/_core/tests/data/umath-validation-set-sin.csv +1370 -0
  127. numpy/_core/tests/data/umath-validation-set-sinh.csv +1429 -0
  128. numpy/_core/tests/data/umath-validation-set-tan.csv +1429 -0
  129. numpy/_core/tests/data/umath-validation-set-tanh.csv +1429 -0
  130. numpy/_core/tests/examples/cython/checks.pyx +268 -0
  131. numpy/_core/tests/examples/cython/meson.build +43 -0
  132. numpy/_core/tests/examples/cython/setup.py +37 -0
  133. numpy/_core/tests/examples/limited_api/limited_api1.c +17 -0
  134. numpy/_core/tests/examples/limited_api/limited_api2.pyx +11 -0
  135. numpy/_core/tests/examples/limited_api/limited_api_latest.c +19 -0
  136. numpy/_core/tests/examples/limited_api/meson.build +59 -0
  137. numpy/_core/tests/examples/limited_api/setup.py +22 -0
  138. numpy/_core/tests/test__exceptions.py +89 -0
  139. numpy/_core/tests/test_abc.py +54 -0
  140. numpy/_core/tests/test_api.py +616 -0
  141. numpy/_core/tests/test_argparse.py +90 -0
  142. numpy/_core/tests/test_array_api_info.py +112 -0
  143. numpy/_core/tests/test_array_coercion.py +900 -0
  144. numpy/_core/tests/test_array_interface.py +219 -0
  145. numpy/_core/tests/test_arraymethod.py +87 -0
  146. numpy/_core/tests/test_arrayobject.py +33 -0
  147. numpy/_core/tests/test_arrayprint.py +1259 -0
  148. numpy/_core/tests/test_casting_floatingpoint_errors.py +154 -0
  149. numpy/_core/tests/test_casting_unittests.py +818 -0
  150. numpy/_core/tests/test_conversion_utils.py +209 -0
  151. numpy/_core/tests/test_cpu_dispatcher.py +45 -0
  152. numpy/_core/tests/test_cpu_features.py +414 -0
  153. numpy/_core/tests/test_custom_dtypes.py +312 -0
  154. numpy/_core/tests/test_cython.py +302 -0
  155. numpy/_core/tests/test_datetime.py +2596 -0
  156. numpy/_core/tests/test_defchararray.py +822 -0
  157. numpy/_core/tests/test_deprecations.py +750 -0
  158. numpy/_core/tests/test_dlpack.py +178 -0
  159. numpy/_core/tests/test_dtype.py +1983 -0
  160. numpy/_core/tests/test_einsum.py +1232 -0
  161. numpy/_core/tests/test_errstate.py +129 -0
  162. numpy/_core/tests/test_extint128.py +219 -0
  163. numpy/_core/tests/test_function_base.py +482 -0
  164. numpy/_core/tests/test_getlimits.py +194 -0
  165. numpy/_core/tests/test_half.py +572 -0
  166. numpy/_core/tests/test_hashtable.py +35 -0
  167. numpy/_core/tests/test_indexerrors.py +124 -0
  168. numpy/_core/tests/test_indexing.py +1440 -0
  169. numpy/_core/tests/test_item_selection.py +165 -0
  170. numpy/_core/tests/test_limited_api.py +91 -0
  171. numpy/_core/tests/test_longdouble.py +395 -0
  172. numpy/_core/tests/test_machar.py +30 -0
  173. numpy/_core/tests/test_mem_overlap.py +933 -0
  174. numpy/_core/tests/test_mem_policy.py +450 -0
  175. numpy/_core/tests/test_memmap.py +221 -0
  176. numpy/_core/tests/test_multiarray.py +10341 -0
  177. numpy/_core/tests/test_multithreading.py +122 -0
  178. numpy/_core/tests/test_nditer.py +3364 -0
  179. numpy/_core/tests/test_nep50_promotions.py +367 -0
  180. numpy/_core/tests/test_numeric.py +4171 -0
  181. numpy/_core/tests/test_numerictypes.py +620 -0
  182. numpy/_core/tests/test_overrides.py +739 -0
  183. numpy/_core/tests/test_print.py +202 -0
  184. numpy/_core/tests/test_protocols.py +45 -0
  185. numpy/_core/tests/test_records.py +540 -0
  186. numpy/_core/tests/test_regression.py +2646 -0
  187. numpy/_core/tests/test_scalar_ctors.py +204 -0
  188. numpy/_core/tests/test_scalar_methods.py +225 -0
  189. numpy/_core/tests/test_scalarbuffer.py +153 -0
  190. numpy/_core/tests/test_scalarinherit.py +105 -0
  191. numpy/_core/tests/test_scalarmath.py +1166 -0
  192. numpy/_core/tests/test_scalarprint.py +382 -0
  193. numpy/_core/tests/test_shape_base.py +860 -0
  194. numpy/_core/tests/test_simd.py +1333 -0
  195. numpy/_core/tests/test_simd_module.py +101 -0
  196. numpy/_core/tests/test_stringdtype.py +1694 -0
  197. numpy/_core/tests/test_strings.py +1205 -0
  198. numpy/_core/tests/test_ufunc.py +3178 -0
  199. numpy/_core/tests/test_umath.py +4870 -0
  200. numpy/_core/tests/test_umath_accuracy.py +119 -0
  201. numpy/_core/tests/test_umath_complex.py +622 -0
  202. numpy/_core/tests/test_unicode.py +368 -0
  203. numpy/_core/umath.py +40 -0
  204. numpy/_distributor_init.py +15 -0
  205. numpy/_expired_attrs_2_0.py +80 -0
  206. numpy/_globals.py +95 -0
  207. numpy/_pyinstaller/__init__.py +0 -0
  208. numpy/_pyinstaller/hook-numpy.py +36 -0
  209. numpy/_pyinstaller/tests/__init__.py +16 -0
  210. numpy/_pyinstaller/tests/pyinstaller-smoke.py +32 -0
  211. numpy/_pyinstaller/tests/test_pyinstaller.py +35 -0
  212. numpy/_pytesttester.py +199 -0
  213. numpy/_pytesttester.pyi +18 -0
  214. numpy/_typing/__init__.py +224 -0
  215. numpy/_typing/_add_docstring.py +152 -0
  216. numpy/_typing/_array_like.py +170 -0
  217. numpy/_typing/_callable.pyi +381 -0
  218. numpy/_typing/_char_codes.py +141 -0
  219. numpy/_typing/_dtype_like.py +249 -0
  220. numpy/_typing/_extended_precision.py +27 -0
  221. numpy/_typing/_nbit.py +17 -0
  222. numpy/_typing/_nested_sequence.py +86 -0
  223. numpy/_typing/_scalars.py +27 -0
  224. numpy/_typing/_shape.py +7 -0
  225. numpy/_typing/_ufunc.pyi +412 -0
  226. numpy/_utils/__init__.py +87 -0
  227. numpy/_utils/_convertions.py +18 -0
  228. numpy/_utils/_inspect.py +191 -0
  229. numpy/_utils/_pep440.py +487 -0
  230. numpy/char/__init__.py +2 -0
  231. numpy/char/__init__.pyi +57 -0
  232. numpy/compat/__init__.py +29 -0
  233. numpy/compat/py3k.py +145 -0
  234. numpy/compat/tests/__init__.py +0 -0
  235. numpy/conftest.py +247 -0
  236. numpy/core/__init__.py +32 -0
  237. numpy/core/__init__.pyi +0 -0
  238. numpy/core/_dtype.py +9 -0
  239. numpy/core/_dtype_ctypes.py +9 -0
  240. numpy/core/_internal.py +25 -0
  241. numpy/core/_multiarray_umath.py +55 -0
  242. numpy/core/_utils.py +21 -0
  243. numpy/core/arrayprint.py +9 -0
  244. numpy/core/defchararray.py +9 -0
  245. numpy/core/einsumfunc.py +9 -0
  246. numpy/core/fromnumeric.py +9 -0
  247. numpy/core/function_base.py +9 -0
  248. numpy/core/getlimits.py +9 -0
  249. numpy/core/multiarray.py +24 -0
  250. numpy/core/numeric.py +11 -0
  251. numpy/core/numerictypes.py +9 -0
  252. numpy/core/overrides.py +9 -0
  253. numpy/core/records.py +9 -0
  254. numpy/core/shape_base.py +9 -0
  255. numpy/core/umath.py +9 -0
  256. numpy/ctypeslib.py +561 -0
  257. numpy/ctypeslib.pyi +253 -0
  258. numpy/doc/ufuncs.py +138 -0
  259. numpy/dtypes.py +41 -0
  260. numpy/dtypes.pyi +600 -0
  261. numpy/exceptions.py +249 -0
  262. numpy/exceptions.pyi +19 -0
  263. numpy/f2py/__init__.py +88 -0
  264. numpy/f2py/__init__.pyi +42 -0
  265. numpy/f2py/__main__.py +5 -0
  266. numpy/f2py/__version__.py +1 -0
  267. numpy/f2py/_backends/__init__.py +9 -0
  268. numpy/f2py/_backends/_backend.py +46 -0
  269. numpy/f2py/_backends/_distutils.py +75 -0
  270. numpy/f2py/_backends/_meson.py +234 -0
  271. numpy/f2py/_backends/meson.build.template +55 -0
  272. numpy/f2py/_isocbind.py +62 -0
  273. numpy/f2py/_src_pyf.py +239 -0
  274. numpy/f2py/auxfuncs.py +988 -0
  275. numpy/f2py/capi_maps.py +821 -0
  276. numpy/f2py/cb_rules.py +644 -0
  277. numpy/f2py/cfuncs.py +1545 -0
  278. numpy/f2py/common_rules.py +146 -0
  279. numpy/f2py/crackfortran.py +3755 -0
  280. numpy/f2py/diagnose.py +154 -0
  281. numpy/f2py/f2py2e.py +787 -0
  282. numpy/f2py/f90mod_rules.py +267 -0
  283. numpy/f2py/func2subr.py +323 -0
  284. numpy/f2py/rules.py +1573 -0
  285. numpy/f2py/setup.cfg +3 -0
  286. numpy/f2py/src/fortranobject.c +1423 -0
  287. numpy/f2py/src/fortranobject.h +173 -0
  288. numpy/f2py/symbolic.py +1517 -0
  289. numpy/f2py/tests/__init__.py +15 -0
  290. numpy/f2py/tests/src/abstract_interface/foo.f90 +34 -0
  291. numpy/f2py/tests/src/abstract_interface/gh18403_mod.f90 +6 -0
  292. numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +235 -0
  293. numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap +1 -0
  294. numpy/f2py/tests/src/assumed_shape/foo_free.f90 +34 -0
  295. numpy/f2py/tests/src/assumed_shape/foo_mod.f90 +41 -0
  296. numpy/f2py/tests/src/assumed_shape/foo_use.f90 +19 -0
  297. numpy/f2py/tests/src/assumed_shape/precision.f90 +4 -0
  298. numpy/f2py/tests/src/block_docstring/foo.f +6 -0
  299. numpy/f2py/tests/src/callback/foo.f +62 -0
  300. numpy/f2py/tests/src/callback/gh17797.f90 +7 -0
  301. numpy/f2py/tests/src/callback/gh18335.f90 +17 -0
  302. numpy/f2py/tests/src/callback/gh25211.f +10 -0
  303. numpy/f2py/tests/src/callback/gh25211.pyf +18 -0
  304. numpy/f2py/tests/src/cli/gh_22819.pyf +6 -0
  305. numpy/f2py/tests/src/cli/hi77.f +3 -0
  306. numpy/f2py/tests/src/cli/hiworld.f90 +3 -0
  307. numpy/f2py/tests/src/common/block.f +11 -0
  308. numpy/f2py/tests/src/common/gh19161.f90 +10 -0
  309. numpy/f2py/tests/src/crackfortran/accesstype.f90 +13 -0
  310. numpy/f2py/tests/src/crackfortran/data_common.f +8 -0
  311. numpy/f2py/tests/src/crackfortran/data_multiplier.f +5 -0
  312. numpy/f2py/tests/src/crackfortran/data_stmts.f90 +20 -0
  313. numpy/f2py/tests/src/crackfortran/data_with_comments.f +8 -0
  314. numpy/f2py/tests/src/crackfortran/foo_deps.f90 +6 -0
  315. numpy/f2py/tests/src/crackfortran/gh15035.f +16 -0
  316. numpy/f2py/tests/src/crackfortran/gh17859.f +12 -0
  317. numpy/f2py/tests/src/crackfortran/gh22648.pyf +7 -0
  318. numpy/f2py/tests/src/crackfortran/gh23533.f +5 -0
  319. numpy/f2py/tests/src/crackfortran/gh23598.f90 +4 -0
  320. numpy/f2py/tests/src/crackfortran/gh23598Warn.f90 +11 -0
  321. numpy/f2py/tests/src/crackfortran/gh23879.f90 +20 -0
  322. numpy/f2py/tests/src/crackfortran/gh2848.f90 +13 -0
  323. numpy/f2py/tests/src/crackfortran/operators.f90 +49 -0
  324. numpy/f2py/tests/src/crackfortran/privatemod.f90 +11 -0
  325. numpy/f2py/tests/src/crackfortran/publicmod.f90 +10 -0
  326. numpy/f2py/tests/src/crackfortran/pubprivmod.f90 +10 -0
  327. numpy/f2py/tests/src/crackfortran/unicode_comment.f90 +4 -0
  328. numpy/f2py/tests/src/f2cmap/.f2py_f2cmap +1 -0
  329. numpy/f2py/tests/src/f2cmap/isoFortranEnvMap.f90 +9 -0
  330. numpy/f2py/tests/src/isocintrin/isoCtests.f90 +34 -0
  331. numpy/f2py/tests/src/kind/foo.f90 +20 -0
  332. numpy/f2py/tests/src/mixed/foo.f +5 -0
  333. numpy/f2py/tests/src/mixed/foo_fixed.f90 +8 -0
  334. numpy/f2py/tests/src/mixed/foo_free.f90 +8 -0
  335. numpy/f2py/tests/src/modules/gh25337/data.f90 +8 -0
  336. numpy/f2py/tests/src/modules/gh25337/use_data.f90 +6 -0
  337. numpy/f2py/tests/src/modules/module_data_docstring.f90 +12 -0
  338. numpy/f2py/tests/src/modules/use_modules.f90 +20 -0
  339. numpy/f2py/tests/src/negative_bounds/issue_20853.f90 +7 -0
  340. numpy/f2py/tests/src/parameter/constant_array.f90 +45 -0
  341. numpy/f2py/tests/src/parameter/constant_both.f90 +57 -0
  342. numpy/f2py/tests/src/parameter/constant_compound.f90 +15 -0
  343. numpy/f2py/tests/src/parameter/constant_integer.f90 +22 -0
  344. numpy/f2py/tests/src/parameter/constant_non_compound.f90 +23 -0
  345. numpy/f2py/tests/src/parameter/constant_real.f90 +23 -0
  346. numpy/f2py/tests/src/quoted_character/foo.f +14 -0
  347. numpy/f2py/tests/src/regression/AB.inc +1 -0
  348. numpy/f2py/tests/src/regression/f77comments.f +26 -0
  349. numpy/f2py/tests/src/regression/f77fixedform.f95 +5 -0
  350. numpy/f2py/tests/src/regression/f90continuation.f90 +9 -0
  351. numpy/f2py/tests/src/regression/incfile.f90 +5 -0
  352. numpy/f2py/tests/src/regression/inout.f90 +9 -0
  353. numpy/f2py/tests/src/return_character/foo77.f +45 -0
  354. numpy/f2py/tests/src/return_character/foo90.f90 +48 -0
  355. numpy/f2py/tests/src/return_complex/foo77.f +45 -0
  356. numpy/f2py/tests/src/return_complex/foo90.f90 +48 -0
  357. numpy/f2py/tests/src/return_integer/foo77.f +56 -0
  358. numpy/f2py/tests/src/return_integer/foo90.f90 +59 -0
  359. numpy/f2py/tests/src/return_logical/foo77.f +56 -0
  360. numpy/f2py/tests/src/return_logical/foo90.f90 +59 -0
  361. numpy/f2py/tests/src/return_real/foo77.f +45 -0
  362. numpy/f2py/tests/src/return_real/foo90.f90 +48 -0
  363. numpy/f2py/tests/src/size/foo.f90 +44 -0
  364. numpy/f2py/tests/src/string/char.f90 +29 -0
  365. numpy/f2py/tests/src/string/fixed_string.f90 +34 -0
  366. numpy/f2py/tests/src/string/gh24008.f +8 -0
  367. numpy/f2py/tests/src/string/gh24662.f90 +7 -0
  368. numpy/f2py/tests/src/string/gh25286.f90 +14 -0
  369. numpy/f2py/tests/src/string/gh25286.pyf +12 -0
  370. numpy/f2py/tests/src/string/gh25286_bc.pyf +12 -0
  371. numpy/f2py/tests/src/string/scalar_string.f90 +9 -0
  372. numpy/f2py/tests/src/string/string.f +12 -0
  373. numpy/f2py/tests/src/value_attrspec/gh21665.f90 +9 -0
  374. numpy/f2py/tests/test_abstract_interface.py +26 -0
  375. numpy/f2py/tests/test_array_from_pyobj.py +679 -0
  376. numpy/f2py/tests/test_assumed_shape.py +49 -0
  377. numpy/f2py/tests/test_block_docstring.py +18 -0
  378. numpy/f2py/tests/test_callback.py +246 -0
  379. numpy/f2py/tests/test_character.py +639 -0
  380. numpy/f2py/tests/test_common.py +20 -0
  381. numpy/f2py/tests/test_crackfortran.py +407 -0
  382. numpy/f2py/tests/test_data.py +71 -0
  383. numpy/f2py/tests/test_docs.py +59 -0
  384. numpy/f2py/tests/test_f2cmap.py +15 -0
  385. numpy/f2py/tests/test_f2py2e.py +959 -0
  386. numpy/f2py/tests/test_isoc.py +53 -0
  387. numpy/f2py/tests/test_kind.py +50 -0
  388. numpy/f2py/tests/test_mixed.py +34 -0
  389. numpy/f2py/tests/test_modules.py +50 -0
  390. numpy/f2py/tests/test_parameter.py +131 -0
  391. numpy/f2py/tests/test_pyf_src.py +44 -0
  392. numpy/f2py/tests/test_quoted_character.py +17 -0
  393. numpy/f2py/tests/test_regression.py +141 -0
  394. numpy/f2py/tests/test_return_character.py +46 -0
  395. numpy/f2py/tests/test_return_complex.py +66 -0
  396. numpy/f2py/tests/test_return_integer.py +54 -0
  397. numpy/f2py/tests/test_return_logical.py +64 -0
  398. numpy/f2py/tests/test_return_real.py +108 -0
  399. numpy/f2py/tests/test_semicolon_split.py +75 -0
  400. numpy/f2py/tests/test_size.py +45 -0
  401. numpy/f2py/tests/test_string.py +100 -0
  402. numpy/f2py/tests/test_symbolic.py +494 -0
  403. numpy/f2py/tests/test_value_attrspec.py +15 -0
  404. numpy/f2py/tests/util.py +444 -0
  405. numpy/f2py/use_rules.py +106 -0
  406. numpy/fft/__init__.py +215 -0
  407. numpy/fft/__init__.pyi +28 -0
  408. numpy/fft/_helper.py +235 -0
  409. numpy/fft/_helper.pyi +51 -0
  410. numpy/fft/_pocketfft.py +1715 -0
  411. numpy/fft/_pocketfft.pyi +122 -0
  412. numpy/fft/_pocketfft_umath.cp313-win32.lib +0 -0
  413. numpy/fft/_pocketfft_umath.cp313-win32.pyd +0 -0
  414. numpy/fft/helper.py +16 -0
  415. numpy/fft/tests/__init__.py +0 -0
  416. numpy/fft/tests/test_helper.py +167 -0
  417. numpy/fft/tests/test_pocketfft.py +581 -0
  418. numpy/lib/__init__.py +92 -0
  419. numpy/lib/__init__.pyi +41 -0
  420. numpy/lib/_array_utils_impl.py +62 -0
  421. numpy/lib/_array_utils_impl.pyi +25 -0
  422. numpy/lib/_arraypad_impl.py +895 -0
  423. numpy/lib/_arraypad_impl.pyi +85 -0
  424. numpy/lib/_arraysetops_impl.py +1221 -0
  425. numpy/lib/_arraysetops_impl.pyi +399 -0
  426. numpy/lib/_arrayterator_impl.py +222 -0
  427. numpy/lib/_arrayterator_impl.pyi +48 -0
  428. numpy/lib/_datasource.py +700 -0
  429. numpy/lib/_function_base_impl.py +5801 -0
  430. numpy/lib/_function_base_impl.pyi +775 -0
  431. numpy/lib/_histograms_impl.py +1091 -0
  432. numpy/lib/_histograms_impl.pyi +47 -0
  433. numpy/lib/_index_tricks_impl.py +1079 -0
  434. numpy/lib/_index_tricks_impl.pyi +154 -0
  435. numpy/lib/_iotools.py +899 -0
  436. numpy/lib/_nanfunctions_impl.py +2062 -0
  437. numpy/lib/_nanfunctions_impl.pyi +38 -0
  438. numpy/lib/_npyio_impl.py +2612 -0
  439. numpy/lib/_npyio_impl.pyi +348 -0
  440. numpy/lib/_polynomial_impl.py +1458 -0
  441. numpy/lib/_polynomial_impl.pyi +302 -0
  442. numpy/lib/_scimath_impl.py +650 -0
  443. numpy/lib/_scimath_impl.pyi +94 -0
  444. numpy/lib/_shape_base_impl.py +1306 -0
  445. numpy/lib/_shape_base_impl.pyi +204 -0
  446. numpy/lib/_stride_tricks_impl.py +563 -0
  447. numpy/lib/_stride_tricks_impl.pyi +80 -0
  448. numpy/lib/_twodim_base_impl.py +1208 -0
  449. numpy/lib/_twodim_base_impl.pyi +422 -0
  450. numpy/lib/_type_check_impl.py +709 -0
  451. numpy/lib/_type_check_impl.pyi +204 -0
  452. numpy/lib/_ufunclike_impl.py +209 -0
  453. numpy/lib/_ufunclike_impl.pyi +67 -0
  454. numpy/lib/_user_array_impl.py +289 -0
  455. numpy/lib/_utils_impl.py +776 -0
  456. numpy/lib/_utils_impl.pyi +33 -0
  457. numpy/lib/_version.py +155 -0
  458. numpy/lib/_version.pyi +17 -0
  459. numpy/lib/array_utils.py +7 -0
  460. numpy/lib/array_utils.pyi +6 -0
  461. numpy/lib/format.py +1015 -0
  462. numpy/lib/format.pyi +22 -0
  463. numpy/lib/introspect.py +96 -0
  464. numpy/lib/mixins.py +183 -0
  465. numpy/lib/mixins.pyi +74 -0
  466. numpy/lib/npyio.py +3 -0
  467. numpy/lib/npyio.pyi +4 -0
  468. numpy/lib/recfunctions.py +1690 -0
  469. numpy/lib/scimath.py +4 -0
  470. numpy/lib/scimath.pyi +12 -0
  471. numpy/lib/stride_tricks.py +3 -0
  472. numpy/lib/stride_tricks.pyi +4 -0
  473. numpy/lib/tests/__init__.py +0 -0
  474. numpy/lib/tests/data/py2-np0-objarr.npy +0 -0
  475. numpy/lib/tests/data/py2-objarr.npy +0 -0
  476. numpy/lib/tests/data/py2-objarr.npz +0 -0
  477. numpy/lib/tests/data/py3-objarr.npy +0 -0
  478. numpy/lib/tests/data/py3-objarr.npz +0 -0
  479. numpy/lib/tests/data/python3.npy +0 -0
  480. numpy/lib/tests/data/win64python2.npy +0 -0
  481. numpy/lib/tests/test__datasource.py +350 -0
  482. numpy/lib/tests/test__iotools.py +353 -0
  483. numpy/lib/tests/test__version.py +64 -0
  484. numpy/lib/tests/test_array_utils.py +33 -0
  485. numpy/lib/tests/test_arraypad.py +1416 -0
  486. numpy/lib/tests/test_arraysetops.py +1000 -0
  487. numpy/lib/tests/test_arrayterator.py +46 -0
  488. numpy/lib/tests/test_format.py +1027 -0
  489. numpy/lib/tests/test_function_base.py +4418 -0
  490. numpy/lib/tests/test_histograms.py +837 -0
  491. numpy/lib/tests/test_index_tricks.py +553 -0
  492. numpy/lib/tests/test_io.py +2801 -0
  493. numpy/lib/tests/test_loadtxt.py +1075 -0
  494. numpy/lib/tests/test_mixins.py +216 -0
  495. numpy/lib/tests/test_nanfunctions.py +1418 -0
  496. numpy/lib/tests/test_packbits.py +376 -0
  497. numpy/lib/tests/test_polynomial.py +303 -0
  498. numpy/lib/tests/test_recfunctions.py +1043 -0
  499. numpy/lib/tests/test_regression.py +228 -0
  500. numpy/lib/tests/test_shape_base.py +808 -0
  501. numpy/lib/tests/test_stride_tricks.py +647 -0
  502. numpy/lib/tests/test_twodim_base.py +541 -0
  503. numpy/lib/tests/test_type_check.py +465 -0
  504. numpy/lib/tests/test_ufunclike.py +100 -0
  505. numpy/lib/tests/test_utils.py +80 -0
  506. numpy/lib/user_array.py +1 -0
  507. numpy/linalg/__init__.py +95 -0
  508. numpy/linalg/__init__.pyi +44 -0
  509. numpy/linalg/_linalg.py +3681 -0
  510. numpy/linalg/_linalg.pyi +427 -0
  511. numpy/linalg/_umath_linalg.cp313-win32.lib +0 -0
  512. numpy/linalg/_umath_linalg.cp313-win32.pyd +0 -0
  513. numpy/linalg/lapack_lite.cp313-win32.lib +0 -0
  514. numpy/linalg/lapack_lite.cp313-win32.pyd +0 -0
  515. numpy/linalg/linalg.py +16 -0
  516. numpy/linalg/tests/__init__.py +0 -0
  517. numpy/linalg/tests/test_deprecations.py +20 -0
  518. numpy/linalg/tests/test_linalg.py +2386 -0
  519. numpy/linalg/tests/test_regression.py +178 -0
  520. numpy/ma/API_CHANGES.txt +135 -0
  521. numpy/ma/LICENSE +24 -0
  522. numpy/ma/README.rst +236 -0
  523. numpy/ma/__init__.py +54 -0
  524. numpy/ma/__init__.pyi +233 -0
  525. numpy/ma/core.py +8899 -0
  526. numpy/ma/core.pyi +467 -0
  527. numpy/ma/extras.py +2344 -0
  528. numpy/ma/extras.pyi +86 -0
  529. numpy/ma/mrecords.py +782 -0
  530. numpy/ma/mrecords.pyi +88 -0
  531. numpy/ma/tests/__init__.py +0 -0
  532. numpy/ma/tests/test_arrayobject.py +40 -0
  533. numpy/ma/tests/test_core.py +5709 -0
  534. numpy/ma/tests/test_deprecations.py +84 -0
  535. numpy/ma/tests/test_extras.py +1960 -0
  536. numpy/ma/tests/test_mrecords.py +493 -0
  537. numpy/ma/tests/test_old_ma.py +876 -0
  538. numpy/ma/tests/test_regression.py +97 -0
  539. numpy/ma/tests/test_subclassing.py +460 -0
  540. numpy/ma/testutils.py +292 -0
  541. numpy/ma/timer_comparison.py +442 -0
  542. numpy/matlib.py +381 -0
  543. numpy/matrixlib/__init__.py +11 -0
  544. numpy/matrixlib/__init__.pyi +14 -0
  545. numpy/matrixlib/defmatrix.py +1115 -0
  546. numpy/matrixlib/defmatrix.pyi +16 -0
  547. numpy/matrixlib/tests/__init__.py +0 -0
  548. numpy/matrixlib/tests/test_defmatrix.py +453 -0
  549. numpy/matrixlib/tests/test_interaction.py +354 -0
  550. numpy/matrixlib/tests/test_masked_matrix.py +232 -0
  551. numpy/matrixlib/tests/test_matrix_linalg.py +93 -0
  552. numpy/matrixlib/tests/test_multiarray.py +16 -0
  553. numpy/matrixlib/tests/test_numeric.py +17 -0
  554. numpy/matrixlib/tests/test_regression.py +31 -0
  555. numpy/polynomial/__init__.py +187 -0
  556. numpy/polynomial/__init__.pyi +23 -0
  557. numpy/polynomial/_polybase.py +1223 -0
  558. numpy/polynomial/_polybase.pyi +297 -0
  559. numpy/polynomial/_polytypes.pyi +912 -0
  560. numpy/polynomial/chebyshev.py +2086 -0
  561. numpy/polynomial/chebyshev.pyi +192 -0
  562. numpy/polynomial/hermite.py +1793 -0
  563. numpy/polynomial/hermite.pyi +106 -0
  564. numpy/polynomial/hermite_e.py +1703 -0
  565. numpy/polynomial/hermite_e.pyi +106 -0
  566. numpy/polynomial/laguerre.py +1726 -0
  567. numpy/polynomial/laguerre.pyi +100 -0
  568. numpy/polynomial/legendre.py +1666 -0
  569. numpy/polynomial/legendre.pyi +99 -0
  570. numpy/polynomial/polynomial.py +1664 -0
  571. numpy/polynomial/polynomial.pyi +87 -0
  572. numpy/polynomial/polyutils.py +757 -0
  573. numpy/polynomial/polyutils.pyi +431 -0
  574. numpy/polynomial/tests/__init__.py +0 -0
  575. numpy/polynomial/tests/test_chebyshev.py +619 -0
  576. numpy/polynomial/tests/test_classes.py +607 -0
  577. numpy/polynomial/tests/test_hermite.py +555 -0
  578. numpy/polynomial/tests/test_hermite_e.py +556 -0
  579. numpy/polynomial/tests/test_laguerre.py +537 -0
  580. numpy/polynomial/tests/test_legendre.py +568 -0
  581. numpy/polynomial/tests/test_polynomial.py +647 -0
  582. numpy/polynomial/tests/test_polyutils.py +125 -0
  583. numpy/polynomial/tests/test_printing.py +552 -0
  584. numpy/polynomial/tests/test_symbol.py +216 -0
  585. numpy/py.typed +0 -0
  586. numpy/random/LICENSE.md +71 -0
  587. numpy/random/__init__.pxd +14 -0
  588. numpy/random/__init__.py +215 -0
  589. numpy/random/__init__.pyi +71 -0
  590. numpy/random/_bounded_integers.cp313-win32.lib +0 -0
  591. numpy/random/_bounded_integers.cp313-win32.pyd +0 -0
  592. numpy/random/_bounded_integers.pxd +38 -0
  593. numpy/random/_common.cp313-win32.lib +0 -0
  594. numpy/random/_common.cp313-win32.pyd +0 -0
  595. numpy/random/_common.pxd +107 -0
  596. numpy/random/_examples/cffi/extending.py +40 -0
  597. numpy/random/_examples/cffi/parse.py +54 -0
  598. numpy/random/_examples/cython/extending.pyx +78 -0
  599. numpy/random/_examples/cython/extending_distributions.pyx +117 -0
  600. numpy/random/_examples/cython/meson.build +53 -0
  601. numpy/random/_examples/numba/extending.py +84 -0
  602. numpy/random/_examples/numba/extending_distributions.py +67 -0
  603. numpy/random/_generator.cp313-win32.lib +0 -0
  604. numpy/random/_generator.cp313-win32.pyd +0 -0
  605. numpy/random/_generator.pyi +784 -0
  606. numpy/random/_mt19937.cp313-win32.lib +0 -0
  607. numpy/random/_mt19937.cp313-win32.pyd +0 -0
  608. numpy/random/_mt19937.pyi +23 -0
  609. numpy/random/_pcg64.cp313-win32.lib +0 -0
  610. numpy/random/_pcg64.cp313-win32.pyd +0 -0
  611. numpy/random/_pcg64.pyi +42 -0
  612. numpy/random/_philox.cp313-win32.lib +0 -0
  613. numpy/random/_philox.cp313-win32.pyd +0 -0
  614. numpy/random/_philox.pyi +37 -0
  615. numpy/random/_pickle.py +89 -0
  616. numpy/random/_sfc64.cp313-win32.lib +0 -0
  617. numpy/random/_sfc64.cp313-win32.pyd +0 -0
  618. numpy/random/_sfc64.pyi +26 -0
  619. numpy/random/bit_generator.cp313-win32.lib +0 -0
  620. numpy/random/bit_generator.cp313-win32.pyd +0 -0
  621. numpy/random/bit_generator.pxd +35 -0
  622. numpy/random/bit_generator.pyi +124 -0
  623. numpy/random/c_distributions.pxd +120 -0
  624. numpy/random/lib/npyrandom.lib +0 -0
  625. numpy/random/mtrand.cp313-win32.lib +0 -0
  626. numpy/random/mtrand.cp313-win32.pyd +0 -0
  627. numpy/random/mtrand.pyi +681 -0
  628. numpy/random/tests/__init__.py +0 -0
  629. numpy/random/tests/data/__init__.py +0 -0
  630. numpy/random/tests/data/generator_pcg64_np121.pkl.gz +0 -0
  631. numpy/random/tests/data/generator_pcg64_np126.pkl.gz +0 -0
  632. numpy/random/tests/data/mt19937-testset-1.csv +1001 -0
  633. numpy/random/tests/data/mt19937-testset-2.csv +1001 -0
  634. numpy/random/tests/data/pcg64-testset-1.csv +1001 -0
  635. numpy/random/tests/data/pcg64-testset-2.csv +1001 -0
  636. numpy/random/tests/data/pcg64dxsm-testset-1.csv +1001 -0
  637. numpy/random/tests/data/pcg64dxsm-testset-2.csv +1001 -0
  638. numpy/random/tests/data/philox-testset-1.csv +1001 -0
  639. numpy/random/tests/data/philox-testset-2.csv +1001 -0
  640. numpy/random/tests/data/sfc64-testset-1.csv +1001 -0
  641. numpy/random/tests/data/sfc64-testset-2.csv +1001 -0
  642. numpy/random/tests/data/sfc64_np126.pkl.gz +0 -0
  643. numpy/random/tests/test_direct.py +561 -0
  644. numpy/random/tests/test_extending.py +119 -0
  645. numpy/random/tests/test_generator_mt19937.py +2797 -0
  646. numpy/random/tests/test_generator_mt19937_regressions.py +206 -0
  647. numpy/random/tests/test_random.py +1751 -0
  648. numpy/random/tests/test_randomstate.py +2124 -0
  649. numpy/random/tests/test_randomstate_regression.py +216 -0
  650. numpy/random/tests/test_regression.py +149 -0
  651. numpy/random/tests/test_seed_sequence.py +80 -0
  652. numpy/random/tests/test_smoke.py +818 -0
  653. numpy/rec/__init__.py +2 -0
  654. numpy/rec/__init__.pyi +13 -0
  655. numpy/strings/__init__.py +2 -0
  656. numpy/strings/__init__.pyi +53 -0
  657. numpy/testing/__init__.py +22 -0
  658. numpy/testing/__init__.pyi +49 -0
  659. numpy/testing/_private/__init__.py +0 -0
  660. numpy/testing/_private/extbuild.py +252 -0
  661. numpy/testing/_private/utils.py +2711 -0
  662. numpy/testing/_private/utils.pyi +413 -0
  663. numpy/testing/overrides.py +83 -0
  664. numpy/testing/print_coercion_tables.py +201 -0
  665. numpy/testing/tests/__init__.py +0 -0
  666. numpy/testing/tests/test_utils.py +1929 -0
  667. numpy/tests/__init__.py +0 -0
  668. numpy/tests/test__all__.py +9 -0
  669. numpy/tests/test_configtool.py +43 -0
  670. numpy/tests/test_ctypeslib.py +377 -0
  671. numpy/tests/test_lazyloading.py +38 -0
  672. numpy/tests/test_matlib.py +58 -0
  673. numpy/tests/test_numpy_config.py +44 -0
  674. numpy/tests/test_numpy_version.py +54 -0
  675. numpy/tests/test_public_api.py +682 -0
  676. numpy/tests/test_reloading.py +74 -0
  677. numpy/tests/test_scripts.py +47 -0
  678. numpy/tests/test_warnings.py +76 -0
  679. numpy/typing/__init__.py +175 -0
  680. numpy/typing/mypy_plugin.py +197 -0
  681. numpy/typing/tests/__init__.py +0 -0
  682. numpy/typing/tests/data/fail/arithmetic.pyi +123 -0
  683. numpy/typing/tests/data/fail/array_constructors.pyi +34 -0
  684. numpy/typing/tests/data/fail/array_like.pyi +16 -0
  685. numpy/typing/tests/data/fail/array_pad.pyi +6 -0
  686. numpy/typing/tests/data/fail/arrayprint.pyi +16 -0
  687. numpy/typing/tests/data/fail/arrayterator.pyi +14 -0
  688. numpy/typing/tests/data/fail/bitwise_ops.pyi +21 -0
  689. numpy/typing/tests/data/fail/char.pyi +69 -0
  690. numpy/typing/tests/data/fail/chararray.pyi +62 -0
  691. numpy/typing/tests/data/fail/comparisons.pyi +27 -0
  692. numpy/typing/tests/data/fail/constants.pyi +3 -0
  693. numpy/typing/tests/data/fail/datasource.pyi +15 -0
  694. numpy/typing/tests/data/fail/dtype.pyi +20 -0
  695. numpy/typing/tests/data/fail/einsumfunc.pyi +12 -0
  696. numpy/typing/tests/data/fail/false_positives.pyi +11 -0
  697. numpy/typing/tests/data/fail/flatiter.pyi +25 -0
  698. numpy/typing/tests/data/fail/fromnumeric.pyi +161 -0
  699. numpy/typing/tests/data/fail/histograms.pyi +12 -0
  700. numpy/typing/tests/data/fail/index_tricks.pyi +14 -0
  701. numpy/typing/tests/data/fail/lib_function_base.pyi +51 -0
  702. numpy/typing/tests/data/fail/lib_polynomial.pyi +29 -0
  703. numpy/typing/tests/data/fail/lib_utils.pyi +3 -0
  704. numpy/typing/tests/data/fail/lib_version.pyi +6 -0
  705. numpy/typing/tests/data/fail/linalg.pyi +48 -0
  706. numpy/typing/tests/data/fail/memmap.pyi +5 -0
  707. numpy/typing/tests/data/fail/modules.pyi +18 -0
  708. numpy/typing/tests/data/fail/multiarray.pyi +53 -0
  709. numpy/typing/tests/data/fail/ndarray.pyi +11 -0
  710. numpy/typing/tests/data/fail/ndarray_misc.pyi +43 -0
  711. numpy/typing/tests/data/fail/nditer.pyi +8 -0
  712. numpy/typing/tests/data/fail/nested_sequence.pyi +17 -0
  713. numpy/typing/tests/data/fail/npyio.pyi +23 -0
  714. numpy/typing/tests/data/fail/numerictypes.pyi +5 -0
  715. numpy/typing/tests/data/fail/random.pyi +62 -0
  716. numpy/typing/tests/data/fail/rec.pyi +17 -0
  717. numpy/typing/tests/data/fail/scalars.pyi +92 -0
  718. numpy/typing/tests/data/fail/shape.pyi +6 -0
  719. numpy/typing/tests/data/fail/shape_base.pyi +8 -0
  720. numpy/typing/tests/data/fail/stride_tricks.pyi +9 -0
  721. numpy/typing/tests/data/fail/strings.pyi +69 -0
  722. numpy/typing/tests/data/fail/testing.pyi +28 -0
  723. numpy/typing/tests/data/fail/twodim_base.pyi +37 -0
  724. numpy/typing/tests/data/fail/type_check.pyi +13 -0
  725. numpy/typing/tests/data/fail/ufunc_config.pyi +21 -0
  726. numpy/typing/tests/data/fail/ufunclike.pyi +21 -0
  727. numpy/typing/tests/data/fail/ufuncs.pyi +17 -0
  728. numpy/typing/tests/data/fail/warnings_and_errors.pyi +5 -0
  729. numpy/typing/tests/data/misc/extended_precision.pyi +25 -0
  730. numpy/typing/tests/data/mypy.ini +7 -0
  731. numpy/typing/tests/data/pass/arithmetic.py +595 -0
  732. numpy/typing/tests/data/pass/array_constructors.py +137 -0
  733. numpy/typing/tests/data/pass/array_like.py +43 -0
  734. numpy/typing/tests/data/pass/arrayprint.py +37 -0
  735. numpy/typing/tests/data/pass/arrayterator.py +27 -0
  736. numpy/typing/tests/data/pass/bitwise_ops.py +131 -0
  737. numpy/typing/tests/data/pass/comparisons.py +301 -0
  738. numpy/typing/tests/data/pass/dtype.py +57 -0
  739. numpy/typing/tests/data/pass/einsumfunc.py +36 -0
  740. numpy/typing/tests/data/pass/flatiter.py +16 -0
  741. numpy/typing/tests/data/pass/fromnumeric.py +272 -0
  742. numpy/typing/tests/data/pass/index_tricks.py +64 -0
  743. numpy/typing/tests/data/pass/lib_utils.py +19 -0
  744. numpy/typing/tests/data/pass/lib_version.py +18 -0
  745. numpy/typing/tests/data/pass/literal.py +48 -0
  746. numpy/typing/tests/data/pass/ma.py +8 -0
  747. numpy/typing/tests/data/pass/mod.py +149 -0
  748. numpy/typing/tests/data/pass/modules.py +45 -0
  749. numpy/typing/tests/data/pass/multiarray.py +76 -0
  750. numpy/typing/tests/data/pass/ndarray_conversion.py +87 -0
  751. numpy/typing/tests/data/pass/ndarray_misc.py +176 -0
  752. numpy/typing/tests/data/pass/ndarray_shape_manipulation.py +47 -0
  753. numpy/typing/tests/data/pass/numeric.py +91 -0
  754. numpy/typing/tests/data/pass/numerictypes.py +17 -0
  755. numpy/typing/tests/data/pass/random.py +1497 -0
  756. numpy/typing/tests/data/pass/scalars.py +240 -0
  757. numpy/typing/tests/data/pass/shape.py +18 -0
  758. numpy/typing/tests/data/pass/simple.py +164 -0
  759. numpy/typing/tests/data/pass/simple_py3.py +6 -0
  760. numpy/typing/tests/data/pass/ufunc_config.py +64 -0
  761. numpy/typing/tests/data/pass/ufunclike.py +47 -0
  762. numpy/typing/tests/data/pass/ufuncs.py +16 -0
  763. numpy/typing/tests/data/pass/warnings_and_errors.py +6 -0
  764. numpy/typing/tests/data/reveal/arithmetic.pyi +516 -0
  765. numpy/typing/tests/data/reveal/array_api_info.pyi +76 -0
  766. numpy/typing/tests/data/reveal/array_constructors.pyi +228 -0
  767. numpy/typing/tests/data/reveal/arraypad.pyi +28 -0
  768. numpy/typing/tests/data/reveal/arrayprint.pyi +31 -0
  769. numpy/typing/tests/data/reveal/arraysetops.pyi +75 -0
  770. numpy/typing/tests/data/reveal/arrayterator.pyi +33 -0
  771. numpy/typing/tests/data/reveal/bitwise_ops.pyi +135 -0
  772. numpy/typing/tests/data/reveal/char.pyi +152 -0
  773. numpy/typing/tests/data/reveal/chararray.pyi +140 -0
  774. numpy/typing/tests/data/reveal/comparisons.pyi +270 -0
  775. numpy/typing/tests/data/reveal/constants.pyi +19 -0
  776. numpy/typing/tests/data/reveal/ctypeslib.pyi +96 -0
  777. numpy/typing/tests/data/reveal/datasource.pyi +29 -0
  778. numpy/typing/tests/data/reveal/dtype.pyi +85 -0
  779. numpy/typing/tests/data/reveal/einsumfunc.pyi +45 -0
  780. numpy/typing/tests/data/reveal/emath.pyi +60 -0
  781. numpy/typing/tests/data/reveal/false_positives.pyi +18 -0
  782. numpy/typing/tests/data/reveal/fft.pyi +43 -0
  783. numpy/typing/tests/data/reveal/flatiter.pyi +53 -0
  784. numpy/typing/tests/data/reveal/fromnumeric.pyi +325 -0
  785. numpy/typing/tests/data/reveal/getlimits.pyi +56 -0
  786. numpy/typing/tests/data/reveal/histograms.pyi +31 -0
  787. numpy/typing/tests/data/reveal/index_tricks.pyi +81 -0
  788. numpy/typing/tests/data/reveal/lib_function_base.pyi +193 -0
  789. numpy/typing/tests/data/reveal/lib_polynomial.pyi +150 -0
  790. numpy/typing/tests/data/reveal/lib_utils.pyi +22 -0
  791. numpy/typing/tests/data/reveal/lib_version.pyi +25 -0
  792. numpy/typing/tests/data/reveal/linalg.pyi +134 -0
  793. numpy/typing/tests/data/reveal/matrix.pyi +76 -0
  794. numpy/typing/tests/data/reveal/memmap.pyi +25 -0
  795. numpy/typing/tests/data/reveal/mod.pyi +148 -0
  796. numpy/typing/tests/data/reveal/modules.pyi +56 -0
  797. numpy/typing/tests/data/reveal/multiarray.pyi +143 -0
  798. numpy/typing/tests/data/reveal/nbit_base_example.pyi +27 -0
  799. numpy/typing/tests/data/reveal/ndarray_conversion.pyi +61 -0
  800. numpy/typing/tests/data/reveal/ndarray_misc.pyi +233 -0
  801. numpy/typing/tests/data/reveal/ndarray_shape_manipulation.pyi +44 -0
  802. numpy/typing/tests/data/reveal/nditer.pyi +55 -0
  803. numpy/typing/tests/data/reveal/nested_sequence.pyi +32 -0
  804. numpy/typing/tests/data/reveal/npyio.pyi +89 -0
  805. numpy/typing/tests/data/reveal/numeric.pyi +141 -0
  806. numpy/typing/tests/data/reveal/numerictypes.pyi +55 -0
  807. numpy/typing/tests/data/reveal/polynomial_polybase.pyi +225 -0
  808. numpy/typing/tests/data/reveal/polynomial_polyutils.pyi +224 -0
  809. numpy/typing/tests/data/reveal/polynomial_series.pyi +144 -0
  810. numpy/typing/tests/data/reveal/random.pyi +1555 -0
  811. numpy/typing/tests/data/reveal/rec.pyi +172 -0
  812. numpy/typing/tests/data/reveal/scalars.pyi +158 -0
  813. numpy/typing/tests/data/reveal/shape.pyi +15 -0
  814. numpy/typing/tests/data/reveal/shape_base.pyi +58 -0
  815. numpy/typing/tests/data/reveal/stride_tricks.pyi +33 -0
  816. numpy/typing/tests/data/reveal/strings.pyi +137 -0
  817. numpy/typing/tests/data/reveal/testing.pyi +203 -0
  818. numpy/typing/tests/data/reveal/twodim_base.pyi +156 -0
  819. numpy/typing/tests/data/reveal/type_check.pyi +82 -0
  820. numpy/typing/tests/data/reveal/ufunc_config.pyi +37 -0
  821. numpy/typing/tests/data/reveal/ufunclike.pyi +37 -0
  822. numpy/typing/tests/data/reveal/ufuncs.pyi +122 -0
  823. numpy/typing/tests/data/reveal/warnings_and_errors.pyi +16 -0
  824. numpy/typing/tests/test_isfile.py +32 -0
  825. numpy/typing/tests/test_runtime.py +109 -0
  826. numpy/typing/tests/test_typing.py +286 -0
  827. numpy/version.py +11 -0
  828. numpy/version.pyi +24 -0
  829. numpy-2.1.0.dist-info/LICENSE.txt +945 -0
  830. numpy-2.1.0.dist-info/METADATA +1065 -0
  831. numpy-2.1.0.dist-info/RECORD +833 -0
  832. numpy-2.1.0.dist-info/WHEEL +4 -0
  833. numpy-2.1.0.dist-info/entry_points.txt +10 -0
numpy/__config__.py ADDED
@@ -0,0 +1,162 @@
1
+ # This file is generated by numpy's build process
2
+ # It contains system_info results at the time of building this package.
3
+ from enum import Enum
4
+ from numpy._core._multiarray_umath import (
5
+ __cpu_features__,
6
+ __cpu_baseline__,
7
+ __cpu_dispatch__,
8
+ )
9
+
10
+ __all__ = ["show"]
11
+ _built_with_meson = True
12
+
13
+
14
+ class DisplayModes(Enum):
15
+ stdout = "stdout"
16
+ dicts = "dicts"
17
+
18
+
19
+ def _cleanup(d):
20
+ """
21
+ Removes empty values in a `dict` recursively
22
+ This ensures we remove values that Meson could not provide to CONFIG
23
+ """
24
+ if isinstance(d, dict):
25
+ return {k: _cleanup(v) for k, v in d.items() if v and _cleanup(v)}
26
+ else:
27
+ return d
28
+
29
+
30
+ CONFIG = _cleanup(
31
+ {
32
+ "Compilers": {
33
+ "c": {
34
+ "name": "msvc",
35
+ "linker": r"link",
36
+ "version": "19.29.30154",
37
+ "commands": r"cl",
38
+ "args": r"",
39
+ "linker args": r"",
40
+ },
41
+ "cython": {
42
+ "name": "cython",
43
+ "linker": r"cython",
44
+ "version": "3.0.11",
45
+ "commands": r"cython",
46
+ "args": r"",
47
+ "linker args": r"",
48
+ },
49
+ "c++": {
50
+ "name": "msvc",
51
+ "linker": r"link",
52
+ "version": "19.29.30154",
53
+ "commands": r"cl",
54
+ "args": r"",
55
+ "linker args": r"",
56
+ },
57
+ },
58
+ "Machine Information": {
59
+ "host": {
60
+ "cpu": "x86",
61
+ "family": "x86",
62
+ "endian": "little",
63
+ "system": "windows",
64
+ },
65
+ "build": {
66
+ "cpu": "x86",
67
+ "family": "x86",
68
+ "endian": "little",
69
+ "system": "windows",
70
+ },
71
+ "cross-compiled": bool("False".lower().replace("false", "")),
72
+ },
73
+ "Build Dependencies": {
74
+ "blas": {
75
+ "name": "auto",
76
+ "found": bool("False".lower().replace("false", "")),
77
+ "version": "",
78
+ "detection method": "",
79
+ "include directory": r"",
80
+ "lib directory": r"",
81
+ "openblas configuration": r"",
82
+ "pc file directory": r"",
83
+ },
84
+ "lapack": {
85
+ "name": "lapack",
86
+ "found": bool("False".lower().replace("false", "")),
87
+ "version": "",
88
+ "detection method": "",
89
+ "include directory": r"",
90
+ "lib directory": r"",
91
+ "openblas configuration": r"",
92
+ "pc file directory": r"",
93
+ },
94
+ },
95
+ "Python Information": {
96
+ "path": r"C:\Users\runneradmin\AppData\Local\Temp\build-env-rr659plu\Scripts\python.exe",
97
+ "version": "3.13",
98
+ },
99
+ "SIMD Extensions": {
100
+ "baseline": __cpu_baseline__,
101
+ "found": [
102
+ feature for feature in __cpu_dispatch__ if __cpu_features__[feature]
103
+ ],
104
+ "not found": [
105
+ feature for feature in __cpu_dispatch__ if not __cpu_features__[feature]
106
+ ],
107
+ },
108
+ }
109
+ )
110
+
111
+
112
+ def _check_pyyaml():
113
+ import yaml
114
+
115
+ return yaml
116
+
117
+
118
+ def show(mode=DisplayModes.stdout.value):
119
+ """
120
+ Show libraries and system information on which NumPy was built
121
+ and is being used
122
+
123
+ Parameters
124
+ ----------
125
+ mode : {`'stdout'`, `'dicts'`}, optional.
126
+ Indicates how to display the config information.
127
+ `'stdout'` prints to console, `'dicts'` returns a dictionary
128
+ of the configuration.
129
+
130
+ Returns
131
+ -------
132
+ out : {`dict`, `None`}
133
+ If mode is `'dicts'`, a dict is returned, else None
134
+
135
+ See Also
136
+ --------
137
+ get_include : Returns the directory containing NumPy C
138
+ header files.
139
+
140
+ Notes
141
+ -----
142
+ 1. The `'stdout'` mode will give more readable
143
+ output if ``pyyaml`` is installed
144
+
145
+ """
146
+ if mode == DisplayModes.stdout.value:
147
+ try: # Non-standard library, check import
148
+ yaml = _check_pyyaml()
149
+
150
+ print(yaml.dump(CONFIG))
151
+ except ModuleNotFoundError:
152
+ import warnings
153
+ import json
154
+
155
+ warnings.warn("Install `pyyaml` for better output", stacklevel=1)
156
+ print(json.dumps(CONFIG, indent=2))
157
+ elif mode == DisplayModes.dicts.value:
158
+ return CONFIG
159
+ else:
160
+ raise AttributeError(
161
+ f"Invalid `mode`, use one of: {', '.join([e.value for e in DisplayModes])}"
162
+ )