numpy-ts 1.0.0 → 1.1.0

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 (419) hide show
  1. package/README.md +4 -3
  2. package/dist/esm/common/internal/indexing.js +1 -1
  3. package/dist/esm/common/ndarray-core.js +1 -1
  4. package/dist/esm/common/ops/advanced.js +1 -1
  5. package/dist/esm/common/ops/arithmetic.js +1 -1
  6. package/dist/esm/common/ops/bitwise.js +1 -1
  7. package/dist/esm/common/ops/exponential.js +1 -1
  8. package/dist/esm/common/ops/fft.js +1 -1
  9. package/dist/esm/common/ops/gradient.js +1 -1
  10. package/dist/esm/common/ops/hyperbolic.js +1 -1
  11. package/dist/esm/common/ops/linalg.js +2 -2
  12. package/dist/esm/common/ops/logic.js +1 -1
  13. package/dist/esm/common/ops/reduction.js +1 -1
  14. package/dist/esm/common/ops/sets.js +1 -1
  15. package/dist/esm/common/ops/shape.js +1 -1
  16. package/dist/esm/common/ops/sorting.js +1 -1
  17. package/dist/esm/common/ops/statistics.js +1 -1
  18. package/dist/esm/common/ops/trig.js +1 -1
  19. package/dist/esm/common/storage.js +1 -1
  20. package/dist/esm/common/wasm/abs.js +1 -0
  21. package/dist/esm/common/wasm/add.js +1 -0
  22. package/dist/esm/common/wasm/arccos.js +1 -0
  23. package/dist/esm/common/wasm/arcsin.js +1 -0
  24. package/dist/esm/common/wasm/arctan.js +1 -0
  25. package/dist/esm/common/wasm/argpartition.js +1 -0
  26. package/dist/esm/common/wasm/argsort.js +1 -0
  27. package/dist/esm/common/wasm/bins/abs.wasm.js +1 -0
  28. package/dist/esm/common/wasm/bins/add.wasm.js +1 -0
  29. package/dist/esm/common/wasm/bins/arccos.wasm.js +1 -0
  30. package/dist/esm/common/wasm/bins/arcsin.wasm.js +1 -0
  31. package/dist/esm/common/wasm/bins/arctan.wasm.js +1 -0
  32. package/dist/esm/common/wasm/bins/argpartition.wasm.js +1 -0
  33. package/dist/esm/common/wasm/bins/argsort.wasm.js +1 -0
  34. package/dist/esm/common/wasm/bins/bitwise_and.wasm.js +1 -0
  35. package/dist/esm/common/wasm/bins/bitwise_count.wasm.js +1 -0
  36. package/dist/esm/common/wasm/bins/bitwise_not.wasm.js +1 -0
  37. package/dist/esm/common/wasm/bins/bitwise_or.wasm.js +1 -0
  38. package/dist/esm/common/wasm/bins/bitwise_xor.wasm.js +1 -0
  39. package/dist/esm/common/wasm/bins/cholesky.wasm.js +1 -0
  40. package/dist/esm/common/wasm/bins/clip.wasm.js +1 -0
  41. package/dist/esm/common/wasm/bins/convolve.wasm.js +1 -0
  42. package/dist/esm/common/wasm/bins/copysign.wasm.js +1 -0
  43. package/dist/esm/common/wasm/bins/correlate.wasm.js +1 -0
  44. package/dist/esm/common/wasm/bins/cos.wasm.js +1 -0
  45. package/dist/esm/common/wasm/bins/cosh.wasm.js +1 -0
  46. package/dist/esm/common/wasm/bins/cross.wasm.js +1 -0
  47. package/dist/esm/common/wasm/bins/diff.wasm.js +1 -0
  48. package/dist/esm/common/wasm/bins/divide.wasm.js +1 -0
  49. package/dist/esm/common/wasm/bins/dot.wasm.js +1 -0
  50. package/dist/esm/common/wasm/bins/exp.wasm.js +1 -0
  51. package/dist/esm/common/wasm/bins/exp2.wasm.js +1 -0
  52. package/dist/esm/common/wasm/bins/fft.wasm.js +1 -0
  53. package/dist/esm/common/wasm/bins/flip.wasm.js +1 -0
  54. package/dist/esm/common/wasm/bins/frexp.wasm.js +1 -0
  55. package/dist/esm/common/wasm/bins/gather.wasm.js +1 -0
  56. package/dist/esm/common/wasm/bins/gcd.wasm.js +1 -0
  57. package/dist/esm/common/wasm/bins/gradient.wasm.js +1 -0
  58. package/dist/esm/common/wasm/bins/heaviside.wasm.js +1 -0
  59. package/dist/esm/common/wasm/bins/hypot.wasm.js +1 -0
  60. package/dist/esm/common/wasm/bins/indices.wasm.js +1 -0
  61. package/dist/esm/common/wasm/bins/inner.wasm.js +1 -0
  62. package/dist/esm/common/wasm/bins/kron.wasm.js +1 -0
  63. package/dist/esm/common/wasm/bins/ldexp.wasm.js +1 -0
  64. package/dist/esm/common/wasm/bins/left_shift.wasm.js +1 -0
  65. package/dist/esm/common/wasm/bins/lexsort.wasm.js +1 -0
  66. package/dist/esm/common/wasm/bins/logaddexp.wasm.js +1 -0
  67. package/dist/esm/common/wasm/bins/logical_and.wasm.js +1 -0
  68. package/dist/esm/common/wasm/bins/logical_not.wasm.js +1 -0
  69. package/dist/esm/common/wasm/bins/logical_or.wasm.js +1 -0
  70. package/dist/esm/common/wasm/bins/logical_xor.wasm.js +1 -0
  71. package/dist/esm/common/wasm/bins/matmul.wasm.js +1 -0
  72. package/dist/esm/common/wasm/bins/matvec.wasm.js +1 -0
  73. package/dist/esm/common/wasm/bins/max.wasm.js +1 -0
  74. package/dist/esm/common/wasm/bins/min.wasm.js +1 -0
  75. package/dist/esm/common/wasm/bins/mul.wasm.js +1 -0
  76. package/dist/esm/common/wasm/bins/neg.wasm.js +1 -0
  77. package/dist/esm/common/wasm/bins/outer.wasm.js +1 -0
  78. package/dist/esm/common/wasm/bins/pad.wasm.js +1 -0
  79. package/dist/esm/common/wasm/bins/partition.wasm.js +1 -0
  80. package/dist/esm/common/wasm/bins/power.wasm.js +1 -0
  81. package/dist/esm/common/wasm/bins/qr.wasm.js +1 -0
  82. package/dist/esm/common/wasm/bins/reciprocal.wasm.js +1 -0
  83. package/dist/esm/common/wasm/bins/reduce_all.wasm.js +1 -0
  84. package/dist/esm/common/wasm/bins/reduce_any.wasm.js +1 -0
  85. package/dist/esm/common/wasm/bins/reduce_argmax.wasm.js +1 -0
  86. package/dist/esm/common/wasm/bins/reduce_argmin.wasm.js +1 -0
  87. package/dist/esm/common/wasm/bins/reduce_count_nz.wasm.js +1 -0
  88. package/dist/esm/common/wasm/bins/reduce_max.wasm.js +1 -0
  89. package/dist/esm/common/wasm/bins/reduce_mean.wasm.js +1 -0
  90. package/dist/esm/common/wasm/bins/reduce_min.wasm.js +1 -0
  91. package/dist/esm/common/wasm/bins/reduce_nanmax.wasm.js +1 -0
  92. package/dist/esm/common/wasm/bins/reduce_nanmin.wasm.js +1 -0
  93. package/dist/esm/common/wasm/bins/reduce_nansum.wasm.js +1 -0
  94. package/dist/esm/common/wasm/bins/reduce_prod.wasm.js +1 -0
  95. package/dist/esm/common/wasm/bins/reduce_quantile.wasm.js +1 -0
  96. package/dist/esm/common/wasm/bins/reduce_std.wasm.js +1 -0
  97. package/dist/esm/common/wasm/bins/reduce_sum.wasm.js +1 -0
  98. package/dist/esm/common/wasm/bins/reduce_var.wasm.js +1 -0
  99. package/dist/esm/common/wasm/bins/repeat.wasm.js +1 -0
  100. package/dist/esm/common/wasm/bins/right_shift.wasm.js +1 -0
  101. package/dist/esm/common/wasm/bins/roll.wasm.js +1 -0
  102. package/dist/esm/common/wasm/bins/rot90.wasm.js +1 -0
  103. package/dist/esm/common/wasm/bins/searchsorted.wasm.js +1 -0
  104. package/dist/esm/common/wasm/bins/sign.wasm.js +1 -0
  105. package/dist/esm/common/wasm/bins/sinh.wasm.js +1 -0
  106. package/dist/esm/common/wasm/bins/sort.wasm.js +1 -0
  107. package/dist/esm/common/wasm/bins/sqrt.wasm.js +1 -0
  108. package/dist/esm/common/wasm/bins/square.wasm.js +1 -0
  109. package/dist/esm/common/wasm/bins/sub.wasm.js +1 -0
  110. package/dist/esm/common/wasm/bins/svd.wasm.js +1 -0
  111. package/dist/esm/common/wasm/bins/tan.wasm.js +1 -0
  112. package/dist/esm/common/wasm/bins/tanh.wasm.js +1 -0
  113. package/dist/esm/common/wasm/bins/tile.wasm.js +1 -0
  114. package/dist/esm/common/wasm/bins/vdot.wasm.js +1 -0
  115. package/dist/esm/common/wasm/bins/vecdot.wasm.js +1 -0
  116. package/dist/esm/common/wasm/bins/vecmat.wasm.js +1 -0
  117. package/dist/esm/common/wasm/bitwise_and.js +1 -0
  118. package/dist/esm/common/wasm/bitwise_count.js +1 -0
  119. package/dist/esm/common/wasm/bitwise_not.js +1 -0
  120. package/dist/esm/common/wasm/bitwise_or.js +1 -0
  121. package/dist/esm/common/wasm/bitwise_xor.js +1 -0
  122. package/dist/esm/common/wasm/cholesky.js +1 -0
  123. package/dist/esm/common/wasm/clip.js +1 -0
  124. package/dist/esm/common/wasm/config.js +1 -0
  125. package/dist/esm/common/wasm/convolve.js +1 -0
  126. package/dist/esm/common/wasm/copysign.js +1 -0
  127. package/dist/esm/common/wasm/correlate.js +1 -0
  128. package/dist/esm/common/wasm/cos.js +1 -0
  129. package/dist/esm/common/wasm/cosh.js +1 -0
  130. package/dist/esm/common/wasm/cross.js +1 -0
  131. package/dist/esm/common/wasm/diff.js +1 -0
  132. package/dist/esm/common/wasm/divide.js +1 -0
  133. package/dist/esm/common/wasm/dot.js +1 -0
  134. package/dist/esm/common/wasm/exp.js +1 -0
  135. package/dist/esm/common/wasm/exp2.js +1 -0
  136. package/dist/esm/common/wasm/fft.js +1 -0
  137. package/dist/esm/common/wasm/flip.js +1 -0
  138. package/dist/esm/common/wasm/frexp.js +1 -0
  139. package/dist/esm/common/wasm/gather.js +1 -0
  140. package/dist/esm/common/wasm/gcd.js +1 -0
  141. package/dist/esm/common/wasm/gradient.js +1 -0
  142. package/dist/esm/common/wasm/heaviside.js +1 -0
  143. package/dist/esm/common/wasm/hypot.js +1 -0
  144. package/dist/esm/common/wasm/indices.js +1 -0
  145. package/dist/esm/common/wasm/inner.js +1 -0
  146. package/dist/esm/common/wasm/kron.js +1 -0
  147. package/dist/esm/common/wasm/ldexp.js +1 -0
  148. package/dist/esm/common/wasm/left_shift.js +1 -0
  149. package/dist/esm/common/wasm/lexsort.js +1 -0
  150. package/dist/esm/common/wasm/logaddexp.js +1 -0
  151. package/dist/esm/common/wasm/logical_and.js +1 -0
  152. package/dist/esm/common/wasm/logical_not.js +1 -0
  153. package/dist/esm/common/wasm/logical_or.js +1 -0
  154. package/dist/esm/common/wasm/logical_xor.js +1 -0
  155. package/dist/esm/common/wasm/lstsq.js +1 -0
  156. package/dist/esm/common/wasm/matmul.js +1 -0
  157. package/dist/esm/common/wasm/matvec.js +1 -0
  158. package/dist/esm/common/wasm/max.js +1 -0
  159. package/dist/esm/common/wasm/min.js +1 -0
  160. package/dist/esm/common/wasm/mul.js +1 -0
  161. package/dist/esm/common/wasm/neg.js +1 -0
  162. package/dist/esm/common/wasm/outer.js +1 -0
  163. package/dist/esm/common/wasm/pad.js +1 -0
  164. package/dist/esm/common/wasm/partition.js +1 -0
  165. package/dist/esm/common/wasm/power.js +1 -0
  166. package/dist/esm/common/wasm/qr.js +1 -0
  167. package/dist/esm/common/wasm/reciprocal.js +1 -0
  168. package/dist/esm/common/wasm/reduce_all.js +1 -0
  169. package/dist/esm/common/wasm/reduce_any.js +1 -0
  170. package/dist/esm/common/wasm/reduce_argmax.js +1 -0
  171. package/dist/esm/common/wasm/reduce_argmin.js +1 -0
  172. package/dist/esm/common/wasm/reduce_count_nz.js +1 -0
  173. package/dist/esm/common/wasm/reduce_max.js +1 -0
  174. package/dist/esm/common/wasm/reduce_mean.js +1 -0
  175. package/dist/esm/common/wasm/reduce_min.js +1 -0
  176. package/dist/esm/common/wasm/reduce_nanmax.js +1 -0
  177. package/dist/esm/common/wasm/reduce_nanmin.js +1 -0
  178. package/dist/esm/common/wasm/reduce_nansum.js +1 -0
  179. package/dist/esm/common/wasm/reduce_prod.js +1 -0
  180. package/dist/esm/common/wasm/reduce_quantile.js +1 -0
  181. package/dist/esm/common/wasm/reduce_std.js +1 -0
  182. package/dist/esm/common/wasm/reduce_sum.js +1 -0
  183. package/dist/esm/common/wasm/reduce_var.js +1 -0
  184. package/dist/esm/common/wasm/repeat.js +1 -0
  185. package/dist/esm/common/wasm/right_shift.js +1 -0
  186. package/dist/esm/common/wasm/roll.js +1 -0
  187. package/dist/esm/common/wasm/rot90.js +1 -0
  188. package/dist/esm/common/wasm/runtime.js +1 -0
  189. package/dist/esm/common/wasm/searchsorted.js +1 -0
  190. package/dist/esm/common/wasm/sign.js +1 -0
  191. package/dist/esm/common/wasm/sinh.js +1 -0
  192. package/dist/esm/common/wasm/sort.js +1 -0
  193. package/dist/esm/common/wasm/sqrt.js +1 -0
  194. package/dist/esm/common/wasm/square.js +1 -0
  195. package/dist/esm/common/wasm/sub.js +1 -0
  196. package/dist/esm/common/wasm/svd.js +1 -0
  197. package/dist/esm/common/wasm/tan.js +1 -0
  198. package/dist/esm/common/wasm/tanh.js +1 -0
  199. package/dist/esm/common/wasm/tile.js +1 -0
  200. package/dist/esm/common/wasm/vdot.js +1 -0
  201. package/dist/esm/common/wasm/vecdot.js +1 -0
  202. package/dist/esm/common/wasm/vecmat.js +1 -0
  203. package/dist/esm/core/creation.js +1 -1
  204. package/dist/esm/core/linalg.js +1 -1
  205. package/dist/esm/core/polynomial.js +1 -1
  206. package/dist/esm/core/reduction.js +1 -1
  207. package/dist/esm/core/sets.js +1 -1
  208. package/dist/esm/core/shape-extra.js +1 -1
  209. package/dist/esm/core/sorting.js +1 -1
  210. package/dist/esm/full/index.js +1 -1
  211. package/dist/esm/full/ndarray.js +1 -1
  212. package/dist/esm/index.js +1 -1
  213. package/dist/esm/io/zip/types.js +1 -1
  214. package/dist/esm/io/zip/writer.js +1 -1
  215. package/dist/numpy-ts.browser.js +6 -6
  216. package/dist/numpy-ts.node-io.cjs +6 -6
  217. package/dist/numpy-ts.node-io.cjs.map +4 -4
  218. package/dist/numpy-ts.node-io.mjs +6 -6
  219. package/dist/numpy-ts.node-io.mjs.map +4 -4
  220. package/dist/numpy-ts.node.cjs +6 -6
  221. package/dist/numpy-ts.node.cjs.map +4 -4
  222. package/dist/types/common/internal/indexing.d.ts +18 -0
  223. package/dist/types/common/ndarray-core.d.ts +3 -13
  224. package/dist/types/common/ops/linalg.d.ts +13 -12
  225. package/dist/types/common/ops/sets.d.ts +1 -1
  226. package/dist/types/common/ops/shape.d.ts +11 -0
  227. package/dist/types/common/storage.d.ts +4 -0
  228. package/dist/types/common/wasm/abs.d.ts +14 -0
  229. package/dist/types/common/wasm/add.d.ts +19 -0
  230. package/dist/types/common/wasm/arccos.d.ts +15 -0
  231. package/dist/types/common/wasm/arcsin.d.ts +15 -0
  232. package/dist/types/common/wasm/arctan.d.ts +15 -0
  233. package/dist/types/common/wasm/argpartition.d.ts +18 -0
  234. package/dist/types/common/wasm/argsort.d.ts +18 -0
  235. package/dist/types/common/wasm/bins/abs.wasm.d.ts +7 -0
  236. package/dist/types/common/wasm/bins/add.wasm.d.ts +17 -0
  237. package/dist/types/common/wasm/bins/arccos.wasm.d.ts +5 -0
  238. package/dist/types/common/wasm/bins/arcsin.wasm.d.ts +5 -0
  239. package/dist/types/common/wasm/bins/arctan.wasm.d.ts +5 -0
  240. package/dist/types/common/wasm/bins/argpartition.wasm.d.ts +21 -0
  241. package/dist/types/common/wasm/bins/argsort.wasm.d.ts +25 -0
  242. package/dist/types/common/wasm/bins/bitwise_and.wasm.d.ts +5 -0
  243. package/dist/types/common/wasm/bins/bitwise_count.wasm.d.ts +9 -0
  244. package/dist/types/common/wasm/bins/bitwise_not.wasm.d.ts +5 -0
  245. package/dist/types/common/wasm/bins/bitwise_or.wasm.d.ts +5 -0
  246. package/dist/types/common/wasm/bins/bitwise_xor.wasm.d.ts +5 -0
  247. package/dist/types/common/wasm/bins/cholesky.wasm.d.ts +3 -0
  248. package/dist/types/common/wasm/bins/clip.wasm.d.ts +11 -0
  249. package/dist/types/common/wasm/bins/convolve.wasm.d.ts +3 -0
  250. package/dist/types/common/wasm/bins/copysign.wasm.d.ts +21 -0
  251. package/dist/types/common/wasm/bins/correlate.wasm.d.ts +3 -0
  252. package/dist/types/common/wasm/bins/cos.wasm.d.ts +3 -0
  253. package/dist/types/common/wasm/bins/cosh.wasm.d.ts +5 -0
  254. package/dist/types/common/wasm/bins/cross.wasm.d.ts +9 -0
  255. package/dist/types/common/wasm/bins/diff.wasm.d.ts +13 -0
  256. package/dist/types/common/wasm/bins/divide.wasm.d.ts +23 -0
  257. package/dist/types/common/wasm/bins/dot.wasm.d.ts +9 -0
  258. package/dist/types/common/wasm/bins/exp.wasm.d.ts +5 -0
  259. package/dist/types/common/wasm/bins/exp2.wasm.d.ts +5 -0
  260. package/dist/types/common/wasm/bins/fft.wasm.d.ts +17 -0
  261. package/dist/types/common/wasm/bins/flip.wasm.d.ts +7 -0
  262. package/dist/types/common/wasm/bins/frexp.wasm.d.ts +2 -0
  263. package/dist/types/common/wasm/bins/gather.wasm.d.ts +32 -0
  264. package/dist/types/common/wasm/bins/gcd.wasm.d.ts +3 -0
  265. package/dist/types/common/wasm/bins/gradient.wasm.d.ts +11 -0
  266. package/dist/types/common/wasm/bins/heaviside.wasm.d.ts +5 -0
  267. package/dist/types/common/wasm/bins/hypot.wasm.d.ts +13 -0
  268. package/dist/types/common/wasm/bins/indices.wasm.d.ts +3 -0
  269. package/dist/types/common/wasm/bins/inner.wasm.d.ts +9 -0
  270. package/dist/types/common/wasm/bins/kron.wasm.d.ts +9 -0
  271. package/dist/types/common/wasm/bins/ldexp.wasm.d.ts +3 -0
  272. package/dist/types/common/wasm/bins/left_shift.wasm.d.ts +9 -0
  273. package/dist/types/common/wasm/bins/lexsort.wasm.d.ts +11 -0
  274. package/dist/types/common/wasm/bins/logaddexp.wasm.d.ts +21 -0
  275. package/dist/types/common/wasm/bins/logical_and.wasm.d.ts +13 -0
  276. package/dist/types/common/wasm/bins/logical_not.wasm.d.ts +7 -0
  277. package/dist/types/common/wasm/bins/logical_or.wasm.d.ts +13 -0
  278. package/dist/types/common/wasm/bins/logical_xor.wasm.d.ts +13 -0
  279. package/dist/types/common/wasm/bins/matmul.wasm.d.ts +9 -0
  280. package/dist/types/common/wasm/bins/matvec.wasm.d.ts +9 -0
  281. package/dist/types/common/wasm/bins/max.wasm.d.ts +21 -0
  282. package/dist/types/common/wasm/bins/min.wasm.d.ts +21 -0
  283. package/dist/types/common/wasm/bins/mul.wasm.d.ts +17 -0
  284. package/dist/types/common/wasm/bins/neg.wasm.d.ts +9 -0
  285. package/dist/types/common/wasm/bins/outer.wasm.d.ts +9 -0
  286. package/dist/types/common/wasm/bins/pad.wasm.d.ts +7 -0
  287. package/dist/types/common/wasm/bins/partition.wasm.d.ts +21 -0
  288. package/dist/types/common/wasm/bins/power.wasm.d.ts +13 -0
  289. package/dist/types/common/wasm/bins/qr.wasm.d.ts +3 -0
  290. package/dist/types/common/wasm/bins/reciprocal.wasm.d.ts +7 -0
  291. package/dist/types/common/wasm/bins/reduce_all.wasm.d.ts +7 -0
  292. package/dist/types/common/wasm/bins/reduce_any.wasm.d.ts +7 -0
  293. package/dist/types/common/wasm/bins/reduce_argmax.wasm.d.ts +11 -0
  294. package/dist/types/common/wasm/bins/reduce_argmin.wasm.d.ts +11 -0
  295. package/dist/types/common/wasm/bins/reduce_count_nz.wasm.d.ts +7 -0
  296. package/dist/types/common/wasm/bins/reduce_max.wasm.d.ts +20 -0
  297. package/dist/types/common/wasm/bins/reduce_mean.wasm.d.ts +21 -0
  298. package/dist/types/common/wasm/bins/reduce_min.wasm.d.ts +20 -0
  299. package/dist/types/common/wasm/bins/reduce_nanmax.wasm.d.ts +3 -0
  300. package/dist/types/common/wasm/bins/reduce_nanmin.wasm.d.ts +3 -0
  301. package/dist/types/common/wasm/bins/reduce_nansum.wasm.d.ts +3 -0
  302. package/dist/types/common/wasm/bins/reduce_prod.wasm.d.ts +19 -0
  303. package/dist/types/common/wasm/bins/reduce_quantile.wasm.d.ts +2 -0
  304. package/dist/types/common/wasm/bins/reduce_std.wasm.d.ts +11 -0
  305. package/dist/types/common/wasm/bins/reduce_sum.wasm.d.ts +17 -0
  306. package/dist/types/common/wasm/bins/reduce_var.wasm.d.ts +11 -0
  307. package/dist/types/common/wasm/bins/repeat.wasm.d.ts +7 -0
  308. package/dist/types/common/wasm/bins/right_shift.wasm.d.ts +17 -0
  309. package/dist/types/common/wasm/bins/roll.wasm.d.ts +7 -0
  310. package/dist/types/common/wasm/bins/rot90.wasm.d.ts +7 -0
  311. package/dist/types/common/wasm/bins/searchsorted.wasm.d.ts +21 -0
  312. package/dist/types/common/wasm/bins/sign.wasm.d.ts +7 -0
  313. package/dist/types/common/wasm/bins/sinh.wasm.d.ts +5 -0
  314. package/dist/types/common/wasm/bins/sort.wasm.d.ts +25 -0
  315. package/dist/types/common/wasm/bins/sqrt.wasm.d.ts +7 -0
  316. package/dist/types/common/wasm/bins/square.wasm.d.ts +9 -0
  317. package/dist/types/common/wasm/bins/sub.wasm.d.ts +17 -0
  318. package/dist/types/common/wasm/bins/svd.wasm.d.ts +2 -0
  319. package/dist/types/common/wasm/bins/tan.wasm.d.ts +3 -0
  320. package/dist/types/common/wasm/bins/tanh.wasm.d.ts +5 -0
  321. package/dist/types/common/wasm/bins/tile.wasm.d.ts +7 -0
  322. package/dist/types/common/wasm/bins/vdot.wasm.d.ts +3 -0
  323. package/dist/types/common/wasm/bins/vecdot.wasm.d.ts +9 -0
  324. package/dist/types/common/wasm/bins/vecmat.wasm.d.ts +9 -0
  325. package/dist/types/common/wasm/bitwise_and.d.ts +9 -0
  326. package/dist/types/common/wasm/bitwise_count.d.ts +11 -0
  327. package/dist/types/common/wasm/bitwise_not.d.ts +9 -0
  328. package/dist/types/common/wasm/bitwise_or.d.ts +9 -0
  329. package/dist/types/common/wasm/bitwise_xor.d.ts +9 -0
  330. package/dist/types/common/wasm/cholesky.d.ts +20 -0
  331. package/dist/types/common/wasm/clip.d.ts +13 -0
  332. package/dist/types/common/wasm/config.d.ts +21 -0
  333. package/dist/types/common/wasm/convolve.d.ts +14 -0
  334. package/dist/types/common/wasm/copysign.d.ts +19 -0
  335. package/dist/types/common/wasm/correlate.d.ts +14 -0
  336. package/dist/types/common/wasm/cos.d.ts +15 -0
  337. package/dist/types/common/wasm/cosh.d.ts +15 -0
  338. package/dist/types/common/wasm/cross.d.ts +15 -0
  339. package/dist/types/common/wasm/diff.d.ts +15 -0
  340. package/dist/types/common/wasm/divide.d.ts +11 -0
  341. package/dist/types/common/wasm/dot.d.ts +14 -0
  342. package/dist/types/common/wasm/exp.d.ts +15 -0
  343. package/dist/types/common/wasm/exp2.d.ts +15 -0
  344. package/dist/types/common/wasm/fft.d.ts +29 -0
  345. package/dist/types/common/wasm/flip.d.ts +13 -0
  346. package/dist/types/common/wasm/frexp.d.ts +9 -0
  347. package/dist/types/common/wasm/gather.d.ts +23 -0
  348. package/dist/types/common/wasm/gcd.d.ts +11 -0
  349. package/dist/types/common/wasm/gradient.d.ts +13 -0
  350. package/dist/types/common/wasm/heaviside.d.ts +11 -0
  351. package/dist/types/common/wasm/hypot.d.ts +21 -0
  352. package/dist/types/common/wasm/indices.d.ts +10 -0
  353. package/dist/types/common/wasm/inner.d.ts +20 -0
  354. package/dist/types/common/wasm/kron.d.ts +13 -0
  355. package/dist/types/common/wasm/ldexp.d.ts +9 -0
  356. package/dist/types/common/wasm/left_shift.d.ts +11 -0
  357. package/dist/types/common/wasm/lexsort.d.ts +14 -0
  358. package/dist/types/common/wasm/logaddexp.d.ts +21 -0
  359. package/dist/types/common/wasm/logical_and.d.ts +19 -0
  360. package/dist/types/common/wasm/logical_not.d.ts +13 -0
  361. package/dist/types/common/wasm/logical_or.d.ts +19 -0
  362. package/dist/types/common/wasm/logical_xor.d.ts +19 -0
  363. package/dist/types/common/wasm/lstsq.d.ts +14 -0
  364. package/dist/types/common/wasm/matmul.d.ts +18 -0
  365. package/dist/types/common/wasm/matvec.d.ts +13 -0
  366. package/dist/types/common/wasm/max.d.ts +11 -0
  367. package/dist/types/common/wasm/min.d.ts +11 -0
  368. package/dist/types/common/wasm/mul.d.ts +19 -0
  369. package/dist/types/common/wasm/neg.d.ts +13 -0
  370. package/dist/types/common/wasm/outer.d.ts +13 -0
  371. package/dist/types/common/wasm/pad.d.ts +14 -0
  372. package/dist/types/common/wasm/partition.d.ts +20 -0
  373. package/dist/types/common/wasm/power.d.ts +19 -0
  374. package/dist/types/common/wasm/qr.d.ts +17 -0
  375. package/dist/types/common/wasm/reciprocal.d.ts +9 -0
  376. package/dist/types/common/wasm/reduce_all.d.ts +14 -0
  377. package/dist/types/common/wasm/reduce_any.d.ts +14 -0
  378. package/dist/types/common/wasm/reduce_argmax.d.ts +14 -0
  379. package/dist/types/common/wasm/reduce_argmin.d.ts +14 -0
  380. package/dist/types/common/wasm/reduce_count_nz.d.ts +14 -0
  381. package/dist/types/common/wasm/reduce_max.d.ts +19 -0
  382. package/dist/types/common/wasm/reduce_mean.d.ts +19 -0
  383. package/dist/types/common/wasm/reduce_min.d.ts +19 -0
  384. package/dist/types/common/wasm/reduce_nanmax.d.ts +14 -0
  385. package/dist/types/common/wasm/reduce_nanmin.d.ts +14 -0
  386. package/dist/types/common/wasm/reduce_nansum.d.ts +14 -0
  387. package/dist/types/common/wasm/reduce_prod.d.ts +20 -0
  388. package/dist/types/common/wasm/reduce_quantile.d.ts +15 -0
  389. package/dist/types/common/wasm/reduce_std.d.ts +14 -0
  390. package/dist/types/common/wasm/reduce_sum.d.ts +20 -0
  391. package/dist/types/common/wasm/reduce_var.d.ts +14 -0
  392. package/dist/types/common/wasm/repeat.d.ts +14 -0
  393. package/dist/types/common/wasm/right_shift.d.ts +11 -0
  394. package/dist/types/common/wasm/roll.d.ts +13 -0
  395. package/dist/types/common/wasm/rot90.d.ts +14 -0
  396. package/dist/types/common/wasm/runtime.d.ts +44 -0
  397. package/dist/types/common/wasm/searchsorted.d.ts +12 -0
  398. package/dist/types/common/wasm/sign.d.ts +14 -0
  399. package/dist/types/common/wasm/sinh.d.ts +15 -0
  400. package/dist/types/common/wasm/sort.d.ts +20 -0
  401. package/dist/types/common/wasm/sqrt.d.ts +15 -0
  402. package/dist/types/common/wasm/square.d.ts +13 -0
  403. package/dist/types/common/wasm/sub.d.ts +19 -0
  404. package/dist/types/common/wasm/svd.d.ts +18 -0
  405. package/dist/types/common/wasm/tan.d.ts +15 -0
  406. package/dist/types/common/wasm/tanh.d.ts +15 -0
  407. package/dist/types/common/wasm/tile.d.ts +14 -0
  408. package/dist/types/common/wasm/vdot.d.ts +16 -0
  409. package/dist/types/common/wasm/vecdot.d.ts +15 -0
  410. package/dist/types/common/wasm/vecmat.d.ts +13 -0
  411. package/dist/types/core/linalg.d.ts +10 -10
  412. package/dist/types/core/reduction.d.ts +17 -17
  413. package/dist/types/core/sets.d.ts +1 -1
  414. package/dist/types/core/sorting.d.ts +1 -1
  415. package/dist/types/full/index.d.ts +20 -18
  416. package/dist/types/full/ndarray.d.ts +16 -22
  417. package/dist/types/index.d.ts +1 -0
  418. package/dist/types/io/zip/types.d.ts +2 -1
  419. package/package.json +37 -15
