Pybind11 doesn't allow passing a map of sparse matrix. Simplest solution is to ask the user to pass in a map of outer, inner, and value vector. sp_btmul can take in Map. The exposed function takes in a wrapper function that constructs from outer, inner, value -> map.
Pybind11 doesn't allow passing a map of sparse matrix. Simplest solution is to ask the user to pass in a map of outer, inner, and value vector. sp_btmul can take in Map. The exposed function takes in a wrapper function that constructs from outer, inner, value -> map.