Add random matrix generation via SVD

Add random matrix generation via singular value decomposition as proposed by C. C. Paige and M. A. Saunders.

Fixes #2250 (closed).

Reference issue

See #2250 (closed) for details.

What does this implement/fix?

Adds a generator for random matrices with prescribed singular values. This allows for fine-tuning the difficulty of test problems with respect to the l2-norm. Two strategies for generating the singular values and unit tests for verification are included.

Merge request reports

Loading