We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8e496e1 + c2fa7f3 commit d5d51e4Copy full SHA for d5d51e4
1 file changed
src/types.rs
@@ -7,6 +7,7 @@ use rand::Rng;
7
use rand::distributions::*;
8
use std::fmt::Debug;
9
use std::iter::Sum;
10
+use std::ops::Neg;
11
12
use super::lapack_traits::LapackScalar;
13
@@ -34,6 +35,7 @@ pub trait Scalar
34
35
+ Exponential
36
+ Conjugate
37
+ RandNormal
38
+ + Neg<Output = Self>
39
+ Debug {
40
fn from_f64(f64) -> Self;
41
}
0 commit comments