JuliaSparse / SuiteSparseGraphBLAS.jl

Sparse, General Linear Algebra for Graphs!
MIT License
102 stars 17 forks source link

GBMatrix constructors for transpose and adjoint matrices #50

Open Gregstrq opened 3 years ago

Gregstrq commented 3 years ago

Since Transpose{T, SparseMatrixCSC{T}} and Adjoint{T, SparseMatrixCSC{T}} are used as place-ins for CSR matrices, it may be a good idea to add GBMatrix constructors for these types, which would directly construct GraphBLAS matrices in byrow format.

rayegun commented 3 years ago

Good idea, will do!

rayegun commented 2 years ago

@Gregstrq what do you think is the proper interpretation here? Should I take a A::Transpose{T, SparseMatrixCSC{T}} and essentially pass the fields of parent(A) directly to pack_csr?