Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 7 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Highlights
elements from the end of the axis.
- Views and subviews of arrays; iterators that yield subviews.

Installation
------------
From a shell in your project folder, run `cargo add ndarray` to add the latest version.

Status and Lookout
------------------

Expand Down Expand Up @@ -85,7 +89,7 @@ your `Cargo.toml`.

- ``approx``

- Implementations of traits from version 0.5 of the [`approx`] crate.
- Implementations of traits the [`approx`] crate.

- ``blas``

Expand All @@ -101,14 +105,6 @@ your `Cargo.toml`.

- Whether ``portable-atomic`` should use ``critical-section``

How to use with cargo
---------------------

::

[dependencies]
ndarray = "0.16.0"

How to enable BLAS integration
------------------------------

Expand All @@ -127,15 +123,15 @@ An example configuration using system openblas is shown below. Note that only
end-user projects (not libraries) should select provider::

[dependencies]
ndarray = { version = "0.16.0", features = ["blas"] }
ndarray = { version = "0.x.y", features = ["blas"] }
blas-src = { version = "0.10", features = ["openblas"] }
openblas-src = { version = "0.10", features = ["cblas", "system"] }

Using system-installed dependencies can save a long time building dependencies.
An example configuration using (compiled) netlib is shown below anyway::

[dependencies]
ndarray = { version = "0.16.0", features = ["blas"] }
ndarray = { version = "0.x.y", features = ["blas"] }
blas-src = { version = "0.10.0", default-features = false, features = ["netlib"] }

When this is done, your program must also link to ``blas_src`` by using it or
Expand Down