The Mathematica Journal
Departments
Download This Issue
Home
Feature Articles
Graphics Gallery
Tricks of the Trade
In and Out
Columns
The Mathematica Programmer
New Products
New Publications
Classifieds
Calendar
News Bulletins
Editor's Pick
Mailbox
Letters
Write Us
About the Journal
Staff and Contributors
Submissions
Subscriptions
Advertising
Back Issues

BlockDiagonalMatrix

Rolf Mertig (http://www.mertig.com) also provides the following code which generalizes DiagonalMatrix, creating a block diagonal matrix from a list of matrices.

[Graphics:../Images/index_gr_179.gif]
[Graphics:../Images/index_gr_180.gif]
[Graphics:../Images/index_gr_181.gif]

In Version 4 this code could be simplified by the use of PadLeft.


Converted by Mathematica      September 30, 1999 [Prev Page]