igraph_matrix_null
igraph_matrix_fill
void igraph_matrix_null(igraph_matrix_t *m);
Arguments:
m
Pointer to an initialized matrix object.
Time complexity: O(n), n is the number of elements in the matrix.
void igraph_matrix_fill(igraph_matrix_t *m, igraph_real_t e);
Set the matrix to a constant matrix.
The input matrix.
e
The element to set.
Time complexity: O(mn), the number of elements.