[SciPy-Dev] define Laplacian matrices with a public API