Function csmatrix_csize

Function Documentation

static inline size_t csmatrix_csize(const struct csmatrix *const matrix, size_t col)

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

Parameters:
  • matrix – The matrix handle.

  • col – The column

Returns:

The # of non-zero entries