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