File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,23 @@ ndarray-linalg = { version = "0.9", default-features = false }
5757
5858However, if you hope simplicity instead of the flexibility, you can link your favorite backend in the way described above.
5959
60+ ### Tests and Examples
61+
62+ To run tests or examples for ` ndarray-linalg ` , you must specify the desired
63+ backend. For example, you can run the tests with the OpenBLAS backend like
64+ this:
65+
66+ ``` sh
67+ cargo test --features=openblas
68+ ```
69+
6070Examples
6171---------
6272See [ examples] ( https://github.com/termoshtt/ndarray-linalg/tree/master/examples ) directory.
6373
74+ Note that to run an example, you must specify the desired backend. For example,
75+ you can run the the ` solve ` example with the OpenBLAS backend like this:
76+
77+ ``` sh
78+ cargo run --example solve --features=openblas
79+ ```
You can’t perform that action at this time.
0 commit comments