scipy.sparse.linalg.LaplacianNd.

toarray

LaplacianNd.toarray()[source]

Converts the Laplacian data to a dense array.

Returns:
Lndarray

The shape is (N, N) where N = np.prod(grid_shape).