Generate structured problem matrices


I am studying the low rank approximations of matrices, for example by truncated the Singular Value Decomposition of a matrix.

In order to test any algorithm, I need some test matrices that have internal structure, for example coming from modelisation of a physical problem (e.g. diffusion problem). Indeed, I have experienced that these matrices tend to be good candidates (or very bad) for matrix approximation.

Is there a project out there that enables to generate matrices from real life problems ?

Thank you for any information.

In the unit tests for PSSFSS there there is a test beginning here that computes the so-called “generalized impedance matrix” zmat for a rectangular frequency selective surface. This dense, square matrix of order 1160 results from applying the “method of moments” (a boundary integral formulation) and has structure reflecting the translational invariance of the Green’s function used in its construction. You can adjust the order of the matrix by adjusting the parameters Nx and/or Ny.

1 Like