dune-pdelab  2.5-dev
/build/dune-pdelab-Xf8dbJ/dune-pdelab-2.6~20180302/dune/pdelab/backend/simple/sparse.hh

Simple backend for CSR matricesMatrix stored as a: nnz Number of nonzero elements data CSR format data array of the matrix indices CSR format index array of the matrix rowptr CSR format index pointer array of the matrix

Consider the following 3x3 matrix [1, 0, 2] [0, 0, 3] [4, 5, 6] the data would be stored as nnz=6 data=[1 2 3 4 5 6] indices=[0 2 2 0 1 2] rowptr=[0 2 3 6]

~20180302/dune/pdelab/backend/simple/sparse.hh