Get the latest tech news

Sparse Matrix Library with Compressed Row Storage


C++ implementation of sparse matrix using CRS (Compressed Row Storage) format - uestla/Sparse-Matrix

SparseMatrix comes as a template class, so we have to specify the element type. Number of columns in the matrix has to be the same as the size of the vector, otherwise InvalidDimensionsException is thrown. Note that output operator must be implemented for the element type as well.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of library

library

Photo of sparse

sparse

Related news:

News photo

Never write your own date parsing library

News photo

Yamlfmt: An extensible command line tool or library to format YAML files

News photo

Iroh: A library to establish direct connection between peers