-
-
Notifications
You must be signed in to change notification settings - Fork 28
Generalize 3-arg dot
to HermOrSym
#1410
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1410 +/- ##
==========================================
- Coverage 93.89% 93.86% -0.03%
==========================================
Files 34 34
Lines 15830 15838 +8
==========================================
+ Hits 14864 14867 +3
- Misses 966 971 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Your PR breaks the 3-argument dot product of Hermitian/Symmetric matrices of matrices, which currently works: julia> m = Symmetric([randn(ComplexF64, 2, 2) for i in 1:2, j in 1:2]);
julia> x = [randn(ComplexF64, 2) for i in 1:2];
julia> y = [randn(ComplexF64, 2) for i in 1:2];
julia> dot(x,m,y) |
I guess |
That being said, |
The complex-symmetric case is more like a byproduct. This is mostly about making the Hermitian case available to non- |
This was unnecessarily restrictive, and didn't handle, e.g., complex symmetric and quaternionic hermitian matrices.