Semi-unitary test checks for if rows or cols are orthonomal
This commit is contained in:
parent
ae6fda7dc7
commit
498d7e3d4c
@ -161,7 +161,7 @@ mod proptest_tests {
|
||||
|
||||
assert_relative_eq!(m, &p* &u, epsilon = 1.0e-5);
|
||||
// semi-unitary check
|
||||
//assert!(u.is_orthogonal(1.0e-5));
|
||||
assert!(u.is_orthogonal(1.0e-5) || u.transpose().is_orthogonal(1.0e-5));
|
||||
// hermitian check
|
||||
assert_relative_eq!(p, p.adjoint(), epsilon = 1.0e-5);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user