File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 2.3 (2025-XX-XX)
4
+
5
+ ### Major Changes
6
+
7
+ - Binary elementwise functions now accept python scalars: the only requirement is that
8
+ at least one of the arguments must be an array; the other argument may be either
9
+ a python scalar or an array. Python scalars are handled in accordance with the
10
+ type promotion rules, as specified by the standard.
11
+ This change unifies the behavior of binary functions and their matching operators,
12
+ (where available), such as ` multiply(x1, x2) ` and ` __mul__(self, other) ` .
13
+
14
+ - The following functions, new in the 2024.12 standard revision, are implemented:
15
+
16
+ - ` count_nonzero `
17
+ - ` cumulative_prod `
18
+
19
+
20
+ ### Minor Changes
21
+
22
+ - ` vecdot ` now conjugates the first argument, in accordance with the standard.
23
+
24
+ - ` astype ` now raises a ` TypeError ` instead of casting a complex floating-point
25
+ array to a real-valued or an integral data type.
26
+
27
+ - ` where ` requires that its first argument, ` condition ` has a boolean data dtype,
28
+ and raises a ` TypeError ` otherwise.
29
+
30
+ - ` isdtype ` raises a ` TypeError ` is its argument is not a dtype object.
31
+
32
+ - arrays created with ` from_dlpack ` now correctly set their ` device ` attribute.
33
+
34
+ - ` mean ` accepts complex floating-point arrays.
35
+
36
+
37
+ ### Contributors
38
+
39
+ The following users contributed to this release:
40
+
41
+ Aaron Meurer
42
+ Clément Robert
43
+ Guido Imperiale
44
+ Evgeni Burovski
45
+ Lucas Colley
46
+ Tim Head
47
+
48
+
49
+
3
50
## 2.2 (2024-11-11)
4
51
5
52
### Major Changes
You can’t perform that action at this time.
0 commit comments