We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Symmetric with a Matrix{<:Matrix} transposes the argument:
Symmetric
Matrix{<:Matrix}
julia> A = Symmetric(fill([1 2; 3 4],3,3)); julia> A[1,1] 2×2 Symmetric{Int64,Array{Int64,2}}: 1 2 2 4 julia> A[1,2] 2×2 Array{Int64,2}: 1 2 3 4 julia> A[2,1] 2×2 Transpose{Int64,Array{Int64,2}}: 1 3 2 4
For consistency, SymTridiagonal should have similar behaviour, but it doesn't:
SymTridiagonal
julia> A = SymTridiagonal(fill([1 2; 3 4],3), fill([1 2; 3 4],2)); julia> A[1,1] 2×2 Array{Int64,2}: 1 2 3 4 julia> A[1,2] 2×2 Array{Int64,2}: 1 2 3 4 julia> A[2,1] 2×2 Array{Int64,2}: 1 2 3 4
The text was updated successfully, but these errors were encountered:
Hi, I was planning to contribute towards GSoC 2019. I want to contribute to this issue. Please give some guidelines .
Sorry, something went wrong.
Probably we want the following behaviour:
julia> A = SymTridiagonal(fill([1 2; 3 4],3), fill([1 2; 3 4],2)); julia> A[1,1] 2×2 Symmetric{Int64,Array{Int64,2}}: 1 2 2 4 julia> A[1,2] 2×2 Array{Int64,2}: 1 2 3 4 julia> A[2,1] 2×2 Transpose{Int64,Array{Int64,2}}: 1 3 2 4
istril
istriu
diag
I started being very skeptical about interpreting special matrix structure elementwise, see #610.
andreasnoack
Successfully merging a pull request may close this issue.
Symmetric
with aMatrix{<:Matrix}
transposes the argument:For consistency,
SymTridiagonal
should have similar behaviour, but it doesn't:The text was updated successfully, but these errors were encountered: