Skip to content

enhance coo2csr procedure by allowing to internally sort the coo matrix #1037

@jalvesz

Description

@jalvesz

Motivation

In #1034 (comment) a discussion about sparse transformation for linear systems was opened.

Currently, if one first creates a COO matrix, it is requested to:
call coo2sorted( COO,sort_data) : sort and ensure unique (i,j,v) entries. This procedure reallocates the COO matrix to remove duplicates.
call coo2csr(COO,CSR) : assumes COO is sorted and unique

It could be possible to enhance the second call with a boolean flag to carry out both steps with a single call.

Prior Art

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaProposition of an idea and opening an issue to discuss it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions