Opened 4 months ago
Last modified 2 months ago
#31087 new enhancement
Align sparseness of global functions `diagonal_matrix` and `identity_matrix`
Reported by: | slelievre | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-9.4 |
Component: | linear algebra | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Before this ticket, e.g. in Sage 9.3.beta4:
sage: identity_matrix(ZZ, 2).is_sparse() False sage: diagonal_matrix(ZZ, 2, [1, 1]).is_sparse() True
After this ticket, the sparseness should match.
Inspired by the report by Will Orrick at
Note: See
TracTickets for help on using
tickets.
Setting new milestone based on a cursory review of ticket status, priority, and last modification date.