Opened 9 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.5
Component: linear algebra Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


Before this ticket, e.g. in Sage 9.3.beta4:

sage: identity_matrix(ZZ, 2).is_sparse()
sage: diagonal_matrix(ZZ, 2, [1, 1]).is_sparse()

After this ticket, the sparseness should match.

Inspired by the report by Will Orrick at

Change History (2)

comment:1 Changed 7 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-9.4

Setting new milestone based on a cursory review of ticket status, priority, and last modification date.

comment:2 Changed 2 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5
Note: See TracTickets for help on using tickets.