Function csmatrix_n_rows

Function Documentation

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

Get # of rows in the matrix. This is the same for both sparse and dense matrices.

Parameters:

matrix – The matrix handle.

Returns:

The # of rows.