@@ -0,0 +1,10 @@
1
+ /**
2
+ * WASM-accelerated np.indices() for 2D and 3D grids.
3
+ */
4
+ import { ArrayStorage } from '../storage';
5
+ /**
6
+ * WASM-accelerated indices for 2D/3D grids with int32 dtype.
7
+ * Returns null if WASM can't handle this case.
8
+ */
9
+ export declare function wasmIndices(dimensions: number[], dtype: string): ArrayStorage | null;
10
+ //# sourceMappingURL=indices.d.ts.map
@@ -0,0 +1,20 @@
1
+ /**
2
+ * WASM-accelerated inner product kernel.
3
+ *
4
+ * Pure compute backend — takes ArrayStorage inputs, returns ArrayStorage or
5
+ * null if WASM can't handle this case (unsupported dtype, non-contiguous,
6
+ * below size threshold). The caller (linalg.ts) handles the JS fallback.
7
+ *
8
+ * inner(A[M,K], B[N,K]) → C[M,N] where C[i,j] = sum_k A[i,k] * B[j,k]
9
+ */
10
+ import { ArrayStorage } from '../storage';
11
+ import { Complex } from '../complex';
12
+ /**
13
+ * WASM-accelerated inner product. Returns null if WASM can't handle this case.
14
+ *
15
+ * Handles the 2D general case: inner(A[M,K], B[N,K]) → C[M,N].
16
+ * The 1D·1D case (scalar result) is also handled when both inputs are 1D.
17
+ * The caller should fall back to JS when null is returned.
18
+ */
19
+ export declare function wasmInner(a: ArrayStorage, b: ArrayStorage): ArrayStorage | number | Complex | null;
20
+ //# sourceMappingURL=inner.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * WASM-accelerated Kronecker product.
3
+ *
4
+ * Computes C = A ⊗ B for A[am×an] and B[bm×bn].
5
+ * Returns null if WASM can't handle this case.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ /**
9
+ * WASM-accelerated Kronecker product: A[am×an] ⊗ B[bm×bn] → C[(am*bm)×(an*bn)].
10
+ * Both inputs must be 2D and contiguous.
11
+ */
12
+ export declare function wasmKron(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
13
+ //# sourceMappingURL=kron.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * WASM-accelerated element-wise ldexp (x1 * 2^x2).
3
+ *
4
+ * Scalar variant only (x2 is a single integer).
5
+ * Returns null if WASM can't handle this case.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ export declare function wasmLdexpScalar(a: ArrayStorage, exp: number): ArrayStorage | null;
9
+ //# sourceMappingURL=ldexp.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * WASM-accelerated element-wise left shift.
3
+ *
4
+ * Binary: out[i] = a[i] << b[i] (same-shape contiguous arrays)
5
+ * Scalar: out[i] = a[i] << scalar
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ export declare function wasmLeftShift(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
10
+ export declare function wasmLeftShiftScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
11
+ //# sourceMappingURL=left_shift.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated lexsort (indirect stable sort on multiple keys).
3
+ *
4
+ * All keys must be the same dtype and contiguous.
5
+ * Returns null if WASM can't handle this case.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ /**
9
+ * WASM-accelerated lexsort.
10
+ * All keys must be the same dtype and 1D contiguous.
11
+ * Returns ArrayStorage of int32 indices or null if WASM can't handle it.
12
+ */
13
+ export declare function wasmLexsort(keys: ArrayStorage[]): ArrayStorage | null;
14
+ //# sourceMappingURL=lexsort.d.ts.map
@@ -0,0 +1,21 @@
1
+ /**
2
+ * WASM-accelerated element-wise logaddexp.
3
+ *
4
+ * Binary: out[i] = log(exp(a[i]) + exp(b[i])) (same-shape contiguous arrays)
5
+ * Scalar: out[i] = log(exp(a[i]) + exp(scalar))
6
+ * Returns null if WASM can't handle this case.
7
+ * Float types use native kernels; int64/uint64 use native i64 kernels
8
+ * that convert to f64 in WASM (avoiding JS BigInt→Number overhead).
9
+ */
10
+ import { ArrayStorage } from '../storage';
11
+ /**
12
+ * WASM-accelerated element-wise logaddexp of two same-shape contiguous arrays.
13
+ * Returns null if WASM can't handle.
14
+ */
15
+ export declare function wasmLogaddexp(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
16
+ /**
17
+ * WASM-accelerated element-wise logaddexp with scalar.
18
+ * Returns null if WASM can't handle.
19
+ */
20
+ export declare function wasmLogaddexpScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
21
+ //# sourceMappingURL=logaddexp.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * WASM-accelerated element-wise logical AND.
3
+ *
4
+ * Binary: out[i] = (a[i] != 0) & (b[i] != 0)
5
+ * Scalar: out[i] = (a[i] != 0) & (scalar != 0)
6
+ * Output is always bool (Uint8Array). Returns null if WASM can't handle.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated logical AND of two same-shape contiguous arrays.
11
+ * Returns null if WASM can't handle.
12
+ */
13
+ export declare function wasmLogicalAnd(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
14
+ /**
15
+ * WASM-accelerated logical AND of array and scalar.
16
+ * Returns null if WASM can't handle.
17
+ */
18
+ export declare function wasmLogicalAndScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
19
+ //# sourceMappingURL=logical_and.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * WASM-accelerated element-wise logical NOT.
3
+ *
4
+ * Unary: out[i] = (a[i] == 0) ? 1 : 0
5
+ * Output is always bool (Uint8Array). Returns null if WASM can't handle.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ /**
9
+ * WASM-accelerated logical NOT.
10
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
11
+ */
12
+ export declare function wasmLogicalNot(a: ArrayStorage): ArrayStorage | null;
13
+ //# sourceMappingURL=logical_not.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * WASM-accelerated element-wise logical OR.
3
+ *
4
+ * Binary: out[i] = (a[i] != 0) | (b[i] != 0)
5
+ * Scalar: out[i] = (a[i] != 0) | (scalar != 0)
6
+ * Output is always bool (Uint8Array). Returns null if WASM can't handle.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated logical OR of two same-shape contiguous arrays.
11
+ * Returns null if WASM can't handle.
12
+ */
13
+ export declare function wasmLogicalOr(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
14
+ /**
15
+ * WASM-accelerated logical OR of array and scalar.
16
+ * Returns null if WASM can't handle.
17
+ */
18
+ export declare function wasmLogicalOrScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
19
+ //# sourceMappingURL=logical_or.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * WASM-accelerated element-wise logical XOR.
3
+ *
4
+ * Binary: out[i] = (a[i] != 0) ^ (b[i] != 0)
5
+ * Scalar: out[i] = (a[i] != 0) ^ (scalar != 0)
6
+ * Output is always bool (Uint8Array). Returns null if WASM can't handle.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated logical XOR of two same-shape contiguous arrays.
11
+ * Returns null if WASM can't handle.
12
+ */
13
+ export declare function wasmLogicalXor(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
14
+ /**
15
+ * WASM-accelerated logical XOR of array and scalar.
16
+ * Returns null if WASM can't handle.
17
+ */
18
+ export declare function wasmLogicalXorScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
19
+ //# sourceMappingURL=logical_xor.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated least-squares solve via QR decomposition.
3
+ *
4
+ * Solves Ax = b for overdetermined systems (m >= n) using Householder QR.
5
+ * Only handles single RHS (1D b). For multi-RHS, falls back to JS/SVD.
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated least-squares solve for 2D A and 1D b.
11
+ * Returns x[n] or null.
12
+ */
13
+ export declare function wasmLstsq(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
14
+ //# sourceMappingURL=lstsq.d.ts.map
@@ -0,0 +1,18 @@
1
+ /**
2
+ * WASM-accelerated matmul kernel.
3
+ *
4
+ * Pure compute backend — takes ArrayStorage inputs, returns ArrayStorage or
5
+ * null if WASM can't handle this case (unsupported dtype, non-contiguous,
6
+ * below size threshold). The caller (linalg.ts) handles the JS fallback.
7
+ *
8
+ * Handles batched matmul by looping over batch dimensions in JS and
9
+ * dispatching each 2D slice to WASM.
10
+ */
11
+ import { ArrayStorage } from '../storage';
12
+ /**
13
+ * WASM-accelerated matmul. Returns null if WASM can't handle this case.
14
+ *
15
+ * The caller should fall back to JS when null is returned.
16
+ */
17
+ export declare function wasmMatmul(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
18
+ //# sourceMappingURL=matmul.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * WASM-accelerated matrix-vector product.
3
+ *
4
+ * Computes y[i] = sum_k A[i,k] * x[k] for A[M,K] and x[K].
5
+ * Returns null if WASM can't handle this case.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ /**
9
+ * WASM-accelerated matvec: A[M,K] · x[K] → y[M].
10
+ * A must be 2D, x must be 1D, both contiguous.
11
+ */
12
+ export declare function wasmMatvec(A: ArrayStorage, x: ArrayStorage): ArrayStorage | null;
13
+ //# sourceMappingURL=matvec.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * WASM-accelerated element-wise maximum.
3
+ *
4
+ * Binary: out[i] = max(a[i], b[i])
5
+ * Scalar: out[i] = max(a[i], scalar)
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ export declare function wasmMax(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
10
+ export declare function wasmMaxScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
11
+ //# sourceMappingURL=max.d.ts.map
@@ -0,0 +1,11 @@
1
+ /**
2
+ * WASM-accelerated element-wise minimum.
3
+ *
4
+ * Binary: out[i] = min(a[i], b[i])
5
+ * Scalar: out[i] = min(a[i], scalar)
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ export declare function wasmMin(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
10
+ export declare function wasmMinScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
11
+ //# sourceMappingURL=min.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * WASM-accelerated element-wise multiplication.
3
+ *
4
+ * Binary: out[i] = a[i] * b[i] (same-shape contiguous arrays)
5
+ * Scalar: out[i] = a[i] * scalar
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated element-wise multiply of two same-shape contiguous arrays.
11
+ * Returns null if WASM can't handle.
12
+ */
13
+ export declare function wasmMul(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
14
+ /**
15
+ * WASM-accelerated element-wise multiply scalar.
16
+ * Returns null if WASM can't handle.
17
+ */
18
+ export declare function wasmMulScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
19
+ //# sourceMappingURL=mul.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * WASM-accelerated element-wise negation.
3
+ *
4
+ * Unary: out[i] = -a[i]
5
+ * Returns null if WASM can't handle this case.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ /**
9
+ * WASM-accelerated element-wise negation.
10
+ * Returns null if WASM can't handle.
11
+ */
12
+ export declare function wasmNeg(a: ArrayStorage): ArrayStorage | null;
13
+ //# sourceMappingURL=neg.d.ts.map
@@ -0,0 +1,13 @@
1
+ /**
2
+ * WASM-accelerated outer product.
3
+ *
4
+ * Computes C[i,j] = a[i] * b[j] for a[M] and b[N].
5
+ * Returns null if WASM can't handle this case.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ /**
9
+ * WASM-accelerated outer product: a[M] ⊗ b[N] → C[M,N].
10
+ * Both inputs are flattened to 1D first by the caller.
11
+ */
12
+ export declare function wasmOuter(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
13
+ //# sourceMappingURL=outer.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated 2D constant zero-padding.
3
+ *
4
+ * Pads a [rows x cols] matrix with `pad_width` zeros on all sides.
5
+ * Returns null if WASM can't handle this case.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ /**
9
+ * WASM-accelerated 2D constant zero-pad with uniform pad_width.
10
+ * Only handles 2D C-contiguous arrays with constant_values=0 and uniform pad_width.
11
+ * Returns null if WASM can't handle.
12
+ */
13
+ export declare function wasmPad2D(a: ArrayStorage, padWidth: number): ArrayStorage | null;
14
+ //# sourceMappingURL=pad.d.ts.map
@@ -0,0 +1,20 @@
1
+ /**
2
+ * WASM-accelerated in-place partition (quickselect).
3
+ *
4
+ * Partitions a contiguous 1D buffer so that element at kth position
5
+ * is in its final sorted position.
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ import type { DType, TypedArray } from '../dtype';
10
+ /**
11
+ * WASM-accelerated partition of contiguous slices.
12
+ * Uses batch kernel when slices are packed contiguously.
13
+ */
14
+ export declare function wasmPartitionSlices(resultData: TypedArray, sliceOffsets: Int32Array | number[], axisSize: number, outerSize: number, kth: number, dtype: DType): boolean;
15
+ /**
16
+ * WASM-accelerated partition of a contiguous 1D buffer.
17
+ * Returns partitioned ArrayStorage or null if WASM can't handle it.
18
+ */
19
+ export declare function wasmPartition(a: ArrayStorage, kth: number): ArrayStorage | null;
20
+ //# sourceMappingURL=partition.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * WASM-accelerated element-wise power.
3
+ *
4
+ * Binary: out[i] = a[i] ^ b[i] (same-shape contiguous arrays)
5
+ * Scalar: out[i] = a[i] ^ scalar
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated element-wise power of two same-shape contiguous arrays.
11
+ * Returns null if WASM can't handle.
12
+ */
13
+ export declare function wasmPower(a: ArrayStorage, b: ArrayStorage): ArrayStorage | null;
14
+ /**
15
+ * WASM-accelerated element-wise power with scalar exponent.
16
+ * Returns null if WASM can't handle.
17
+ */
18
+ export declare function wasmPowerScalar(a: ArrayStorage, scalar: number): ArrayStorage | null;
19
+ //# sourceMappingURL=power.d.ts.map
@@ -0,0 +1,17 @@
1
+ /**
2
+ * WASM-accelerated Householder QR decomposition.
3
+ *
4
+ * Computes A = Q·R for A[m×n], where Q[m×k] is orthogonal and R[k×n] is upper triangular.
5
+ * k = min(m, n). Only supports float64 (matches JS behavior of converting all inputs to float64).
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated QR decomposition for 2D float64 matrices.
11
+ * Returns { q: ArrayStorage, r: ArrayStorage } or null.
12
+ */
13
+ export declare function wasmQr(a: ArrayStorage): {
14
+ q: ArrayStorage;
15
+ r: ArrayStorage;
16
+ } | null;
17
+ //# sourceMappingURL=qr.d.ts.map
@@ -0,0 +1,9 @@
1
+ /**
2
+ * WASM-accelerated element-wise reciprocal.
3
+ *
4
+ * Unary: out[i] = 1.0 / a[i]
5
+ * Returns null if WASM can't handle this case.
6
+ */
7
+ import { ArrayStorage } from '../storage';
8
+ export declare function wasmReciprocal(a: ArrayStorage): ArrayStorage | null;
9
+ //# sourceMappingURL=reciprocal.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction all (logical AND).
3
+ *
4
+ * Reduction: result = 1 if 0 if any a[i] == 0, else 1.
5
+ * Returns null if WASM can't handle this case.
6
+ * uint types route to signed kernels (non-zero check is sign-agnostic).
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction all (no axis, full array).
11
+ * Returns 0 or 1 as number, or null if WASM can't handle.
12
+ */
13
+ export declare function wasmReduceAll(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_all.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction any (logical OR).
3
+ *
4
+ * Reduction: result = 1 if any a[i] != 0, else 0.
5
+ * Returns null if WASM can't handle this case.
6
+ * uint types route to signed kernels (non-zero check is sign-agnostic).
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction any (no axis, full array).
11
+ * Returns 0 or 1 as number, or null if WASM can't handle.
12
+ */
13
+ export declare function wasmReduceAny(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_any.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction argmax.
3
+ *
4
+ * Reduction: result = argmax(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Unsigned types use SEPARATE kernels.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction argmax (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceArgmax(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_argmax.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction argmin.
3
+ *
4
+ * Reduction: result = argmin(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Unsigned types use SEPARATE kernels.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction argmin (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceArgmin(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_argmin.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction count_nz.
3
+ *
4
+ * Reduction: result = count_nonzero(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * uint types route to signed kernels (non-zero check is sign-agnostic).
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction count_nz (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceCountNz(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_count_nz.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * WASM-accelerated reduction max.
3
+ *
4
+ * Reduction: result = max(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Unsigned types use SEPARATE kernels.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction max (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceMax(a: ArrayStorage): number | null;
14
+ /**
15
+ * WASM-accelerated strided max along an axis.
16
+ * Output dtype matches input dtype. Returns output ArrayStorage, or null if WASM can't handle.
17
+ */
18
+ export declare function wasmReduceMaxStrided(a: ArrayStorage, outerSize: number, axisSize: number, innerSize: number): ArrayStorage | null;
19
+ //# sourceMappingURL=reduce_max.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * WASM-accelerated reduction mean.
3
+ *
4
+ * Reduction: result = mean(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Unsigned types use SEPARATE kernels (for correct floatFromInt).
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction mean (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceMean(a: ArrayStorage): number | null;
14
+ /**
15
+ * WASM-accelerated strided mean along an axis.
16
+ * Output is always float64. Returns output ArrayStorage, or null if WASM can't handle.
17
+ */
18
+ export declare function wasmReduceMeanStrided(a: ArrayStorage, outerSize: number, axisSize: number, innerSize: number): ArrayStorage | null;
19
+ //# sourceMappingURL=reduce_mean.d.ts.map
@@ -0,0 +1,19 @@
1
+ /**
2
+ * WASM-accelerated reduction min.
3
+ *
4
+ * Reduction: result = min(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Unsigned types use SEPARATE kernels.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction min (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceMin(a: ArrayStorage): number | null;
14
+ /**
15
+ * WASM-accelerated strided min along an axis.
16
+ * Output dtype matches input dtype. Returns output ArrayStorage, or null if WASM can't handle.
17
+ */
18
+ export declare function wasmReduceMinStrided(a: ArrayStorage, outerSize: number, axisSize: number, innerSize: number): ArrayStorage | null;
19
+ //# sourceMappingURL=reduce_min.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction nanmax.
3
+ *
4
+ * Reduction: result = nanmax(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Only float64 and float32.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction nanmax (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceNanmax(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_nanmax.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction nanmin.
3
+ *
4
+ * Reduction: result = nanmin(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Only float64 and float32.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction nanmin (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceNanmin(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_nanmin.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction nansum.
3
+ *
4
+ * Reduction: result = nansum(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Only float64 and float32 — TS routes int/uint to regular sum.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction nansum (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceNansum(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_nansum.d.ts.map
@@ -0,0 +1,20 @@
1
+ /**
2
+ * WASM-accelerated reduction product.
3
+ *
4
+ * Reduction: result = product(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * uint types route to signed kernels (wrapping multiplication gives same bits).
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction product (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceProd(a: ArrayStorage): number | null;
14
+ /**
15
+ * WASM-accelerated strided prod along an axis.
16
+ * Output dtype may be promoted (narrow ints → i64/u64).
17
+ * Returns output ArrayStorage, or null if WASM can't handle.
18
+ */
19
+ export declare function wasmReduceProdStrided(a: ArrayStorage, outerSize: number, axisSize: number, innerSize: number): ArrayStorage | null;
20
+ //# sourceMappingURL=reduce_prod.d.ts.map
@@ -0,0 +1,15 @@
1
+ /**
2
+ * WASM-accelerated quantile computation.
3
+ *
4
+ * Sorts a copy of the data in WASM, then interpolates.
5
+ * All dtypes are converted to f64 before passing to WASM.
6
+ * Returns null if WASM can't handle this case.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated quantile (no axis, full array).
11
+ * Converts all data to f64, sorts in WASM, interpolates.
12
+ * Returns null if WASM can't handle (complex, non-contiguous, too small).
13
+ */
14
+ export declare function wasmReduceQuantile(a: ArrayStorage, q: number): number | null;
15
+ //# sourceMappingURL=reduce_quantile.d.ts.map
@@ -0,0 +1,14 @@
1
+ /**
2
+ * WASM-accelerated reduction std.
3
+ *
4
+ * Reduction: result = std(a[0..N])
5
+ * Returns null if WASM can't handle this case.
6
+ * Unsigned types use SEPARATE kernels.
7
+ */
8
+ import { ArrayStorage } from '../storage';
9
+ /**
10
+ * WASM-accelerated reduction std (no axis, full array).
11
+ * Returns null if WASM can't handle (complex types, non-contiguous, too small).
12
+ */
13
+ export declare function wasmReduceStd(a: ArrayStorage): number | null;
14
+ //# sourceMappingURL=reduce_std.d.ts.map