Skip to content

Conversation

@carstenbauer
Copy link
Member

@carstenbauer carstenbauer commented May 28, 2021

In this PR I add conversion methods to the SparseArrays stdlib which enable the conversion from AbstractSparseMatrixCSC to the special LinearAlgebra matrix types Diagonal, Tridiagonal, SymTridiagonal, LowerTriangular, UpperTriangular. This has been brought up in JuliaLang/LinearAlgebra.jl#851.

(cc @dkarrasch, @jishnub )

Close JuliaLang/LinearAlgebra.jl#851.

@dkarrasch dkarrasch added the sparse Sparse arrays label May 28, 2021
@simeonschaub
Copy link
Member

Looks like you need to rebase on a more recent master branch.

@carstenbauer
Copy link
Member Author

Indeed, my bad. Should be fine now.

@dkarrasch dkarrasch merged commit 5cb5a87 into JuliaLang:master May 30, 2021
@carstenbauer carstenbauer deleted the cb/conversion branch May 30, 2021 17:59
shirodkara pushed a commit to shirodkara/julia that referenced this pull request Jun 9, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sparse Sparse arrays

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conversion to Diagonal should work in general if matrices have the correct structure

3 participants