[SciPy-user] Easy way to make a block diagonal matrix?
Joseph Smidt
josephsmidt at gmail.com
Wed May 20 21:54:55 EDT 2009
On Wed, May 20, 2009 at 6:32 PM, Bruce Southey <bsouthey at gmail.com> wrote:
>
> Hi,
> What is the definition that you are using for a block diagonal matrix?
> ...
> But Matlab's blkdiag function does not and, thus, it may not result in
> a diagonal matrix:
> http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk
> /help/techdoc/ref/blkdiag.html
Typically I would define a block diagonal matrix as a square matrix as
the Wikipedia does. However, it might be nice to side with Matlab
since there may be circumstances where one needs a more general block
diagonal matrix than a square one.
Personally, if it is just as efficient algorithmically, I would
side with the more general definition as Matlab does. Thanks again
for all of this.
Joseph Smidt
--
------------------------------------------------------------------------
Joseph Smidt <josephsmidt at gmail.com>
Physics and Astronomy
4129 Frederick Reines Hall
Irvine, CA 92697-4575
Office: 949-824-3269
More information about the SciPy-User
mailing list