[SciPy-user] How to build a sparse block arrowhead matrix in scipy

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Jul 20 06:27:37 CDT 2007


Hi all,

what is the best way to build a sparse block arrowhead matrix A in scipy ?

The diagonal blocks are given by the matrices B1,B2,...,B8
The entries in the last block row/column are given by the matrix C.
The example is taken from [1].

A short python script would be appreciated.

Nils
 
[1] A. Sameh, J. Lermit and K. Noh,
On the intermediate eigenvalues of symmetric sparse matrices, BIT Vol.
15 (1975) pp. 185-191


More information about the SciPy-user mailing list