bucky.model.adjmat
#
Utility class to manage the adjacency matrix regardless of if its dense or sparse.
Module Contents#
Classes#
Class that handles the adjacency matrix for the model, generalizes between dense/sparse. |
- class bucky.model.adjmat.buckyAij(n_nodes, weight_attr='weight', force_diag=False, sparse_format='csr')[source]#
Class that handles the adjacency matrix for the model, generalizes between dense/sparse.
- property A(self)#
Property refering to the dense/sparse matrix.
- property diag(self)#
Property refering to the cache diagional of the matrix.
- property sparsity(self)#
Return the sparsity of the matrix.