Skip to content

Sparse Matrix, self additon w/ transpose #307

@aintHuman

Description

@aintHuman

So I have a square sparse matrix:

SparseMatrix m = new CRSMatrix(n,n)

And I need to add to transpose of itself to enforce symmetry:

m = (SparseMatrix)m.add(m.transpose())

However the performance is not so good, taking several seconds to execute.

Which is the best way of achieving this operation using la4j?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions