@@ -90,17 +90,33 @@ Recent Changes (ndarray)
9090
9191- 0.12.1 (not yet released)
9292
93- - Add ``std_axis `` method for computing standard deviation by @LukeMathWalker.
94- - Add ``product `` method for computing product of elements in an array by @sebasv.
95- - Add ``sum `` method to replace ``scalar_sum ``, and deprecate ``scalar_sum ``.
93+ - Add ``std_axis `` method for computing standard deviation by @LukeMathWalker.
94+ - Add ``product `` method for computing product of elements in an array by @sebasv.
9695 - Add ``first `` and ``first_mut `` methods for getting the first element of an array.
96+ - Add ``into_scalar `` method for converting an ``Array0 `` into its element.
97+ - Add ``insert_axis_inplace `` and ``index_axis_inplace `` methods for inserting and
98+ removing axes in dynamic-dimensional (``IxDyn ``) arrays without taking ownership.
99+ - Add ``stride_of `` method for getting the stride of an axis.
97100 - Add public ``ndim `` and ``zeros `` methods to ``Dimension `` trait.
98- - Relax constraints on ``sum_axis ``, ``mean_axis ``, and ``into_owned ``.
99- - Add number of dimensions (and whether its const or dynamic) to array ``Debug `` format.
100- - Fix soundness hole in ``remove_axis `` when removing zero-length axis.
101+ - Rename ``scalar_sum `` to ``sum ``, ``subview `` to ``index_axis ``,
102+ ``subview_mut `` to ``index_axis_mut ``, ``subview_inplace `` to
103+ ``collapse_axis ``, ``into_subview `` to ``index_axis_move ``, and
104+ ``slice_inplace `` to ``slice_collapse `` (deprecating the old names).
105+ - Deprecate ``remove_axis `` and fix soundness hole when removing a zero-length axis.
101106 - Implement ``Clone `` for ``LanesIter ``.
102- - Improve documentation.
103- - Miscellaneous internal implementation improvements.
107+ - Implement ``Debug ``, ``Copy ``, and ``Clone `` for ``FoldWhile ``.
108+ - Relax constraints on ``sum_axis ``, ``mean_axis ``, and ``into_owned ``.
109+ - Add number of dimensions (and whether it's const or dynamic) to array ``Debug `` format.
110+ - Allow merging axes with ``merge_axes `` when either axis length is ≤ 1.
111+ - Clarify and check more precise safety requirements for constructing arrays.
112+ This fixes undefined behavior in some edge cases. (See `#543 `_.)
113+ - Fix ``is_standard_layout `` in some edge cases. (See `#543 `_.)
114+ - Fix chunk sizes in ``axis_chunks_iter `` and ``axis_chunks_iter_mut `` when
115+ the stride is zero or the array element type is zero-sized by @bluss.
116+ - Improve documentation by @jturner314, @bluss, and @paulkernfeld.
117+ - Miscellaneous internal implementation improvements by @jturner314 and @bluss.
118+
119+ .. _`#543` : https://github.com/rust-ndarray/ndarray/pull/543
104120
105121- 0.12.0
106122
0 commit comments