numpy-ts 0.12.0 → 0.13.1

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 (144) hide show
  1. package/README.md +18 -14
  2. package/dist/esm/common/broadcasting.js +1 -0
  3. package/dist/esm/common/complex.js +1 -0
  4. package/dist/esm/common/dtype.js +1 -0
  5. package/dist/esm/common/internal/compute.js +1 -0
  6. package/dist/esm/common/internal/indexing.js +1 -0
  7. package/dist/esm/common/ndarray-core.js +1 -0
  8. package/dist/esm/common/ops/advanced.js +1 -0
  9. package/dist/esm/common/ops/arithmetic.js +1 -0
  10. package/dist/esm/common/ops/bitwise.js +1 -0
  11. package/dist/esm/common/ops/comparison.js +1 -0
  12. package/dist/esm/common/ops/complex.js +1 -0
  13. package/dist/esm/common/ops/exponential.js +1 -0
  14. package/dist/esm/common/ops/fft.js +1 -0
  15. package/dist/esm/common/ops/formatting.js +4 -0
  16. package/dist/esm/common/ops/gradient.js +1 -0
  17. package/dist/esm/common/ops/hyperbolic.js +1 -0
  18. package/dist/esm/common/ops/linalg.js +2 -0
  19. package/dist/esm/common/ops/logic.js +1 -0
  20. package/dist/esm/common/ops/random.js +1 -0
  21. package/dist/esm/common/ops/reduction.js +1 -0
  22. package/dist/esm/common/ops/rounding.js +1 -0
  23. package/dist/esm/common/ops/sets.js +1 -0
  24. package/dist/esm/common/ops/shape.js +1 -0
  25. package/dist/esm/common/ops/sorting.js +1 -0
  26. package/dist/esm/common/ops/statistics.js +1 -0
  27. package/dist/esm/common/ops/trig.js +1 -0
  28. package/dist/esm/common/slicing.js +1 -0
  29. package/dist/esm/common/storage.js +1 -0
  30. package/dist/esm/core/advanced.js +1 -0
  31. package/dist/esm/core/arithmetic.js +1 -0
  32. package/dist/esm/core/bitwise.js +1 -0
  33. package/dist/esm/core/complex.js +1 -0
  34. package/dist/esm/core/creation.js +1 -0
  35. package/dist/esm/core/formatting.js +1 -0
  36. package/dist/esm/core/gradient.js +1 -0
  37. package/dist/esm/core/index.js +1 -0
  38. package/dist/esm/core/linalg.js +1 -0
  39. package/dist/esm/core/logic.js +1 -0
  40. package/dist/esm/core/polynomial.js +1 -0
  41. package/dist/esm/core/reduction.js +1 -0
  42. package/dist/esm/core/rounding.js +1 -0
  43. package/dist/esm/core/sets.js +1 -0
  44. package/dist/esm/core/shape-extra.js +1 -0
  45. package/dist/esm/core/shape.js +1 -0
  46. package/dist/esm/core/sorting.js +1 -0
  47. package/dist/esm/core/statistics.js +1 -0
  48. package/dist/esm/core/trig.js +1 -0
  49. package/dist/esm/core/typechecking.js +1 -0
  50. package/dist/esm/core/types.js +1 -0
  51. package/dist/esm/core/utility.js +1 -0
  52. package/dist/esm/core.js +1 -0
  53. package/dist/esm/full/index.js +1 -0
  54. package/dist/esm/full/ndarray.js +1 -0
  55. package/dist/esm/index.js +1 -0
  56. package/dist/esm/io/index.js +1 -0
  57. package/dist/esm/io/npy/format.js +1 -0
  58. package/dist/esm/io/npy/index.js +1 -0
  59. package/dist/esm/io/npy/parser.js +1 -0
  60. package/dist/esm/io/npy/serializer.js +2 -0
  61. package/dist/esm/io/npz/index.js +1 -0
  62. package/dist/esm/io/npz/parser.js +1 -0
  63. package/dist/esm/io/npz/serializer.js +1 -0
  64. package/dist/esm/io/txt/index.js +1 -0
  65. package/dist/esm/io/txt/parser.js +1 -0
  66. package/dist/esm/io/txt/serializer.js +2 -0
  67. package/dist/esm/io/zip/index.js +1 -0
  68. package/dist/esm/io/zip/reader.js +1 -0
  69. package/dist/esm/io/zip/types.js +1 -0
  70. package/dist/esm/io/zip/writer.js +1 -0
  71. package/dist/esm/node.js +1 -0
  72. package/dist/numpy-ts.browser.js +7 -2
  73. package/dist/numpy-ts.node-io.cjs +7 -3
  74. package/dist/numpy-ts.node-io.cjs.map +4 -4
  75. package/dist/numpy-ts.node-io.mjs +7 -3
  76. package/dist/numpy-ts.node-io.mjs.map +4 -4
  77. package/dist/numpy-ts.node.cjs +7 -2
  78. package/dist/numpy-ts.node.cjs.map +4 -4
  79. package/dist/types/common/complex.d.ts +94 -0
  80. package/dist/types/{internal → common/internal}/compute.d.ts +1 -1
  81. package/dist/types/{internal → common/internal}/indexing.d.ts +6 -0
  82. package/dist/types/common/ndarray-core.d.ts +126 -0
  83. package/dist/types/{ops → common/ops}/advanced.d.ts +2 -2
  84. package/dist/types/{ops → common/ops}/arithmetic.d.ts +1 -1
  85. package/dist/types/{ops → common/ops}/bitwise.d.ts +1 -1
  86. package/dist/types/{ops → common/ops}/comparison.d.ts +1 -1
  87. package/dist/types/{ops → common/ops}/complex.d.ts +1 -1
  88. package/dist/types/{ops → common/ops}/exponential.d.ts +1 -1
  89. package/dist/types/common/ops/fft.d.ts +166 -0
  90. package/dist/types/common/ops/formatting.d.ts +229 -0
  91. package/dist/types/{ops → common/ops}/gradient.d.ts +1 -1
  92. package/dist/types/{ops → common/ops}/hyperbolic.d.ts +1 -1
  93. package/dist/types/{ops → common/ops}/linalg.d.ts +24 -3
  94. package/dist/types/{ops → common/ops}/logic.d.ts +2 -2
  95. package/dist/types/common/ops/random.d.ts +376 -0
  96. package/dist/types/{ops → common/ops}/reduction.d.ts +2 -2
  97. package/dist/types/{ops → common/ops}/rounding.d.ts +1 -1
  98. package/dist/types/{ops → common/ops}/sets.d.ts +1 -1
  99. package/dist/types/{ops → common/ops}/shape.d.ts +1 -1
  100. package/dist/types/{ops → common/ops}/sorting.d.ts +1 -1
  101. package/dist/types/{ops → common/ops}/statistics.d.ts +1 -1
  102. package/dist/types/{ops → common/ops}/trig.d.ts +1 -1
  103. package/dist/types/{core → common}/storage.d.ts +1 -0
  104. package/dist/types/core/advanced.d.ts +54 -0
  105. package/dist/types/core/arithmetic.d.ts +110 -0
  106. package/dist/types/core/bitwise.d.ts +34 -0
  107. package/dist/types/core/complex.d.ts +15 -90
  108. package/dist/types/core/creation.d.ts +98 -0
  109. package/dist/types/core/formatting.d.ts +29 -0
  110. package/dist/types/core/gradient.d.ts +14 -0
  111. package/dist/types/core/index.d.ts +40 -0
  112. package/dist/types/core/linalg.d.ts +141 -0
  113. package/dist/types/core/logic.d.ts +72 -0
  114. package/dist/types/core/polynomial.d.ts +50 -0
  115. package/dist/types/core/reduction.d.ts +82 -0
  116. package/dist/types/core/rounding.d.ts +24 -0
  117. package/dist/types/core/sets.d.ts +48 -0
  118. package/dist/types/core/shape-extra.d.ts +24 -0
  119. package/dist/types/core/shape.d.ts +77 -0
  120. package/dist/types/core/sorting.d.ts +34 -0
  121. package/dist/types/core/statistics.d.ts +32 -0
  122. package/dist/types/core/trig.d.ts +58 -0
  123. package/dist/types/core/typechecking.d.ts +50 -0
  124. package/dist/types/core/types.d.ts +43 -0
  125. package/dist/types/core/utility.d.ts +30 -0
  126. package/dist/types/core.d.ts +30 -0
  127. package/dist/types/full/index.d.ts +603 -0
  128. package/dist/types/full/ndarray.d.ts +880 -0
  129. package/dist/types/index.d.ts +140 -26
  130. package/dist/types/io/npy/format.d.ts +1 -1
  131. package/dist/types/io/npy/parser.d.ts +3 -3
  132. package/dist/types/io/npy/serializer.d.ts +2 -2
  133. package/dist/types/io/npz/parser.d.ts +4 -4
  134. package/dist/types/io/npz/serializer.d.ts +6 -6
  135. package/dist/types/io/txt/parser.d.ts +5 -5
  136. package/dist/types/io/txt/serializer.d.ts +2 -2
  137. package/dist/types/node.d.ts +12 -8
  138. package/package.json +30 -29
  139. package/dist/numpy-ts.esm.js +0 -2
  140. package/dist/types/core/ndarray.d.ts +0 -3923
  141. package/dist/types/ops/random.d.ts +0 -136
  142. /package/dist/types/{core → common}/broadcasting.d.ts +0 -0
  143. /package/dist/types/{core → common}/dtype.d.ts +0 -0
  144. /package/dist/types/{core → common}/slicing.d.ts +0 -0
