@@ -4,16 +4,33 @@ Version 0.15.0 (Not released yet)
4
4
New features
5
5
------------
6
6
7
- - Support for compiling ndarray as ` no_std ` (using core and alloc) by [ @xd009642 ]
7
+ - Support inserting new axes while slicing by [ @jturner314 ]
8
8
9
- https://github.com/rust-ndarray/ndarray/pull/861
9
+ https://github.com/rust-ndarray/ndarray/pull/570
10
+
11
+ - Support two-sided broadcasting in arithmetic operations with arrays by [ @SparrowLii ]
12
+
13
+ Note that this means that a new trait bound is required in some places when
14
+ mixing dimensionality types of arrays in arithmetic operations.
15
+
16
+ https://github.com/rust-ndarray/ndarray/pull/898
17
+
18
+ - Support for compiling ndarray as ` no_std ` (using core and alloc) by
19
+ [ @xd009642 ] , [ @bluss ]
20
+
21
+ https://github.com/rust-ndarray/ndarray/pull/861 <br >
22
+ https://github.com/rust-ndarray/ndarray/pull/889
10
23
11
24
- New methods ` .cell_view() ` and ` ArrayViewMut::into_cell_view ` that enable
12
25
new ways of working with array elements as if they were in Cells - setting
13
26
elements through shared views and broadcast views.
14
27
15
28
https://github.com/rust-ndarray/ndarray/pull/877
16
29
30
+ - New methods ` slice_each_axis/_mut/_inplace ` that make it easier to slice
31
+ a dynamic number of axes in some situations, by [ @jturner314 ]
32
+
33
+ https://github.com/rust-ndarray/ndarray/pull/913
17
34
18
35
Enhancements
19
36
------------
@@ -22,10 +39,44 @@ Enhancements
22
39
23
40
https://github.com/rust-ndarray/ndarray/pull/862
24
41
42
+ - New constructors ` Array::from_iter ` and ` Array::from_vec ` by [ @bluss ] .
43
+ No new functionality, just that these constructors are avaiable without trait
44
+ imports.
45
+
46
+ https://github.com/rust-ndarray/ndarray/pull/921
47
+
48
+ - Ndarray can now correctly determine that arrays can be contiguous, even if
49
+ they have negative strides, by [ @SparrowLii ]
50
+
51
+ https://github.com/rust-ndarray/ndarray/pull/885
52
+
53
+ - ` NdProducer::raw_dim ` is now a documented method by [ @jturner314 ]
54
+
55
+ https://github.com/rust-ndarray/ndarray/pull/918
56
+
57
+ - ` AxisDescription ` is now a struct with field names, not a tuple struct by
58
+ [ @jturner314 ]
59
+
60
+ https://github.com/rust-ndarray/ndarray/pull/915
61
+
62
+ - Improvements to ` map_inplace ` by [ @jturner314 ]
63
+
64
+ https://github.com/rust-ndarray/ndarray/pull/911
65
+
66
+ - ` .into_dimensionality ` performance was improved for the ` IxDyn ` to ` IxDyn `
67
+ case by [ @bluss ]
68
+
69
+ https://github.com/rust-ndarray/ndarray/pull/906
70
+
71
+ - Improved performance for scalar + &array and &array + scalar operations by
72
+ [ @jturner314 ]
73
+
74
+ https://github.com/rust-ndarray/ndarray/pull/890
75
+
25
76
API changes
26
77
-----------
27
78
28
- - Removed deprecated methods by [ @bluss ] :
79
+ - Removed already deprecated methods by [ @bluss ] :
29
80
30
81
- Remove deprecated ` .all_close() ` - use approx feature and methods like ` .abs_diff_eq ` instead
31
82
- Mark ` .scalar_sum() ` as deprecated - use ` .sum() ` instead
@@ -34,21 +85,98 @@ API changes
34
85
35
86
https://github.com/rust-ndarray/ndarray/pull/874
36
87
37
- - Remove deprecated methods: rows, cols (for row and column count; the new
38
- names are nrows and ncols) by [ @bluss ]
88
+ - Remove already deprecated methods: rows, cols (for row and column count; the
89
+ new names are nrows and ncols) by [ @bluss ]
39
90
40
91
https://github.com/rust-ndarray/ndarray/pull/872
41
92
42
- - Renamed methods (old names are now deprecated) by [ @bluss ]
93
+ - Renamed ` Zip ` methods by [ @bluss ] and [ @SparrowLii ] :
94
+
95
+ - ` apply ` -> ` for_each `
96
+ - ` apply_collect ` -> ` map_collect `
97
+ - ` apply_collect_into ` -> ` map_collect_into `
98
+ - (` par_ ` prefixed methods renamed accordingly)
99
+
100
+ https://github.com/rust-ndarray/ndarray/pull/894 <br >
101
+ https://github.com/rust-ndarray/ndarray/pull/904 <br >
102
+
103
+ - Deprecate ` Array::uninitialized ` and revamped its replacement by [ @bluss ]
104
+
105
+ The replacement is called ` Array::uninit ` (renamed from ` Array::maybe_uninit ` ,
106
+ the old name is also deprecated.
107
+
108
+ Please use ` Array::uninit ` which is based on ` MaybeUninit ` .
109
+
110
+ https://github.com/rust-ndarray/ndarray/pull/902 <br >
111
+ https://github.com/rust-ndarray/ndarray/pull/876
112
+
113
+ - Renamed methods (old names are now deprecated) by [ @bluss ] and [ @jturner314 ]
43
114
44
115
- ` genrows/_mut ` -> ` rows/_mut `
45
116
- ` gencolumns/_mut ` -> ` columns/_mut `
117
+ - ` stack_new_axis ` -> ` stack ` (the new name already existed)
118
+ - ` visit ` -> ` for_each `
46
119
47
- https://github.com/rust-ndarray/ndarray/pull/872
120
+ https://github.com/rust-ndarray/ndarray/pull/872 <br >
121
+ https://github.com/rust-ndarray/ndarray/pull/937 <br >
122
+ https://github.com/rust-ndarray/ndarray/pull/907 <br >
123
+
124
+ - ` blas-src ` dependency updated to 0.7.0 by [ @bluss ]
125
+
126
+ https://github.com/rust-ndarray/ndarray/pull/891
127
+
128
+ - Updated ` matrixmultiply ` dependency to 0.3.0 by [ @bluss ]
129
+ and adding new feature flag ` matrixmultiply-threading ` to enable its threading
130
+
131
+ https://github.com/rust-ndarray/ndarray/pull/888 <br >
132
+ https://github.com/rust-ndarray/ndarray/pull/938 <br >
133
+
134
+
135
+ Bug fixes
136
+ ---------
137
+
138
+ - Fix bug in layout computation that broke parallel collect to f-order
139
+ array in some circumstances by [ @bluss ]
140
+
141
+ https://github.com/rust-ndarray/ndarray/pull/900
142
+
143
+ - Fix an unwanted panic in shape overflow checking by [ @bluss ]
144
+
145
+ https://github.com/rust-ndarray/ndarray/pull/855
48
146
49
147
Other changes
50
148
-------------
51
149
150
+ - Various improvements to tests and CI by [ @jturner314 ]
151
+
152
+ https://github.com/rust-ndarray/ndarray/pull/934 <br >
153
+ https://github.com/rust-ndarray/ndarray/pull/924 <br >
154
+
155
+ - The ` sort-axis.rs ` example file's implementation of sort was bugfixed and now
156
+ has tests, by [ @dam5h ] and [ @bluss ]
157
+
158
+ https://github.com/rust-ndarray/ndarray/pull/916 <br >
159
+ https://github.com/rust-ndarray/ndarray/pull/930
160
+
161
+ - We now link to the #rust-sci room on matrix in the readme by [ @jturner314 ]
162
+
163
+ https://github.com/rust-ndarray/ndarray/pull/619
164
+
165
+ - Internal cleanup with builder-like methods for creating arrays by [ @bluss ]
166
+
167
+ https://github.com/rust-ndarray/ndarray/pull/908
168
+
169
+ - Implementation fix of ` .swap(i, j) ` by [ @bluss ]
170
+
171
+ https://github.com/rust-ndarray/ndarray/pull/903
172
+
173
+ - Minimum supported Rust version (MSRV) is Rust 1.49.
174
+
175
+ https://github.com/rust-ndarray/ndarray/pull/902
176
+
177
+ - Minor improvements to docs by [ @insideoutclub ]
178
+
179
+ https://github.com/rust-ndarray/ndarray/pull/887
52
180
53
181
54
182
Version 0.14.0 (2020-11-28)
@@ -1069,21 +1197,24 @@ Earlier releases
1069
1197
[ @bluss ] : https://github.com/bluss
1070
1198
[ @jturner314 ] : https://github.com/jturner314
1071
1199
[ @LukeMathWalker ] : https://github.com/LukeMathWalker
1072
- [ @max-sixty ] : https://github.com/max-sixty
1200
+ [ @acj ] : https://github.com/acj
1201
+ [ @andrei-papou ] : https://github.com/andrei-papou
1202
+ [ @dam5h ] : https://github.com/dam5h
1203
+ [ @d-dorazio ] : https://github.com/d-dorazio
1204
+ [ @Eijebong ] : https://github.com/Eijebong
1205
+ [ @insideoutclub ] : https://github.com/insideoutclub
1073
1206
[ @JP-Ellis ] : https://github.com/JP-Ellis
1074
- [ @sebasv ] : https://github.com/sebasv
1207
+ [ @lifuyang ] : https://github.com/liufuyang
1208
+ [ @max-sixty ] : https://github.com/max-sixty
1075
1209
[ @mneumann ] : https://github.com/mneumann
1076
- [ @termoshtt ] : https://github.com/termoshtt
1077
- [ @rth ] : https://github.com/rth
1078
- [ @nitsky ] : https://github.com/nitsky
1079
- [ @d-dorazio ] : https://github.com/d-dorazio
1210
+ [ @mockersf ] : https://github.com/mockersf
1080
1211
[ @nilgoyette ] : https://github.com/nilgoyette
1212
+ [ @nitsky ] : https://github.com/nitsky
1213
+ [ @rth ] : https://github.com/rth
1214
+ [ @sebasv ] : https://github.com/sebasv
1215
+ [ @SparrowLii ] : https://github.com/SparrowLii
1216
+ [ @termoshtt ] : https://github.com/termoshtt
1081
1217
[ @TheLortex ] : https://github.com/TheLortex
1082
- [ @mockersf ] : https://github.com/mockersf
1083
1218
[ @viniciusd ] : https://github.com/viniciusd
1084
- [ @lifuyang ] : https://github.com/liufuyang
1085
- [ @acj ] : https://github.com/acj
1086
- [ @Eijebong ] : https://github.com/Eijebong
1087
- [ @andrei-papou ] : https://github.com/andrei-papou
1088
1219
[ @xd009642 ] : https://github.com/xd009642
1089
1220
[ @Zuse64 ] : https://github.com/Zuse64
0 commit comments