Skip to content

Commit 90c2c35

Browse files
committed
Add truncated eigenvalue module
1 parent 4bb6a53 commit 90c2c35

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ num-traits = "0.2"
2828
cauchy = "0.2.1"
2929
num-complex = "0.2.1"
3030
rand = "0.5"
31+
ndarray-rand = "0.11"
3132

3233
[dependencies.ndarray]
3334
version = "0.13"
@@ -51,7 +52,6 @@ optional = true
5152
[dev-dependencies]
5253
paste = "0.1"
5354
criterion = "0.3"
54-
ndarray-rand = "0.11"
5555

5656
[[bench]]
5757
name = "eigh"

src/lobpcg/lobpcg.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use ndarray::OwnedRepr;
1111
use num_traits::NumCast;
1212

1313
/// Find largest or smallest eigenvalues
14+
#[derive(Debug, Clone)]
1415
pub enum Order {
1516
Largest,
1617
Smallest,

0 commit comments

Comments
 (0)