Function csmatrix_n_eff_cols

Function Documentation

static inline size_t csmatrix_n_eff_cols(const struct csmatrix *const matrix)

Get the # of effective columns in the matrix.

This is equivalent to the # of unique indices in the inner indices array.

Parameters:

matrix – The matrix handle.

Returns:

The # of effective columns.