@@ -13,22 +13,28 @@ New features
13
13
([ #581 ] ( https://github.com/rust-ndarray/ndarray/pull/581 ) by [ @jturner314 ] )
14
14
- Add ` mean ` method
15
15
([ #580 ] ( https://github.com/rust-ndarray/ndarray/pull/580 ) by [ @LukeMathWalker ] )
16
- - Add ` Zip::all ` to check if all elements of an iterator satisfy a predicate
16
+ - Add ` Zip::all ` to check if all elements satisfy a predicate
17
17
([ #615 ] ( https://github.com/rust-ndarray/ndarray/pull/615 ) by [ @mneumann ] )
18
+ - Add ` RawArrayView ` and ` RawArrayViewMut ` types and ` RawData ` , ` RawDataMut ` , and ` RawDataClone ` traits
19
+ ([ #496 ] ( https://github.com/rust-ndarray/ndarray/pull/496 ) by [ @jturner314 ] )
18
20
- Add ` CowArray ` , ` C ` lone ` o ` n ` write ` array
19
21
([ #632 ] ( https://github.com/rust-ndarray/ndarray/pull/632 ) by [ @jturner314 ] and [ @andrei-papou ] )
20
- - Add ` as_contiguous ` to ` ArrayBase ` : it takes an array by reference and returns a ` CoWArray ` in standard layout
22
+ - Add ` as_standard_layout ` to ` ArrayBase ` : it takes an array by reference and returns a ` CoWArray ` in standard layout
21
23
([ #616 ] ( https://github.com/rust-ndarray/ndarray/pull/616 ) by [ @jturner314 ] and [ @andrei-papou ] )
22
24
- Add ` Array2::from_diag ` method to create 2D arrays from a diagonal
23
25
([ #673 ] ( https://github.com/rust-ndarray/ndarray/pull/673 ) by [ @rth ] )
24
26
- Add ` fold ` method to ` Zip `
25
27
([ #684 ] ( https://github.com/rust-ndarray/ndarray/pull/684 ) by [ @jturner314 ] )
26
- - Add ` nth_back ` method to ` ndarray ` 's iterators
27
- ([ #686 ] ( https://github.com/rust-ndarray/ndarray/pull/686 ) by [ @jturner314 ] )
28
28
- Add ` split_at ` method to ` AxisChunksIter/Mut `
29
29
([ #691 ] ( https://github.com/rust-ndarray/ndarray/pull/691 ) by [ @jturner314 ] )
30
+ - Implement parallel iteration for ` AxisChunksIter/Mut `
31
+ ([ #639 ] ( https://github.com/rust-ndarray/ndarray/pull/639 ) by [ @nitsky ] )
30
32
- Add ` into_scalar ` method to ` ArrayView0 ` and ` ArrayViewMut0 `
31
33
([ #700 ] ( https://github.com/rust-ndarray/ndarray/pull/700 ) by [ @LukeMathWalker ] )
34
+ - Add ` accumulate_axis_inplace ` method to ` ArrayBase `
35
+ ([ #611 ] ( https://github.com/rust-ndarray/ndarray/pull/611 ) by [ @jturner314 ] and [ @bluss ] )
36
+ - Add the ` array! ` , ` azip! ` , and ` s! ` macros to ` ndarray::prelude `
37
+ ([ #517 ] ( https://github.com/rust-ndarray/ndarray/pull/517 ) by [ @jturner314 ] )
32
38
33
39
Enhancements
34
40
------------
@@ -37,15 +43,19 @@ Enhancements
37
43
([ #556 ] ( https://github.com/rust-ndarray/ndarray/pull/556 ) by [ @bluss ] )
38
44
- Improve performance of ` fold ` for iterators
39
45
([ #574 ] ( https://github.com/rust-ndarray/ndarray/pull/574 ) by [ @jturner314 ] )
46
+ - Improve performance of ` nth_back ` for iterators
47
+ ([ #686 ] ( https://github.com/rust-ndarray/ndarray/pull/686 ) by [ @jturner314 ] )
40
48
- Improve performance of iterators for 1-d arrays
41
49
([ #614 ] ( https://github.com/rust-ndarray/ndarray/pull/614 ) by [ @andrei-papou ] )
42
- - Better formatting for arrays when using the ` Debug ` formatter
43
- ([ #606 ] ( https://github.com/rust-ndarray/ndarray/pull/606 ) by [ @andrei-papou ] and [ @LukeMathWalker ] )
44
- - Arithmetic operations between arrays with different element types are now allowed when there is a scalar equivalent
50
+ - Improve formatting for large arrays
51
+ ([ #606 ] ( https://github.com/rust-ndarray/ndarray/pull/606 ) by [ @andrei-papou ] and [ @LukeMathWalker ] ,
52
+ [ #633 ] ( https://github.com/rust-ndarray/ndarray/pull/633 ) and [ #707 ] ( https://github.com/rust-ndarray/ndarray/pull/707 ) by [ @jturner314 ] ,
53
+ and [ #713 ] ( https://github.com/rust-ndarray/ndarray/pull/713 ) by [ @bluss ] )
54
+ - Arithmetic operations between arrays with different element types are now allowed when there is a scalar equivalent
45
55
([ #588 ] ( https://github.com/rust-ndarray/ndarray/pull/588 ) by [ @jturner314 ] )
46
56
- ` .map_axis/_mut ` won't panic on 0-length ` axis `
47
- ([ #579 ] ( https://github.com/rust-ndarray/ndarray/pull/612 ) by [ @andrei-papou ] )
48
- - Various documentation improvements (by [ @jturner314 ] , [ @JP-Ellis ] )
57
+ ([ #579 ] ( https://github.com/rust-ndarray/ndarray/pull/612 ) by [ @andrei-papou ] )
58
+ - Various documentation improvements (by [ @jturner314 ] , [ @JP-Ellis ] , [ @ LukeMathWalker ] , [ @ bluss ] )
49
59
50
60
API changes
51
61
-----------
@@ -63,6 +73,20 @@ API changes
63
73
([ #557 ] ( https://github.com/rust-ndarray/ndarray/pull/557 ) by [ @bluss ] )
64
74
- ` rows ` /` cols ` are renamed to ` nrows ` /` ncols ` . ` rows ` /` cols ` are now deprecated
65
75
([ #701 ] ( https://github.com/rust-ndarray/ndarray/pull/701 ) by [ @bluss ] )
76
+ - The usage of the ` azip! ` macro has changed to be more similar to ` for ` loops
77
+ ([ #626 ] ( https://github.com/rust-ndarray/ndarray/pull/626 ) by [ @jturner314 ] )
78
+ - For ` var_axis ` and ` std_axis ` , the constraints on ` ddof ` and the trait bounds on ` A ` have been made more strict
79
+ ([ #515 ] ( https://github.com/rust-ndarray/ndarray/pull/515 ) by [ @jturner314 ] )
80
+ - For ` mean_axis ` , the constraints on ` A ` have changed
81
+ ([ #518 ] ( https://github.com/rust-ndarray/ndarray/pull/518 ) by [ @jturner314 ] )
82
+ - ` DataClone ` is deprecated in favor of using ` Data + RawDataClone `
83
+ ([ #496 ] ( https://github.com/rust-ndarray/ndarray/pull/496 ) by [ @jturner314 ] )
84
+ - The ` Dimension::Pattern ` associated type now has more trait bounds
85
+ ([ #634 ] ( https://github.com/rust-ndarray/ndarray/pull/634 ) by [ @termoshtt ] )
86
+ - ` Axis::index() ` now takes ` self ` instead of ` &self `
87
+ ([ #642 ] ( https://github.com/rust-ndarray/ndarray/pull/642 ) by [ @max-sixty ] )
88
+ - The bounds on the implementation of ` Hash ` for ` Dim ` have changed
89
+ ([ #642 ] ( https://github.com/rust-ndarray/ndarray/pull/642 ) by [ @max-sixty ] )
66
90
67
91
Bug fixes
68
92
---------
@@ -74,11 +98,14 @@ Bug fixes
74
98
([ #636 ] ( https://github.com/rust-ndarray/ndarray/pull/636 ) by [ @jturner314 ] )
75
99
- Fix issues with axis iterators
76
100
([ #669 ] ( https://github.com/rust-ndarray/ndarray/pull/669 ) by [ @jturner314 ] )
101
+ - Fix handling of empty input to ` s! ` macro
102
+ ([ #714 ] ( https://github.com/rust-ndarray/ndarray/pull/714 ) by [ @bluss ] and [ #715 ] ( https://github.com/rust-ndarray/ndarray/pull/715 ) by [ @jturner314 ] )
77
103
78
104
Other changes
79
105
-------------
80
106
- Various improvements to ` ndarray ` 's CI pipeline (` clippy ` , ` cargo fmt ` , etc. by [ @max-sixty ] and [ @termoshtt ] )
81
-
107
+ - Bump minimum required Rust version to 1.37.
108
+
82
109
83
110
Version 0.12.1 (2018-11-21)
84
111
===========================
@@ -867,3 +894,4 @@ Earlier releases
867
894
[ @mneumann ] : https://github.com/mneumann
868
895
[ @termoshtt ] : https://github.com/termoshtt
869
896
[ @rth ] : https://github.com/rth
897
+ [ @nitsky ] : https://github.com/nitsky
0 commit comments