We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 83b2655 + 9d512ad commit c8b5990Copy full SHA for c8b5990
test/eigen.jl
@@ -35,6 +35,10 @@
35
@test (vecs*diagm(vals)*vecs')::SMatrix ≈ m
36
37
m_d = randn(SVector{2}); m = diagm(m_d)
38
+ (vals, vecs) = eig(Hermitian(m))
39
+ @test vals::SVector ≈ sort(m_d)
40
+ (vals, vecs) = eig(Hermitian(m, :L))
41
42
@test eigvals(m) ≈ sort(m_d)
43
@test eigvals(Hermitian(m)) ≈ sort(m_d)
44
end
@@ -61,6 +65,10 @@
61
65
@test vals::SVector ≈ vals_a
62
66
63
67
m_d = randn(SVector{3}); m = diagm(m_d)
68
69
70
71
64
72
73
74
0 commit comments