@@ -0,0 +1,603 @@
1
+ import { NDArray } from './ndarray';
2
+ import { NDArrayCore } from '../common/ndarray-core';
3
+ import { Complex } from '../common/complex';
4
+ import type { DType, TypedArray } from '../core/types';
5
+ export type { DType, TypedArray } from '../core/types';
6
+ export { NDArray, meshgrid } from './ndarray';
7
+ export { NDArrayCore } from '../common/ndarray-core';
8
+ export { Complex } from '../common/complex';
9
+ /** Broadcast array to a new shape - returns a view */
10
+ export declare function broadcast_to(a: NDArrayCore, shape: number[]): NDArray;
11
+ export declare function take(a: NDArrayCore, indices: number[], axis?: number): NDArray;
12
+ export declare function take_along_axis(arr: NDArrayCore, indices: NDArrayCore, axis: number): NDArray;
13
+ export declare function choose(a: NDArrayCore, choices: NDArrayCore[]): NDArray;
14
+ export declare function compress(condition: NDArrayCore, a: NDArrayCore, axis?: number): NDArray;
15
+ /**
16
+ * Integer array indexing (fancy indexing)
17
+ *
18
+ * Select elements using an array of indices.
19
+ */
20
+ export declare function iindex(a: NDArrayCore, indices: NDArrayCore | number[] | number[][], axis?: number): NDArray;
21
+ /**
22
+ * Boolean array indexing (fancy indexing with mask)
23
+ *
24
+ * Select elements where a boolean mask is true.
25
+ */
26
+ export declare function bindex(a: NDArrayCore, mask: NDArrayCore, axis?: number): NDArray;
27
+ export declare function select(condlist: NDArrayCore[], choicelist: NDArrayCore[], defaultVal?: number): NDArray;
28
+ export declare function indices(dimensions: number[], dtype?: 'int32' | 'int64' | 'float64'): NDArray;
29
+ export declare function ravel_multi_index(multi_index: NDArrayCore[], dims: number[], mode?: 'raise' | 'wrap' | 'clip'): NDArray;
30
+ export declare function unravel_index(indices: NDArrayCore | number, shape: number[]): NDArray[];
31
+ export declare function diag_indices(n: number, ndim?: number): NDArray[];
32
+ export declare function diag_indices_from(a: NDArrayCore): NDArray[];
33
+ export declare function tril_indices(n: number, k?: number, m?: number): NDArray[];
34
+ export declare function tril_indices_from(a: NDArrayCore, k?: number): NDArray[];
35
+ export declare function triu_indices(n: number, k?: number, m?: number): NDArray[];
36
+ export declare function triu_indices_from(a: NDArrayCore, k?: number): NDArray[];
37
+ export declare function mask_indices(n: number, mask_func: (n: number, k: number) => NDArrayCore, k?: number): NDArray[];
38
+ export declare function apply_along_axis(func1d: (arr: NDArrayCore) => NDArrayCore | number, axis: number, arr: NDArrayCore): NDArray;
39
+ export declare function apply_over_axes(func: (arr: NDArrayCore, axis: number) => NDArrayCore, a: NDArrayCore, axes: number[]): NDArray;
40
+ /** Add arguments element-wise */
41
+ export declare function add(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
42
+ /** Subtract arguments element-wise */
43
+ export declare function subtract(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
44
+ /** Multiply arguments element-wise */
45
+ export declare function multiply(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
46
+ /** Square root of array elements */
47
+ export declare function sqrt(x: NDArrayCore): NDArray;
48
+ /** Element-wise power */
49
+ export declare function power(x: NDArrayCore, exponent: NDArrayCore | number): NDArray;
50
+ /** Exponential (e^x) */
51
+ export declare function exp(x: NDArrayCore): NDArray;
52
+ /** 2^x */
53
+ export declare function exp2(x: NDArrayCore): NDArray;
54
+ /** exp(x) - 1 */
55
+ export declare function expm1(x: NDArrayCore): NDArray;
56
+ /** Natural logarithm */
57
+ export declare function log(x: NDArrayCore): NDArray;
58
+ /** Base-2 logarithm */
59
+ export declare function log2(x: NDArrayCore): NDArray;
60
+ /** Base-10 logarithm */
61
+ export declare function log10(x: NDArrayCore): NDArray;
62
+ /** log(1 + x) */
63
+ export declare function log1p(x: NDArrayCore): NDArray;
64
+ /** log(exp(x1) + exp(x2)) */
65
+ export declare function logaddexp(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
66
+ /** log2(2^x1 + 2^x2) */
67
+ export declare function logaddexp2(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
68
+ /** Absolute value */
69
+ export declare function absolute(x: NDArrayCore): NDArray;
70
+ /** Numerical negative */
71
+ export declare function negative(x: NDArrayCore): NDArray;
72
+ /** Element-wise sign */
73
+ export declare function sign(x: NDArrayCore): NDArray;
74
+ /** Element-wise modulo */
75
+ export declare function mod(x: NDArrayCore, divisor: NDArrayCore | number): NDArray;
76
+ /** Element-wise division */
77
+ export declare function divide(x: NDArrayCore, divisor: NDArrayCore | number): NDArray;
78
+ /** Element-wise floor division */
79
+ export declare function floor_divide(x: NDArrayCore, divisor: NDArrayCore | number): NDArray;
80
+ /** Numerical positive (returns copy) */
81
+ export declare function positive(x: NDArrayCore): NDArray;
82
+ /** Reciprocal (1/x) */
83
+ export declare function reciprocal(x: NDArrayCore): NDArray;
84
+ /** Cube root */
85
+ export declare function cbrt(x: NDArrayCore): NDArray;
86
+ /** Absolute value (float) */
87
+ export declare function fabs(x: NDArrayCore): NDArray;
88
+ /** Element-wise divmod (quotient and remainder) */
89
+ export declare function divmod(x: NDArrayCore, y: NDArrayCore | number): [NDArray, NDArray];
90
+ /** Element-wise square */
91
+ export declare function square(x: NDArrayCore): NDArray;
92
+ /** Element-wise remainder */
93
+ export declare function remainder(x: NDArrayCore, y: NDArrayCore | number): NDArray;
94
+ /** Heaviside step function */
95
+ export declare function heaviside(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
96
+ /** Float power (always returns float) */
97
+ export declare function float_power(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
98
+ /** C-style fmod */
99
+ export declare function fmod(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
100
+ /** Decompose into mantissa and exponent */
101
+ export declare function frexp(x: NDArrayCore): [NDArray, NDArray];
102
+ /** Greatest common divisor */
103
+ export declare function gcd(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
104
+ /** Least common multiple */
105
+ export declare function lcm(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
106
+ /** Compose from mantissa and exponent */
107
+ export declare function ldexp(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
108
+ /** Decompose into fractional and integer parts */
109
+ export declare function modf(x: NDArrayCore): [NDArray, NDArray];
110
+ /** Clip values to a range */
111
+ export declare function clip(a: NDArrayCore, a_min: NDArrayCore | number | null, a_max: NDArrayCore | number | null): NDArray;
112
+ /** Element-wise maximum */
113
+ export declare function maximum(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
114
+ /** Element-wise minimum */
115
+ export declare function minimum(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
116
+ /** Element-wise maximum (ignores NaN) */
117
+ export declare function fmax(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
118
+ /** Element-wise minimum (ignores NaN) */
119
+ export declare function fmin(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
120
+ /** Replace NaN/Inf with numbers */
121
+ export declare function nan_to_num(x: NDArrayCore, nan?: number, posinf?: number, neginf?: number): NDArray;
122
+ /** 1D linear interpolation */
123
+ export declare function interp(x: NDArrayCore, xp: NDArrayCore, fp: NDArrayCore, left?: number, right?: number): NDArray;
124
+ /** Unwrap phase angles */
125
+ export declare function unwrap(p: NDArrayCore, discont?: number, axis?: number, period?: number): NDArray;
126
+ /** Sinc function */
127
+ export declare function sinc(x: NDArrayCore): NDArray;
128
+ /** Modified Bessel function of the first kind, order 0 */
129
+ export declare function i0(x: NDArrayCore): NDArray;
130
+ /** Bitwise AND */
131
+ export declare function bitwise_and(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
132
+ /** Bitwise OR */
133
+ export declare function bitwise_or(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
134
+ /** Bitwise XOR */
135
+ export declare function bitwise_xor(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
136
+ /** Bitwise NOT */
137
+ export declare function bitwise_not(x: NDArrayCore): NDArray;
138
+ /** Bitwise inversion (alias for bitwise_not) */
139
+ export declare function invert(x: NDArrayCore): NDArray;
140
+ /** Left shift */
141
+ export declare function left_shift(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
142
+ /** Right shift */
143
+ export declare function right_shift(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
144
+ /** Pack bits into bytes */
145
+ export declare function packbits(a: NDArrayCore, axis?: number, bitorder?: 'big' | 'little'): NDArray;
146
+ /** Unpack bytes into bits */
147
+ export declare function unpackbits(a: NDArrayCore, axis?: number, count?: number, bitorder?: 'big' | 'little'): NDArray;
148
+ /** Count number of 1 bits */
149
+ export declare function bitwise_count(x: NDArrayCore): NDArray;
150
+ /** Alias for bitwise_not */
151
+ export declare function bitwise_invert(x: NDArrayCore): NDArray;
152
+ /** Alias for left_shift */
153
+ export declare function bitwise_left_shift(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
154
+ /** Alias for right_shift */
155
+ export declare function bitwise_right_shift(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
156
+ /** Extract real part of array */
157
+ export declare function real(x: NDArrayCore): NDArray;
158
+ /** Extract imaginary part of array */
159
+ export declare function imag(x: NDArrayCore): NDArray;
160
+ /** Complex conjugate */
161
+ export declare function conj(x: NDArrayCore): NDArray;
162
+ /** Phase angle */
163
+ export declare function angle(x: NDArrayCore, deg?: boolean): NDArray;
164
+ /**
165
+ * Create array of zeros
166
+ */
167
+ export declare function zeros(shape: number[], dtype?: DType): NDArray;
168
+ /**
169
+ * Create array of ones
170
+ */
171
+ export declare function ones(shape: number[], dtype?: DType): NDArray;
172
+ /**
173
+ * Create an uninitialized array (zeros in JS)
174
+ */
175
+ export declare function empty(shape: number[], dtype?: DType): NDArray;
176
+ /**
177
+ * Create array filled with a constant value
178
+ */
179
+ export declare function full(shape: number[], fill_value: number | bigint | boolean, dtype?: DType): NDArray;
180
+ /**
181
+ * Create array from nested JavaScript arrays
182
+ */
183
+ export declare function array(data: unknown, dtype?: DType): NDArray;
184
+ /**
185
+ * Create array with evenly spaced values within a given interval
186
+ */
187
+ export declare function arange(start: number, stop?: number, step?: number, dtype?: DType): NDArray;
188
+ /**
189
+ * Create array with evenly spaced values over a specified interval
190
+ */
191
+ export declare function linspace(start: number, stop: number, num?: number, dtype?: DType): NDArray;
192
+ /**
193
+ * Create array with logarithmically spaced values
194
+ */
195
+ export declare function logspace(start: number, stop: number, num?: number, base?: number, dtype?: DType): NDArray;
196
+ /**
197
+ * Create array with geometrically spaced values
198
+ */
199
+ export declare function geomspace(start: number, stop: number, num?: number, dtype?: DType): NDArray;
200
+ /**
201
+ * Create identity matrix
202
+ */
203
+ export declare function eye(n: number, m?: number, k?: number, dtype?: DType): NDArray;
204
+ /**
205
+ * Create a square identity matrix
206
+ */
207
+ export declare function identity(n: number, dtype?: DType): NDArray;
208
+ /**
209
+ * Convert input to an ndarray
210
+ */
211
+ export declare function asarray(a: NDArrayCore | unknown, dtype?: DType): NDArray;
212
+ /**
213
+ * Return array of zeros with the same shape and dtype as input
214
+ */
215
+ export declare function zeros_like(a: NDArrayCore, dtype?: DType): NDArray;
216
+ /**
217
+ * Return array of ones with the same shape and dtype as input
218
+ */
219
+ export declare function ones_like(a: NDArrayCore, dtype?: DType): NDArray;
220
+ /**
221
+ * Return empty array with the same shape and dtype as input
222
+ */
223
+ export declare function empty_like(a: NDArrayCore, dtype?: DType): NDArray;
224
+ /**
225
+ * Return array filled with value, same shape and dtype as input
226
+ */
227
+ export declare function full_like(a: NDArrayCore, fill_value: number | bigint | boolean, dtype?: DType): NDArray;
228
+ /**
229
+ * Deep copy of array
230
+ */
231
+ export declare function copy(a: NDArrayCore): NDArray;
232
+ export declare function asanyarray(a: NDArrayCore | unknown, dtype?: DType): NDArray;
233
+ export declare function ascontiguousarray(a: NDArrayCore | unknown, dtype?: DType): NDArray;
234
+ export declare function asfortranarray(a: NDArrayCore | unknown, dtype?: DType): NDArray;
235
+ export declare function asarray_chkfinite(a: NDArrayCore | unknown, dtype?: DType): NDArray;
236
+ export declare function require(a: NDArrayCore, dtype?: DType, _requirements?: string | string[]): NDArray;
237
+ export declare function diag(v: NDArrayCore, k?: number): NDArray;
238
+ export declare function diagflat(v: NDArrayCore, k?: number): NDArray;
239
+ export declare function tri(N: number, M?: number, k?: number, dtype?: DType): NDArray;
240
+ export declare function tril(m: NDArrayCore, k?: number): NDArray;
241
+ export declare function triu(m: NDArrayCore, k?: number): NDArray;
242
+ export declare function vander(x: NDArrayCore, N?: number, increasing?: boolean): NDArray;
243
+ export declare function frombuffer(buffer: ArrayBuffer | TypedArray, dtype?: DType, count?: number, offset?: number): NDArray;
244
+ export declare function fromfunction(func: (...indices: number[]) => number, shape: number[], dtype?: DType): NDArray;
245
+ export declare function fromiter(iter: Iterable<number>, dtype?: DType, count?: number): NDArray;
246
+ export declare function fromstring(string: string, dtype?: DType, count?: number, sep?: string): NDArray;
247
+ export declare function fromfile(_file: string, _dtype?: DType, _count?: number, _sep?: string): NDArray;
248
+ /** Calculate n-th discrete difference */
249
+ export declare function diff(a: NDArrayCore, n?: number, axis?: number): NDArray;
250
+ /** Difference between consecutive elements in 1D array */
251
+ export declare function ediff1d(a: NDArrayCore, to_end?: number[] | null, to_begin?: number[] | null): NDArray;
252
+ /** Dot product of two arrays */
253
+ export declare function dot(a: NDArrayCore, b: NDArrayCore): NDArray | number | bigint | Complex;
254
+ /** Return diagonal or construct diagonal array */
255
+ export declare function diagonal(a: NDArrayCore, offset?: number, axis1?: number, axis2?: number): NDArray;
256
+ /** Kronecker product */
257
+ export declare function kron(a: NDArrayCore, b: NDArrayCore): NDArray;
258
+ /** Transpose array - returns a view */
259
+ export declare function transpose(a: NDArrayCore, axes?: number[]): NDArray;
260
+ /** Inner product of two arrays */
261
+ export declare function inner(a: NDArrayCore, b: NDArrayCore): NDArray | number | bigint | Complex;
262
+ /** Outer product of two arrays */
263
+ export declare function outer(a: NDArrayCore, b: NDArrayCore): NDArray;
264
+ /** Tensor dot product */
265
+ export declare function tensordot(a: NDArrayCore, b: NDArrayCore, axes?: number | [number[], number[]]): NDArray | number | bigint | Complex;
266
+ /** Vector dot product along specified axis */
267
+ export declare function vecdot(x1: NDArrayCore, x2: NDArrayCore, axis?: number): NDArray | number | bigint | Complex;
268
+ /** Matrix transpose (swap last two axes) */
269
+ /** Matrix transpose - returns a view */
270
+ export declare function matrix_transpose(a: NDArrayCore): NDArray;
271
+ /** Permute array dimensions - returns a view */
272
+ export declare function permute_dims(a: NDArrayCore, axes?: number[]): NDArray;
273
+ /** Matrix-vector product */
274
+ export declare function matvec(x1: NDArrayCore, x2: NDArrayCore): NDArray;
275
+ /** Vector-matrix product */
276
+ export declare function vecmat(x1: NDArrayCore, x2: NDArrayCore): NDArray;
277
+ /** Cross product */
278
+ export declare function cross(a: NDArrayCore, b: NDArrayCore, axisa?: number, axisb?: number, axisc?: number, axis?: number): NDArray;
279
+ /** Matrix multiplication */
280
+ export declare function matmul(a: NDArrayCore, b: NDArrayCore): NDArray;
281
+ /** Element-wise logical AND */
282
+ export declare function logical_and(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
283
+ /** Element-wise logical OR */
284
+ export declare function logical_or(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
285
+ /** Element-wise logical NOT */
286
+ export declare function logical_not(x: NDArrayCore): NDArray;
287
+ /** Element-wise logical XOR */
288
+ export declare function logical_xor(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
289
+ /** Test for finite values */
290
+ export declare function isfinite(x: NDArrayCore): NDArray;
291
+ /** Test for infinity */
292
+ export declare function isinf(x: NDArrayCore): NDArray;
293
+ /** Test for NaN */
294
+ export declare function isnan(x: NDArrayCore): NDArray;
295
+ /** Test for NaT (not a time) - returns all False for numeric arrays */
296
+ export declare function isnat(x: NDArrayCore): NDArray;
297
+ /** Test for negative infinity */
298
+ export declare function isneginf(x: NDArrayCore): NDArray;
299
+ /** Test for positive infinity */
300
+ export declare function isposinf(x: NDArrayCore): NDArray;
301
+ /** Element-wise test for complex values */
302
+ export declare function iscomplex(x: NDArrayCore): NDArray;
303
+ /** Element-wise test for real values */
304
+ export declare function isreal(x: NDArrayCore): NDArray;
305
+ /** Return real array if imaginary part is negligible */
306
+ export declare function real_if_close(x: NDArrayCore, tol?: number): NDArray;
307
+ /** Return sign of x1 with magnitude of x2 */
308
+ export declare function copysign(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
309
+ /** Test for negative sign bit */
310
+ export declare function signbit(x: NDArrayCore): NDArray;
311
+ /** Next floating-point value toward x2 */
312
+ export declare function nextafter(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
313
+ /** Spacing between x and nearest adjacent number */
314
+ export declare function spacing(x: NDArrayCore): NDArray;
315
+ /** Element-wise greater than comparison */
316
+ export declare function greater(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
317
+ /** Element-wise greater than or equal comparison */
318
+ export declare function greater_equal(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
319
+ /** Element-wise less than comparison */
320
+ export declare function less(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
321
+ /** Element-wise less than or equal comparison */
322
+ export declare function less_equal(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
323
+ /** Element-wise equality comparison */
324
+ export declare function equal(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
325
+ /** Element-wise inequality comparison */
326
+ export declare function not_equal(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
327
+ /** Element-wise close comparison with tolerance */
328
+ export declare function isclose(a: NDArrayCore, b: NDArrayCore | number, rtol?: number, atol?: number): NDArray;
329
+ /**
330
+ * Find the coefficients of a polynomial with given roots
331
+ */
332
+ export declare function poly(seq_of_zeros: NDArrayCore | number[]): NDArray;
333
+ /**
334
+ * Add two polynomials
335
+ */
336
+ export declare function polyadd(a1: NDArrayCore | number[], a2: NDArrayCore | number[]): NDArray;
337
+ /**
338
+ * Differentiate a polynomial
339
+ */
340
+ export declare function polyder(p: NDArrayCore | number[], m?: number): NDArray;
341
+ /**
342
+ * Divide two polynomials
343
+ */
344
+ export declare function polydiv(u: NDArrayCore | number[], v: NDArrayCore | number[]): [NDArray, NDArray];
345
+ /**
346
+ * Least squares polynomial fit
347
+ */
348
+ export declare function polyfit(x: NDArrayCore, y: NDArrayCore, deg: number): NDArray;
349
+ /**
350
+ * Integrate a polynomial
351
+ */
352
+ export declare function polyint(p: NDArrayCore | number[], m?: number, k?: number | number[]): NDArray;
353
+ /**
354
+ * Multiply two polynomials
355
+ */
356
+ export declare function polymul(a1: NDArrayCore | number[], a2: NDArrayCore | number[]): NDArray;
357
+ /**
358
+ * Subtract two polynomials
359
+ */
360
+ export declare function polysub(a1: NDArrayCore | number[], a2: NDArrayCore | number[]): NDArray;
361
+ /**
362
+ * Evaluate a polynomial at given points
363
+ */
364
+ export declare function polyval(p: NDArrayCore | number[], x: NDArrayCore | number | number[]): NDArray | number;
365
+ /**
366
+ * Find the roots of a polynomial.
367
+ *
368
+ * Uses the companion matrix eigenvalue method (same as NumPy).
369
+ * Always returns a complex128 NDArrayCore.
370
+ */
371
+ export declare function roots(p: NDArrayCore | number[]): NDArray;
372
+ /** Sum of array elements */
373
+ export declare function sum(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | bigint | Complex;
374
+ /** Mean of array elements */
375
+ export declare function mean(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
376
+ /** Product of array elements */
377
+ export declare function prod(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | bigint | Complex;
378
+ /** Maximum of array elements */
379
+ export declare function max(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
380
+ /** Minimum of array elements */
381
+ export declare function min(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
382
+ /** Peak-to-peak (max - min) */
383
+ export declare function ptp(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
384
+ /** Index of minimum value */
385
+ export declare function argmin(a: NDArrayCore, axis?: number): NDArray | number;
386
+ /** Index of maximum value */
387
+ export declare function argmax(a: NDArrayCore, axis?: number): NDArray | number;
388
+ /** Variance of array elements */
389
+ export declare function variance(a: NDArrayCore, axis?: number, ddof?: number, keepdims?: boolean): NDArray | number;
390
+ /** Standard deviation of array elements */
391
+ export declare function std(a: NDArrayCore, axis?: number, ddof?: number, keepdims?: boolean): NDArray | number;
392
+ /** Median of array elements */
393
+ export declare function median(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number;
394
+ /** Percentile of array elements */
395
+ export declare function percentile(a: NDArrayCore, q: number, axis?: number, keepdims?: boolean): NDArray | number;
396
+ /** Quantile of array elements */
397
+ export declare function quantile(a: NDArrayCore, q: number, axis?: number, keepdims?: boolean): NDArray | number;
398
+ /** Weighted average */
399
+ export declare function average(a: NDArrayCore, axis?: number, weights?: NDArrayCore, keepdims?: boolean): NDArray | number | Complex;
400
+ /** Test if all elements are true */
401
+ export declare function all(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | boolean;
402
+ /** Test if any element is true */
403
+ export declare function any(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | boolean;
404
+ /** Cumulative sum */
405
+ export declare function cumsum(a: NDArrayCore, axis?: number): NDArray;
406
+ /** Cumulative product */
407
+ export declare function cumprod(a: NDArrayCore, axis?: number): NDArray;
408
+ /** Sum ignoring NaN */
409
+ export declare function nansum(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
410
+ /** Product ignoring NaN */
411
+ export declare function nanprod(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
412
+ /** Mean ignoring NaN */
413
+ export declare function nanmean(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
414
+ /** Variance ignoring NaN */
415
+ export declare function nanvar(a: NDArrayCore, axis?: number, ddof?: number, keepdims?: boolean): NDArray | number;
416
+ /** Standard deviation ignoring NaN */
417
+ export declare function nanstd(a: NDArrayCore, axis?: number, ddof?: number, keepdims?: boolean): NDArray | number;
418
+ /** Minimum ignoring NaN */
419
+ export declare function nanmin(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
420
+ /** Maximum ignoring NaN */
421
+ export declare function nanmax(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number | Complex;
422
+ /** Index of minimum ignoring NaN */
423
+ export declare function nanargmin(a: NDArrayCore, axis?: number): NDArray | number;
424
+ /** Index of maximum ignoring NaN */
425
+ export declare function nanargmax(a: NDArrayCore, axis?: number): NDArray | number;
426
+ /** Cumulative sum ignoring NaN */
427
+ export declare function nancumsum(a: NDArrayCore, axis?: number): NDArray;
428
+ /** Cumulative product ignoring NaN */
429
+ export declare function nancumprod(a: NDArrayCore, axis?: number): NDArray;
430
+ /** Median ignoring NaN */
431
+ export declare function nanmedian(a: NDArrayCore, axis?: number, keepdims?: boolean): NDArray | number;
432
+ /** Quantile ignoring NaN */
433
+ export declare function nanquantile(a: NDArrayCore, q: number, axis?: number, keepdims?: boolean): NDArray | number;
434
+ /** Percentile ignoring NaN */
435
+ export declare function nanpercentile(a: NDArrayCore, q: number, axis?: number, keepdims?: boolean): NDArray | number;
436
+ /** Round to given decimals */
437
+ export declare function around(a: NDArrayCore, decimals?: number): NDArray;
438
+ /** Round (same as around) */
439
+ export declare function round(a: NDArrayCore, decimals?: number): NDArray;
440
+ /** Ceiling */
441
+ export declare function ceil(x: NDArrayCore): NDArray;
442
+ /** Round toward zero */
443
+ export declare function fix(x: NDArrayCore): NDArray;
444
+ /** Floor */
445
+ export declare function floor(x: NDArrayCore): NDArray;
446
+ /** Round to nearest integer */
447
+ export declare function rint(x: NDArrayCore): NDArray;
448
+ /** Truncate toward zero */
449
+ export declare function trunc(x: NDArrayCore): NDArray;
450
+ /** Test if elements in ar1 are in ar2 (deprecated, use isin) */
451
+ export declare function in1d(ar1: NDArrayCore, ar2: NDArrayCore): NDArray;
452
+ /** Find intersection of two arrays */
453
+ export declare function intersect1d(ar1: NDArrayCore, ar2: NDArrayCore): NDArray;
454
+ /** Test if elements are in test elements */
455
+ export declare function isin(element: NDArrayCore, testElements: NDArrayCore): NDArray;
456
+ /** Find set difference (elements in ar1 not in ar2) */
457
+ export declare function setdiff1d(ar1: NDArrayCore, ar2: NDArrayCore): NDArray;
458
+ /** Find symmetric difference (elements in either but not both) */
459
+ export declare function setxor1d(ar1: NDArrayCore, ar2: NDArrayCore): NDArray;
460
+ /** Find union of two arrays */
461
+ export declare function union1d(ar1: NDArrayCore, ar2: NDArrayCore): NDArray;
462
+ /** Trim leading/trailing zeros */
463
+ export declare function trim_zeros(filt: NDArrayCore, trim?: 'f' | 'b' | 'fb'): NDArray;
464
+ /** Return unique values (Array API) */
465
+ export declare function unique_values(x: NDArrayCore): NDArray;
466
+ /**
467
+ * Append values to the end of an array
468
+ */
469
+ export declare function append(arr: NDArrayCore, values: NDArrayCore | number | number[], axis?: number): NDArray;
470
+ /**
471
+ * Delete elements from an array
472
+ */
473
+ export declare function delete_(arr: NDArrayCore, obj: number | number[], axis?: number): NDArray;
474
+ /**
475
+ * Insert values along an axis
476
+ */
477
+ export declare function insert(arr: NDArrayCore, obj: number | number[], values: NDArrayCore | number | number[], axis?: number): NDArray;
478
+ /**
479
+ * Pad an array
480
+ */
481
+ export declare function pad(arr: NDArrayCore, pad_width: number | [number, number] | [number, number][], mode?: 'constant' | 'edge' | 'linear_ramp' | 'maximum' | 'mean' | 'median' | 'minimum' | 'reflect' | 'symmetric' | 'wrap' | 'empty', constant_values?: number): NDArray;
482
+ /** Reshape array without changing data */
483
+ export declare function reshape(a: NDArrayCore, newShape: number[]): NDArray;
484
+ /** Flatten array to 1D */
485
+ export declare function flatten(a: NDArrayCore): NDArray;
486
+ /** Return contiguous flattened array */
487
+ export declare function ravel(a: NDArrayCore): NDArray;
488
+ /** Remove single-dimensional entries from shape - returns a view */
489
+ export declare function squeeze(a: NDArrayCore, axis?: number): NDArray;
490
+ /** Expand array dimensions - returns a view */
491
+ export declare function expand_dims(a: NDArrayCore, axis: number): NDArray;
492
+ /** Interchange two axes - returns a view */
493
+ export declare function swapaxes(a: NDArrayCore, axis1: number, axis2: number): NDArray;
494
+ /** Move axis to new position - returns a view */
495
+ export declare function moveaxis(a: NDArrayCore, source: number | number[], destination: number | number[]): NDArray;
496
+ /** Roll axis to given position - returns a view */
497
+ export declare function rollaxis(a: NDArrayCore, axis: number, start?: number): NDArray;
498
+ /** Join arrays along an existing axis */
499
+ export declare function concatenate(arrays: NDArrayCore[], axis?: number): NDArray;
500
+ /** Join arrays along a new axis */
501
+ export declare function stack(arrays: NDArrayCore[], axis?: number): NDArray;
502
+ /** Stack arrays vertically (row-wise) */
503
+ export declare function vstack(arrays: NDArrayCore[]): NDArray;
504
+ /** Stack arrays horizontally (column-wise) */
505
+ export declare function hstack(arrays: NDArrayCore[]): NDArray;
506
+ /** Stack arrays along third axis (depth-wise) */
507
+ export declare function dstack(arrays: NDArrayCore[]): NDArray;
508
+ /** Concatenate (alias) */
509
+ export declare function concat(arrays: NDArrayCore[], axis?: number): NDArray;
510
+ /** Stack 1D arrays as columns */
511
+ export declare function column_stack(arrays: NDArrayCore[]): NDArray;
512
+ /** Assemble arrays from nested sequences of blocks */
513
+ export declare function block(arrays: NDArrayCore[]): NDArray;
514
+ /** Unstack array into list of arrays */
515
+ export declare function unstack(a: NDArrayCore, axis?: number): NDArray[];
516
+ /** Tile array by given repetitions */
517
+ export declare function tile(a: NDArrayCore, reps: number | number[]): NDArray;
518
+ /** Repeat elements of array */
519
+ export declare function repeat(a: NDArrayCore, repeats: number | number[], axis?: number): NDArray;
520
+ /** Reverse order of elements along axis */
521
+ export declare function flip(m: NDArrayCore, axis?: number | number[]): NDArray;
522
+ /** Flip array left/right */
523
+ export declare function fliplr(m: NDArrayCore): NDArray;
524
+ /** Flip array up/down */
525
+ export declare function flipud(m: NDArrayCore): NDArray;
526
+ /** Rotate array by 90 degrees */
527
+ export declare function rot90(m: NDArrayCore, k?: number, axes?: [number, number]): NDArray;
528
+ /** Roll array elements along axis */
529
+ export declare function roll(a: NDArrayCore, shift: number | number[], axis?: number | number[]): NDArray;
530
+ /** Resize array to new shape */
531
+ export declare function resize(a: NDArrayCore, new_shape: number[]): NDArray;
532
+ /** Sort array along axis */
533
+ export declare function sort(a: NDArrayCore, axis?: number): NDArray;
534
+ /** Indices that would sort array */
535
+ export declare function argsort(a: NDArrayCore, axis?: number): NDArray;
536
+ /** Indirect stable sort on multiple keys */
537
+ export declare function lexsort(keys: NDArrayCore[]): NDArray;
538
+ /** Partially sort array */
539
+ export declare function partition(a: NDArrayCore, kth: number, axis?: number): NDArray;
540
+ /** Indices that would partially sort array */
541
+ export declare function argpartition(a: NDArrayCore, kth: number, axis?: number): NDArray;
542
+ /** Sort complex array */
543
+ export declare function sort_complex(a: NDArrayCore): NDArray;
544
+ /** Indices of non-zero elements */
545
+ export declare function nonzero(a: NDArrayCore): NDArray[];
546
+ /** Indices where condition is True */
547
+ export declare function argwhere(a: NDArrayCore): NDArray;
548
+ /** Indices of non-zero elements in flattened array */
549
+ export declare function flatnonzero(a: NDArrayCore): NDArray;
550
+ /** Extract elements where condition is True */
551
+ export declare function extract(condition: NDArrayCore, a: NDArrayCore): NDArray;
552
+ /** Count occurrences of values */
553
+ export declare function bincount(x: NDArrayCore, weights?: NDArrayCore, minlength?: number): NDArray;
554
+ /** Digitize values into bins */
555
+ export declare function digitize(x: NDArrayCore, bins: NDArrayCore, right?: boolean): NDArray;
556
+ /** Cross-correlation */
557
+ export declare function correlate(a: NDArrayCore, v: NDArrayCore, mode?: 'valid' | 'same' | 'full'): NDArray;
558
+ /** Convolution */
559
+ export declare function convolve(a: NDArrayCore, v: NDArrayCore, mode?: 'valid' | 'same' | 'full'): NDArray;
560
+ /** Covariance matrix */
561
+ export declare function cov(m: NDArrayCore, y?: NDArrayCore, rowvar?: boolean, bias?: boolean, ddof?: number): NDArray;
562
+ /** Correlation coefficients */
563
+ export declare function corrcoef(x: NDArrayCore, y?: NDArrayCore, rowvar?: boolean): NDArray;
564
+ /** Integrate using trapezoidal rule */
565
+ export declare function trapezoid(y: NDArrayCore, x?: NDArrayCore, dx?: number, axis?: number): NDArray | number;
566
+ /** Sine of array elements */
567
+ export declare function sin(x: NDArrayCore): NDArray;
568
+ /** Cosine of array elements */
569
+ export declare function cos(x: NDArrayCore): NDArray;
570
+ /** Tangent of array elements */
571
+ export declare function tan(x: NDArrayCore): NDArray;
572
+ /** Inverse sine */
573
+ export declare function arcsin(x: NDArrayCore): NDArray;
574
+ /** Inverse cosine */
575
+ export declare function arccos(x: NDArrayCore): NDArray;
576
+ /** Inverse tangent */
577
+ export declare function arctan(x: NDArrayCore): NDArray;
578
+ /** Two-argument inverse tangent */
579
+ export declare function arctan2(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
580
+ /** Hypotenuse (sqrt(x1^2 + x2^2)) */
581
+ export declare function hypot(x1: NDArrayCore, x2: NDArrayCore | number): NDArray;
582
+ /** Convert radians to degrees */
583
+ export declare function degrees(x: NDArrayCore): NDArray;
584
+ /** Convert degrees to radians */
585
+ export declare function radians(x: NDArrayCore): NDArray;
586
+ /** Convert degrees to radians (alias) */
587
+ export declare function deg2rad(x: NDArrayCore): NDArray;
588
+ /** Convert radians to degrees (alias) */
589
+ export declare function rad2deg(x: NDArrayCore): NDArray;
590
+ /** Hyperbolic sine */
591
+ export declare function sinh(x: NDArrayCore): NDArray;
592
+ /** Hyperbolic cosine */
593
+ export declare function cosh(x: NDArrayCore): NDArray;
594
+ /** Hyperbolic tangent */
595
+ export declare function tanh(x: NDArrayCore): NDArray;
596
+ /** Inverse hyperbolic sine */
597
+ export declare function arcsinh(x: NDArrayCore): NDArray;
598
+ /** Inverse hyperbolic cosine */
599
+ export declare function arccosh(x: NDArrayCore): NDArray;
600
+ /** Inverse hyperbolic tangent */
601
+ export declare function arctanh(x: NDArrayCore): NDArray;
602
+ export { broadcast_arrays, broadcast_shapes, put, put_along_axis, place, putmask, copyto, ix_, fill_diagonal, array_equal, array_equiv, may_share_memory, shares_memory, geterr, seterr, pow, abs, true_divide, conjugate, array2string, array_repr, array_str, set_printoptions, get_printoptions, printoptions, format_float_positional, format_float_scientific, base_repr, binary_repr, gradient, trace, einsum, einsum_path, vdot, linalg, iscomplexobj, isrealobj, isfortran, isscalar, iterable, isdtype, promote_types, allclose, amax, amin, var_, cumulative_sum, cumulative_prod, round_, unique, unique_all, unique_counts, unique_inverse, split, array_split, vsplit, hsplit, dsplit, atleast_1d, atleast_2d, atleast_3d, row_stack, where, searchsorted, count_nonzero, histogram, histogram2d, histogramdd, histogram_bin_edges, asin, acos, atan, atan2, asinh, acosh, atanh, can_cast, common_type, result_type, min_scalar_type, issubdtype, typename, mintypecode, ndim, shape, size, item, tolist, tobytes, byteswap, view, tofile, fill, } from '../core';
603
+ //# sourceMappingURL=index.d.ts.map