Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[ADD] Implement shape of a structured matrix #81

Merged
merged 3 commits into from
Nov 4, 2024
Merged

Conversation

f-dangel
Copy link
Owner

@f-dangel f-dangel commented Oct 24, 2024

The naive way to infer the shape of a structured matrix is to convert it to a dense one, then call .shape.
This does not work for extremely large matrices, e.g. a 100k by 100k diagonal matrix.
Therefore, this PR implements the .shape property.

@f-dangel f-dangel requested a review from runame October 24, 2024 20:04
Copy link
Collaborator

@runame runame left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@f-dangel f-dangel merged commit 1ac69a3 into main Nov 4, 2024
14 checks passed
@f-dangel f-dangel deleted the shape-property branch November 4, 2024 14:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants