Opened 13 months ago

Last modified 2 months ago

#30468 new defect

conjugation and Hermitian transpose should preserve matrix subdivisions

Reported by: gh-mwageringel Owned by:
Priority: minor Milestone: sage-9.5
Component: linear algebra Keywords: block_matrix
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

Transposing a matrix preserves its block structure:

sage: A = matrix(RDF, 2, 3); A.subdivide([1], [1]); A
⎛0.0│0.0 0.0⎞
⎜───┼───────⎟
⎝0.0│0.0 0.0⎠
sage: A.T
⎛0.0│0.0⎞
⎜───┼───⎟
⎜0.0│0.0⎟
⎝0.0│0.0⎠

The same should be the case for the conjugation and Hermitian transpose:

sage: A.H
⎛0.0 0.0⎞
⎜0.0 0.0⎟
⎝0.0 0.0⎠
sage: A.C
⎛0.0 0.0 0.0⎞
⎝0.0 0.0 0.0⎠

Change History (2)

comment:1 Changed 8 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.