Function csmatrix_rsize

Function Documentation

static inline size_t csmatrix_rsize(const struct csmatrix *const matrix, size_t row)

Get the # of non-zero entries in a row.

Parameters:
  • matrix – The matrix handle.

  • row – The row

Returns:

The # of non-zero entries