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
References
- 1
Davis, TA and Hu, Y. The University of Florida sparse matrix collection. ACM Transactions on Mathematical Software (TOMS) 38.1 (2011): 1-25.
- 2
Kolodziej, Scott P., et al. The SuiteSparse matrix collection website interface. Journal of Open Source Software 4.35 (2019): 1244.
Examples
>>> ssmat = suitesparse_matrix(name="ash85", group="HB") >>> ssmat <85x85 SuiteSparseMatrix with dtype=float64> >>> ssmat.trace() 85.0
- Return type