suitesparse_matrix¶
- probnum.problems.zoo.linalg.suitesparse_matrix(name, group, verbose=False)[source]¶
Sparse matrix from the SuiteSparse Matrix Collection.
Download a sparse matrix benchmark from the SuiteSparse Matrix Collection. [1] [2]
- Parameters:
- Return type:
References
Examples
>>> ssmat = suitesparse_matrix(name="ash85", group="HB") >>> ssmat <SuiteSparseMatrix with shape=(85, 85) and dtype=float64> >>> ssmat.trace() 85.0