STFC Website

part of UK Research & Innovation

Version 1.1.0

12th April 2013

YM11: Generate a random sparse matrix

These subroutines generate an \(m\) by \(n\) random sparse matrix with user-specified options such as structural nonsingularity and bandedness. The matrix is held in a packed form in a standard sparse matrix format, and there is an option to write it to a file in Rutherford Boeing format (Report RAL-TR-97-031).