[SciPy-user] Structured matrices

Anne Archibald peridot.faceted@gmail....
Mon Mar 12 12:52:09 CDT 2007


On 12/03/07, Nils Wagner <nwagner@iam.uni-stuttgart.de> wrote:
> Hi all,
>
> I was wondering if the matrix family (see below) has a special name ?
> And/or is there a way to construct this matrix via special matrices
> (like Hankel, Toeplitz, etc.) ?

Well, I've never come across them before, but they're easy to make directly:

In [8]: minimum.outer(r_[7:-1:-2],r_[7:-1:-2])
Out[8]:
array([[7, 5, 3, 1],
       [5, 5, 3, 1],
       [3, 3, 3, 1],
       [1, 1, 1, 1]])

Anne


More information about the SciPy-user mailing list