Skip to content

Sparse matrix API changes #177

Description

@rileyjmurray

I have an API-breaking change idea: rename: CSC's (rowidxs, colptr) to (rowinds, colptrs) and CSR's (rowptr, colidxs) to (rowptrs, colinds). This makes the ptr singulars into ptrs plural, and it makes the idxs into the more pronounceable and slightly easier to read inds.

A closely related alternative could be to use (rowind, colptr) and (rowptr, colind). That'd leave inconsistency with plurals compared to vals, but it'd save one character and I think improve readability.

Thoughts, @PTNobel? I remember when you worked on our sparse triangular solves you were aghast at the plurality disagreement.

To be clear: this would require releasing RandBLAS 2.0. Do I care? Not particularly.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions