Skip to content

Zero-size Matrices #247

Description

@lambe

Is there an easy way to create matrices with zero rows or zero columns or both? This would be really useful in some cases.

At the moment, when I try to create such a matrix with

>>> A = LLSparseMatrix(nrow=0, ncol=5)

I get an error that size_hint must be greater than zero. (This happens even when I do not explicitly set the size_hint argument.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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