|
2 | 2 | =========
|
3 | 3 |
|
4 | 4 | The ``ndarray`` crate provides an N-dimensional container for general elements
|
5 |
| -and for numerics. Requires Rust 1.13. |
| 5 | +and for numerics. |
6 | 6 |
|
7 | 7 | Please read the API documentation here: `(0.8)`__, `(0.7)`__, `(0.6)`__,
|
8 | 8 | `(0.5)`__, `(0.4)`__, `(0.3)`__, `(0.2)`__
|
@@ -74,12 +74,80 @@ your `Cargo.toml`.
|
74 | 74 | How to use with cargo::
|
75 | 75 |
|
76 | 76 | [dependencies]
|
77 |
| - ndarray = "0.8" |
| 77 | + ndarray = "0.8.4" |
78 | 78 |
|
79 | 79 | Recent Changes (ndarray)
|
80 | 80 | ------------------------
|
81 | 81 |
|
82 |
| -- 0.8 |
| 82 | +- 0.9.0-alpha.1 |
| 83 | + |
| 84 | + - Add ``Zip::indexed`` |
| 85 | + - New methods ``genrows/_mut, gencolumns/_mut, lanes/_mut`` that |
| 86 | + return iterable producers (producer means ``Zip`` compatibile). |
| 87 | + - ``Zip::apply`` and ``fold_while`` now take ``self`` as the first argument |
| 88 | + - ``indices/_of`` now returns an iterable producers (not iterator) |
| 89 | + - No allocation for short dynamic dimensions |
| 90 | + - Remove ``Ix, Ixs`` from the prelude |
| 91 | + - Remove deprecated ``Axis::axis`` method (use ``.index()``) |
| 92 | + - Rename ``.whole_chunks`` to ``.exact_chunks``. |
| 93 | + - Remove ``.inner_iter`` in favour of the new ``.genrows()`` method. |
| 94 | + - Iterator and similar structs are now scoped under ``ndarray::iter`` |
| 95 | + - Internal changes. ``NdProducer`` generalized. ``Dimension`` gets |
| 96 | + the ``Smaller`` type parameter. Internal traits have the private marker now. |
| 97 | + - ``IntoNdProducer`` now has the ``Item`` associated type |
| 98 | + - Owned array storage types are now encapsulated in newtypes |
| 99 | + - ``FoldWhile`` has the method ``is_done``. |
| 100 | + - Require Rust 1.15 |
| 101 | + |
| 102 | +- 0.8.4 |
| 103 | + |
| 104 | + - Use ``Zip`` in ``.all_close()`` (performance improvement) |
| 105 | + - Use ``#[inline]`` on a function used for higher dimensional checked |
| 106 | + indexing (performance improvement for arrays of ndim >= 3) |
| 107 | + - ``.subview()`` has a more elaborate panic message |
| 108 | + |
| 109 | +- 0.8.3 |
| 110 | + |
| 111 | + - Fix a bug in ``Zip`` / ``NdProducer`` if an array of at least 3 dimensions |
| 112 | + was contig but not c- nor f-contig. |
| 113 | + - ``WholeChunksIter/Mut`` now impl ``Send/Sync`` as appropriate |
| 114 | + - Misc cleanup and using dimension-reducing versions of inner_iter |
| 115 | + internally. Remove a special case in ``zip_mut_with`` that only made it |
| 116 | + slower (1D not-contig arrays). |
| 117 | + |
| 118 | +- 0.8.2 |
| 119 | + |
| 120 | + - Add more documentation and an example for dynamic dimensions: see |
| 121 | + `IxDyn`__. ``IxDyn`` will have a representation change next incompatible |
| 122 | + version. Use it as a type alias for best forward compatibility. |
| 123 | + - Add iterable and producer ``.whole_chunks_mut(size)``. |
| 124 | + - Fix a bug in ``whole_chunks``: it didn't check the dimensionality of the |
| 125 | + requested chunk size properly (an ``IxDyn``-only bug). |
| 126 | + - Improve performance of ``zip_mut_with`` (and thus all binary operators) for |
| 127 | + block slices of row major arrays. |
| 128 | + - ``AxisChunksIter`` creation sped up and it implements ``Clone``. |
| 129 | + - Dimension mismatch in ``Zip`` has a better panic message. |
| 130 | + |
| 131 | + __ https://bluss.github.io/rust-ndarray/master/ndarray/type.IxDyn.html |
| 132 | + |
| 133 | +- 0.8.1 |
| 134 | + |
| 135 | + - Add ``Zip`` and macro ``azip!()`` which implement lock step function |
| 136 | + application across elements from one up to six arrays (or in general |
| 137 | + producers) |
| 138 | + |
| 139 | + + Apart from array views, axis iterators and the whole chunks iterable are |
| 140 | + also producers |
| 141 | + |
| 142 | + - Add constructor ``Array::uninitialized`` |
| 143 | + - Add iterable and producer ``.whole_chunks(size)`` |
| 144 | + - Implement a prettier ``Debug`` for ``Si``. |
| 145 | + - Fix ``Array::default`` so that it panics as documented if the size of the |
| 146 | + array would wrap around integer type limits. |
| 147 | + - Output more verbose panics for errors when slicing arrays (only in debug |
| 148 | + mode). |
| 149 | + |
| 150 | +- 0.8.0 |
83 | 151 |
|
84 | 152 | - Update serde dependency to 0.9
|
85 | 153 | - Remove deprecated type alias ``OwnedArray`` (use ``Array``)
|
|
0 commit comments