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 }
57
57
58
58
However, if you hope simplicity instead of the flexibility, you can link your favorite backend in the way described above.
59
59
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
+
60
70
Examples
61
71
---------
62
72
See [ examples] ( https://github.com/termoshtt/ndarray-linalg/tree/master/examples ) directory.
63
73
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