Function adj_matrix_isempty

Function Documentation

static inline bool_t adj_matrix_isempty(const struct adj_matrix *matrix)

Determine if the matrix/graph is empty, defined as having 0 defined edges.

Parameters:

matrix – The matrix handle.

Returns:

bool_t.