Skip to content

module SparseMatrix should be renamed #12323

@lindahua

Description

@lindahua

Currently, Julia base has a submodule named SparseMatrix. This name is problematic in several ways:

  • It violates the convention that a module name should use plural form when the name can be a name of certain type of entities.
  • We are working on introducing SparseVector into Base (see [WIP] SparseVector #11424). It is really inconsistent and confusing to have a module named SparseMatrix while a type within that module named SparseVector.
  • We have StridedMatrix, DenseMatrix, and Matrix, which are all types, while SparseMatrix is a module ...

I propose to rename this sub-module to Sparse or SparseArrays. (Personally, I prefer the former, which is both concise and informative).

Metadata

Metadata

Assignees

No one assigned

    Labels

    sparseSparse arrays

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions