This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

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 : ndarray

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

Aliases

  • scipy.sparse.linalg.LaplacianNd.toarray