Effektiva Lagringsmetoder för Glesa Matriser
Dani Potrus
Abstract
Dani Potrus
Abstract
Sparse matrices are often used in numerical algorithms that solve linear equation systems. Many methods for storing sparse matrices have been proposed and implemented during the years. These methods focus primarily on minimizing the total memory consumption and the time that it takes to store a sparse matrix. This report researches the available storage methods for sparse unstructured matrices. The formats that are researched and implemented are COO, CRS and ELL. The comparisons between the formats are made based on the storage memory and time for the sparse matrices with different filling ratios. A numerical algorithm has also been implemented to study the time it takes to solve a sparse matrix with one of the available storage formats, ELL. The results show that the CRS format outperform the other formats in the storage of a sparse matrix. It is concluded that there are storage methods for sparse matrices that avoid taking up unnecessary memory space, simultaneously preserving the matrix structure and doing so within a reasonable time.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Sparse matrices are often used in numerical algorithms that solve linear equation systems. Many methods for storing sparse matrices have been proposed and implemented during the years. These methods focus primarily on minimizing the total memory consumption and the time that it takes to store a sparse matrix. This report researches the available storage methods for sparse unstructured matrices. The formats that are researched and implemented are COO, CRS and ELL. The comparisons between the formats are made based on the storage memory and time for the sparse matrices with different filling ratios. A numerical algorithm has also been implemented to study the time it takes to solve a sparse matrix with one of the available storage formats, ELL. The results show that the CRS format outperform the other formats in the storage of a sparse matrix. It is concluded that there are storage methods for sparse matrices that avoid taking up unnecessary memory space, simultaneously preserving the matrix structure and doing so within a reasonable time.
Key concepts: Sparse matrix, Matrix-free methods, Computer science, Matrix (chemical analysis), Focus (optics), Sparse approximation, Algorithm, Theoretical computer science