module documentation

Implementation of Python-level sparse matrix operations.

Function | `_convert` |
Undocumented |

Function | `_graph` |
Construct graph from sparse matrix, unweighted |

Function | `_graph` |
Construct graph from sparse matrix, weighted |

Constant | `_SUPPORTED` |
Undocumented |

def _graph_from_weighted_sparse_matrix(klass, matrix, mode=ADJ_DIRECTED, attr='weight', loops=True):
¶

Construct graph from sparse matrix, weighted

NOTE: Of course, you cannot emcompass a fully general weighted multigraph with a single adjacency matrix, so we don't try to do it here either.