Skip to content

Commit 0aab138

Browse files
committed
Merge pull request #95 from bluss/next-alpha
Next alpha
2 parents 9bae4eb + 5770d62 commit 0aab138

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "ndarray"
4-
version = "0.4.0-alpha.4"
4+
version = "0.4.0-alpha.5"
55
authors = ["bluss"]
66
license = "MIT/Apache-2.0"
77

README.rst

+21-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,15 @@ Highlights
4343
Status and Lookout
4444
------------------
4545

46-
- Still iterating on the API
46+
- Still iterating on and evolving the API
47+
48+
+ The crate is continuously developing, and breaking changes are expected
49+
during evolution from version to version. We adhere to semver,
50+
but alpha releases break at will.
51+
+ We adopt the newest stable rust features we need. In place methods like ``iadd``
52+
*will be deprecated* when Rust supports ``+=`` and similar in Rust 1.8.
53+
+ We try to introduce more static checking gradually.
54+
4755
- Performance status:
4856

4957
+ Arithmetic involving arrays of contiguous inner dimension optimizes very well.
@@ -79,6 +87,18 @@ How to use with cargo::
7987
Recent Changes
8088
--------------
8189

90+
- 0.4.0-alpha.5
91+
92+
- Use new trait ``LinalgScalar`` for operations where we want type-based specialization.
93+
This shrinks the set of types that allow dot product, matrix multiply, mean.
94+
- Use BLAS acceleration transparently in ``.dot()`` (this is the first step).
95+
- Only OwnedArray and RcArray and not ArrayViewMut can now be used as consumed
96+
left hand operand for arithmetic operators. `See arithmetic operations docs!`__
97+
- Remove deprecated module ``linalg`` (it was already mostly empty)
98+
- Deprecate free function ``zeros`` in favour of static method ``zeros``.
99+
100+
__ https://bluss.github.io/rust-ndarray/master/ndarray/struct.ArrayBase.html#arithmetic-operations
101+
82102
- 0.4.0-alpha.4
83103

84104
- Rename ``Array`` to ``RcArray``. Old name is deprecated.

src/lib.rs

+9-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,18 @@
2424
//! (`OwnedArray`), and both can use read-only and read-write array views.
2525
//! - Iteration and most operations are efficient on arrays with contiguous
2626
//! innermost dimension.
27-
//! - Array views can be used to slice and mutate any `[T]` data.
27+
//! - Array views can be used to slice and mutate any `[T]` data using
28+
//! `aview1` and `aview_mut1`.
2829
//!
2930
//! ## Crate Status
3031
//!
31-
//! - Still iterating on the API
32+
//! - Still iterating on and evolving the API
33+
//! + The crate is continuously developing, and breaking changes are expected
34+
//! during evolution from version to version. We adhere to semver,
35+
//! but alpha releases break at will.
36+
//! + We adopt the newest stable rust features we need. In place methods like `iadd`
37+
//! *will be deprecated* when Rust supports `+=` and similar in Rust 1.8.
38+
//! + We try to introduce more static checking gradually.
3239
//! - Performance status:
3340
//! + Arithmetic involving arrays of contiguous inner dimension optimizes very well.
3441
//! + `.fold()` and `.zip_mut_with()` are the most efficient ways to

0 commit comments

Comments
 (0)