def test_sparse_sparsennz(self, mat_s, mat_s_nnz): c = kron_sparse(mat_s, mat_s_nnz) assert c.format == 'csr'
def test_sparse_sparse_to_sformat(self, mat_s, stype): c = kron_sparse(mat_s, mat_s, stype=stype) assert c.format == stype
def test_dense_sparse_auto(self, mat_s, mat_d): c = kron_sparse(mat_d, mat_s) assert c.format == 'csr'