graph2mat.sparse

Conversion between different sparse representations.

Different sparse representations of a matrix are required during the different steps of a typical workflow using graph2mat.

Functions

block_dict_to_coo(block_dict, first_orb[, ...])

Converts a block dictionary into a coo array.

csr_to_block_dict(spmat, atoms, nsc[, ...])

Creates a BasisMatrix object from a SparseCSR matrix

csr_to_sisl_sparse_orbital(csr, geometry[, ...])

Converts a scipy CSR array to a sisl sparse orbital matrix.

nodes_and_edges_to_coo(node_vals, edge_vals, ...)

Converts an orbital matrix from node and edges array to scipy coo.

nodes_and_edges_to_sparse_orbital(node_vals, ...)

register_all_sisl(source, target, converter, ...)