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

Robert Kern robert.kern@gmail....
Thu May 21 10:50:17 CDT 2009


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.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the SciPy-user mailing list