Skip to content

Adding zero-valued elements #4

@MaximilianJHuber

Description

@MaximilianJHuber
using SparseArrays
C = spzeros(2,2)
C[1,1] = 0.0

does not add an entry to the sparse matrix. Neither should:

using ExtendableSparse
A = ExtendableSparseMatrix(2, 2)
A[1,1] = 0.0

but it does.

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