Review Questions for Sparse Matrices
- What does it mean for a matrix to be sparse?
- What factors might you consider when deciding how to store a sparse matrix? (Why would you store a matrix in one format over another?)
- Given a sparse matrix, put the matrix in CSR format.
- Given a sparse matrix, put the matrix in COO format.
- For a given matrix, how many bytes total are required to store it in CSR format?
- For a given matrix, how many bytes total are required to store it in COO format?