Compute a Compressed Sparse Row (CSR) of a fixed matrix.
Do the matrix multiplication without creating an explicit segmented representation.