Function adj_matrix_transpose

Function Documentation

static inline status_t adj_matrix_transpose(struct adj_matrix *const matrix)

Transpose an adjacency matrix. Use for moving from row -> col major and vice versa.

Parameters:

matrix – The matrix handle.

Returns:

status_t.