Skip to content

GBMatrix constructors for transpose and adjoint matrices #50

Closed

Description

@Gregstrq

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.

Activity

  1. rayegun commented on Aug 18, 2021

    @rayegun
    Member

    Good idea, will do!

  2. rayegun commented on May 17, 2022

    @rayegun
    Member

    @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?

  3. ViralBShah commented on Oct 27, 2026

    @ViralBShah
    Member

    Works on 0.12.0: GBMatrix(transpose(S)) and GBMatrix(S') for a SparseMatrixCSC S both give the right matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions