Opened 15 years ago
Closed 15 years ago
#1732 closed enhancement (fixed)
[with patch, with positive review] block matrix construction
Reported by: | robertwb | Owned by: | robertwb |
---|---|---|---|
Priority: | major | Milestone: | sage-2.10 |
Component: | linear algebra | Keywords: | |
Cc: | dfdeshom@… | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Is there a way to construct block matrices in SAGE? Not just the "block_sum", "augment" and "stack" functions. As an example, let A, B, C, D be matrices and i want to construct a matrix like E=[[A,B],[C,D]] Such a feature would be very nice. -vgermrk-
Attachments (3)
Change History (8)
Changed 15 years ago by
Attachment: | block_sum.diff added |
---|
comment:1 Changed 15 years ago by
Summary: | block matrix construction → [with patch] block matrix construction |
---|
Changed 15 years ago by
Attachment: | 1732-block-matrix.diff added |
---|
comment:2 Changed 15 years ago by
comment:3 Changed 15 years ago by
Owner: | changed from was to robertwb |
---|---|
Status: | new → assigned |
Changed 15 years ago by
Attachment: | 1732-block-matrix-mem.diff added |
---|
more memory friendly for constant entries
comment:4 Changed 15 years ago by
Cc: | dfdeshom@… added |
---|---|
Summary: | [with patch] block matrix construction → [with patch, with positive review] block matrix construction |
Just wanted to point out that this patch works great for me, both for block diagonal matrices and for creating block matrices from lists.
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I merged all three patches into Sage 2.10.alpha3
Note: See
TracTickets for help on using
tickets.
Much expanded functionality due to discussion at http://www.mail-archive.com/sage-devel@googlegroups.com/msg08958.html
See the docstrings in the patch for many examples.