[SciPy-user] Structured matrices

Anne Archibald peridot.faceted at gmail.com
Mon Mar 12 13:52:09 EDT 2007


On 12/03/07, Nils Wagner <nwagner at 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