@@ -4,22 +4,81 @@ Version 0.13.0 (in development)
4
4
New features
5
5
------------
6
6
7
+ - ` ndarray-parallel ` is merged into ` ndarray ` . Use the ` rayon ` feature-flag to get access to parallel iterators and
8
+ other parallelized methods.
9
+ ([ #563 ] ( https://github.com/rust-ndarray/ndarray/pull/563/files ) by [ @bluss ] )
7
10
- Add ` logspace ` and ` geomspace ` constructors
8
- ([ #617 ] ( https://github.com/rust-ndarray/ndarray/pull/617 ) by @JP-Ellis )
9
- - Implement approx traits for ` ArrayBase `
10
- ([ #581 ] ( https://github.com/rust-ndarray/ndarray/pull/581 ) by @jturner314 )
11
+ ([ #617 ] ( https://github.com/rust-ndarray/ndarray/pull/617 ) by [ @JP-Ellis ] )
12
+ - Implement approx traits for ` ArrayBase ` . They can be enabled using the ` approx ` feature-flag.
13
+ ([ #581 ] ( https://github.com/rust-ndarray/ndarray/pull/581 ) by [ @jturner314 ] )
14
+ - Add ` mean ` method
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
17
+ ([ #615 ] ( https://github.com/rust-ndarray/ndarray/pull/615 ) by [ @mneumann ] )
18
+ - Add ` CowArray ` , ` C ` lone ` o ` n ` write ` array
19
+ ([ #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
21
+ ([ #616 ] ( https://github.com/rust-ndarray/ndarray/pull/616 ) by [ @jturner314 ] and [ @andrei-papou ] )
22
+ - Add ` Array2::from_diag ` method to create 2D arrays from a diagonal
23
+ ([ #673 ] ( https://github.com/rust-ndarray/ndarray/pull/673 ) by [ @rth ] )
24
+ - Add ` fold ` method to ` Zip `
25
+ ([ #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
+ - Add ` split_at ` method to ` AxisChunksIter/Mut `
29
+ ([ #691 ] ( https://github.com/rust-ndarray/ndarray/pull/691 ) by [ @jturner314 ] )
30
+ - Add ` into_scalar ` method to ` ArrayView0 ` and ` ArrayViewMut0 `
31
+ ([ #700 ] ( https://github.com/rust-ndarray/ndarray/pull/700 ) by [ @LukeMathWalker ] )
11
32
12
33
Enhancements
13
34
------------
35
+ - Improve performance for matrix multiplications when using the pure-Rust backend thanks to ` matrix-multiply:v0.2 `
36
+ (leverage SIMD instructions on x86-64 with runtime feature detection)
37
+ ([ #556 ] ( https://github.com/rust-ndarray/ndarray/pull/556 ) by [ @bluss ] )
38
+ - Improve performance of ` fold ` for iterators
39
+ ([ #574 ] ( https://github.com/rust-ndarray/ndarray/pull/574 ) by [ @jturner314 ] )
40
+ - Improve performance of iterators for 1-d arrays
41
+ ([ #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
45
+ ([ #588 ] ( https://github.com/rust-ndarray/ndarray/pull/588 ) by [ @jturner314 ] )
46
+ - ` .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 ] )
14
49
15
50
API changes
16
51
-----------
17
52
- The ` into_slice ` method on ArrayView is deprecated and renamed to ` to_slice `
18
- ([ #646 ] ( https://github.com/rust-ndarray/ndarray/pull/646 ) by @max-sixty )
53
+ ([ #646 ] ( https://github.com/rust-ndarray/ndarray/pull/646 ) by [ @max-sixty ] )
54
+ - ` RcArray ` is deprecated in favour of ` ArcArray `
55
+ ([ #560 ] ( https://github.com/rust-ndarray/ndarray/pull/560 ) by [ @bluss ] )
56
+ - ` into_slice ` is renamed to ` to_slice ` . ` into_slice ` is now deprecated
57
+ ([ #646 ] ( https://github.com/rust-ndarray/ndarray/pull/646 ) by [ @max-sixty ] )
58
+ - ` from_vec ` is deprecated in favour of using the ` From ` to convert a ` Vec ` into an ` Array `
59
+ ([ #648 ] ( https://github.com/rust-ndarray/ndarray/pull/648 ) by [ @max-sixty ] )
60
+ - ` mean_axis ` returns ` Option<A> ` instead of ` A ` , to avoid panicking when invoked on a 0-length axis
61
+ ([ #580 ] ( https://github.com/rust-ndarray/ndarray/pull/580 ) by [ @LukeMathWalker ] )
62
+ - Remove ` rustc-serialize ` feature-flag. ` serde ` is the recommended feature-flag for serialization
63
+ ([ #557 ] ( https://github.com/rust-ndarray/ndarray/pull/557 ) by [ @bluss ] )
64
+ - ` rows ` /` cols ` are renamed to ` nrows ` /` ncols ` . ` rows ` /` cols ` are now deprecated
65
+ ([ #701 ] ( https://github.com/rust-ndarray/ndarray/pull/701 ) by [ @bluss ] )
19
66
20
67
Bug fixes
21
68
---------
22
-
69
+ - Prevent overflow when computing strides in ` do_slice `
70
+ ([ #575 ] ( https://github.com/rust-ndarray/ndarray/pull/575 ) by [ @jturner314 ] )
71
+ - Fix issue with BLAS matrix-vector multiplication for array with only 1 non-trivial dimension
72
+ ([ #585 ] ( https://github.com/rust-ndarray/ndarray/pull/585 ) by [ @sebasv ] )
73
+ - Fix offset computation to avoid UB/panic when slicing in some edge cases
74
+ ([ #636 ] ( https://github.com/rust-ndarray/ndarray/pull/636 ) by [ @jturner314 ] )
75
+ - Fix issues with axis iterators
76
+ ([ #669 ] ( https://github.com/rust-ndarray/ndarray/pull/669 ) by [ @jturner314 ] )
77
+
78
+ Other changes
79
+ -------------
80
+ - Various improvements to ` ndarray ` 's CI pipeline (` clippy ` , ` cargo fmt ` , etc. by [ @max-sixty ] and [ @termoshtt ] )
81
+
23
82
24
83
Version 0.12.1 (2018-11-21)
25
84
===========================
@@ -796,3 +855,15 @@ Earlier releases
796
855
797
856
- First release on crates.io
798
857
- Starting point for evolution to come
858
+
859
+
860
+ [ @bluss ] : https://github.com/bluss
861
+ [ @jturner314 ] : https://github.com/jturner314
862
+ [ @LukeMathWalker ] : https://github.com/LukeMathWalker
863
+ [ @max-sixty ] : https://github.com/max-sixty
864
+ [ @JP-Ellis ] : https://github.com/JP-Ellis
865
+ [ @sebasv ] : https://github.com/sebasv
866
+ [ @andrei-papou ] : https://github.com/sebasv
867
+ [ @mneumann ] : https://github.com/mneumann
868
+ [ @termoshtt ] : https://github.com/termoshtt
869
+ [ @rth ] : https://github.com/rth
0 commit comments