bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / sparse / linalg / _special_sparse_arrays / LaplacianNd / toarray
function
scipy.sparse.linalg._special_sparse_arrays:LaplacianNd.toarray
source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/linalg/_special_sparse_arrays.py:373
Signature
def toarray(self)Summary
Converts the Laplacian data to a dense array.
Returns
L: ndarrayThe shape is
(N, N)whereN = np.prod(grid_shape).
Aliases
scipy.sparse.linalg.LaplacianNd.toarray