brainpy.connect.mat2csr#

brainpy.connect.mat2csr(dense)[source]#

convert a dense matrix to (indices, indptr).