[SciPy-user] Easy way to make a block diagonal matrix?
josef.pktd@gmai...
josef.pktd@gmai...
Thu May 21 11:58:12 CDT 2009
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
More information about the SciPy-user
mailing list