@@ -4,28 +4,75 @@ Version 0.15.0 (Not released yet)
44New features
55------------
66
7- - Support for compiling ndarray as ` no_std ` (using core and alloc) by [ @xd009642 ]
7+ - Support inserting new axes while slicing by [ @jturner314 ]
88
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
1023
1124- New methods ` .cell_view() ` and ` ArrayViewMut::into_cell_view ` that enable
1225 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 ] .
1427
1528 https://github.com/rust-ndarray/ndarray/pull/877
1629
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
1734
1835Enhancements
1936------------
2037
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.
2241
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
2471
2572API changes
2673-----------
2774
28- - Removed deprecated methods by [ @bluss ] :
75+ - Removed already deprecated methods by [ @bluss ] :
2976
3077 - Remove deprecated ` .all_close() ` - use approx feature and methods like ` .abs_diff_eq ` instead
3178 - Mark ` .scalar_sum() ` as deprecated - use ` .sum() ` instead
@@ -34,21 +81,100 @@ API changes
3481
3582 https://github.com/rust-ndarray/ndarray/pull/874
3683
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 ]
3986
4087 https://github.com/rust-ndarray/ndarray/pull/872
4188
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 ]
43108
44109 - ` genrows/_mut ` -> ` rows/_mut `
45110 - ` gencolumns/_mut ` -> ` columns/_mut `
111+ - ` stack_new_axis ` -> ` stack ` (the new name already existed)
112+ - ` visit ` -> ` for_each `
46113
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
48144
49145Other changes
50146-------------
51147
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
52178
53179
54180Version 0.14.0 (2020-11-28)
@@ -1069,21 +1195,24 @@ Earlier releases
10691195[ @bluss ] : https://github.com/bluss
10701196[ @jturner314 ] : https://github.com/jturner314
10711197[ @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
10731204[ @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
10751207[ @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
10801209[ @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
10811215[ @TheLortex ] : https://github.com/TheLortex
1082- [ @mockersf ] : https://github.com/mockersf
10831216[ @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
10881217[ @xd009642 ] : https://github.com/xd009642
10891218[ @Zuse64 ] : https://github.com/Zuse64
0 commit comments