-
Notifications
You must be signed in to change notification settings - Fork 24
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
issymmetric
/ishermitian
for Circulant
#95
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #95 +/- ##
==========================================
+ Coverage 94.98% 95.08% +0.10%
==========================================
Files 7 8 +1
Lines 798 896 +98
==========================================
+ Hits 758 852 +94
- Misses 40 44 +4
☔ View full report in Codecov by Sentry. |
Why is the first entry special? |
The first entry corresponds to the principal diagonal. |
I'm thinking of rewritting |
One way to rewrite julia> ToeplitzMatrices._circulate(1:4)
4-element Vector{Int64}:
1
4
3
2
julia> view(CircularVector(1:4), 1:-1:-2)
4-element view(CircularVector(::UnitRange{Int64}), 1:-1:-2) with eltype Int64:
1
4
3
2
|
using |
Is this a problem? Does this break anything, other than |
In any case, this doesn't fundamentally change the |
The way |
We can certainly start with |
These may be computed in
O(n)
instead of the fallbackO(n^2)