[SciPy-user] Easy way to make a block diagonal matrix?

Ivo Maljevic ivo.maljevic@gmail....
Thu May 21 12:00:45 CDT 2009


As a non member I would "vote" for blkdiag as I normally look for matlab
names when I try to find a SciPy function.

2009/5/21 <josef.pktd@gmail.com>

> On Thu, May 21, 2009 at 11:50 AM, Robert Kern <robert.kern@gmail.com>
> wrote:
> > On Thu, May 21, 2009 at 10:05, Bruce Southey <bsouthey@gmail.com> wrote:
> >> Not really because everyone has different terminologies and
> expectations.
> >> Block_array? Well it would be true if the function was generalized and
> >> array because common terminology used by Numpy is arrays.
> >
> > That doesn't really capture the notion. I would expect block_array()
> > to let me build up any blocked array (e.g. [[A, B], [C, D]]) like
> > bmat() already does, not just blocks along a "notional diagonal". I
> > suggest we bow to Matlab's precedent. It apparently has not caused
> > many problems in their community.
> >
>
> If we consider name changes, I would prefer the name without the underline
> either blockdiag
> or blkdiag    as in matlab, since it is essentially the same function.
>
> Josef
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20090521/c5c2b931/attachment.html 


More information about the SciPy-user mailing list