-
-
Notifications
You must be signed in to change notification settings - Fork 21
Cleanup and generalize functions of Hermitian matrices (#1340 encore) #1358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The test failure on Windows is unrelated, the method ambiguities themselves are fixed, as the tests on Linux and Mac show. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1358 +/- ##
==========================================
+ Coverage 93.12% 93.74% +0.62%
==========================================
Files 34 34
Lines 16705 15724 -981
==========================================
- Hits 15557 14741 -816
+ Misses 1148 983 -165 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
I've been thinking about how to test matrix functions on function eigen(A::Hermitian{<:Quaternion})
U = copy(Matrix(A))
d = checksquare(A)
λ = randn(real(eltype(A)), d)
return Eigen(λ, U)
end Then one could simply test whether the functions don't throw when called on What do you think? Perhaps the entire thing is a waste of time and I should just leave it be. |
Hm, perhaps you could design a spectral decomposition right away? Do we have some generic |
It's easy to produce an orthogonal |
I thought you wanted to test for quaternion matrices, and for that purpose you needed a spectral decomposition. If you start with one, you could multiply out |
What I want to test is e.g. that |
No description provided.