@@ -4,16 +4,33 @@ 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 ] , [ @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
1326 elements through shared views and broadcast views.
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------------
@@ -22,10 +39,44 @@ Enhancements
2239
2340 https://github.com/rust-ndarray/ndarray/pull/862
2441
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+
2576API changes
2677-----------
2778
28- - Removed deprecated methods by [ @bluss ] :
79+ - Removed already deprecated methods by [ @bluss ] :
2980
3081 - Remove deprecated ` .all_close() ` - use approx feature and methods like ` .abs_diff_eq ` instead
3182 - Mark ` .scalar_sum() ` as deprecated - use ` .sum() ` instead
@@ -34,21 +85,98 @@ API changes
3485
3586 https://github.com/rust-ndarray/ndarray/pull/874
3687
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 ]
3990
4091 https://github.com/rust-ndarray/ndarray/pull/872
4192
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 ]
43114
44115 - ` genrows/_mut ` -> ` rows/_mut `
45116 - ` gencolumns/_mut ` -> ` columns/_mut `
117+ - ` stack_new_axis ` -> ` stack ` (the new name already existed)
118+ - ` visit ` -> ` for_each `
46119
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
48146
49147Other changes
50148-------------
51149
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
52180
53181
54182Version 0.14.0 (2020-11-28)
@@ -1069,21 +1197,24 @@ Earlier releases
10691197[ @bluss ] : https://github.com/bluss
10701198[ @jturner314 ] : https://github.com/jturner314
10711199[ @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
10731206[ @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
10751209[ @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
10801211[ @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
10811217[ @TheLortex ] : https://github.com/TheLortex
1082- [ @mockersf ] : https://github.com/mockersf
10831218[ @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
10881219[ @xd009642 ] : https://github.com/xd009642
10891220[ @Zuse64 ] : https://github.com/Zuse64
0 commit comments