Skip to content

Matrix#getValueSum() inefficient on SparseMatrix? #18

@krevelen

Description

@krevelen

Shouldn't the SparseMatrix#getValueSum() and SparseMatrix#getAbsoluteValueSum() override the default behavior provided in AbstractMatrix and use availableCoordinates() rather than allCoordinates()? For my purposes with 10Mx10M sparse matrices, the default behavior (see AbstractMatrix.java:1733 and :1741) is very cumbersome...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions