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 / csgraph / _validation / validate_graph

function

scipy.sparse.csgraph._validation:validate_graph

source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/csgraph/_validation.py:12

Signature

def validate_graph(csgraph, directed, dtype = <class 'numpy.float64'>, csr_output = True, dense_output = True, copy_if_dense = False, copy_if_sparse = False, null_value_in = 0, null_value_out = inf, infinity_null = True, nan_null = True)

Summary

Routine for validation and conversion of csgraph inputs

Aliases

  • scipy.sparse.csgraph._min_spanning_tree.validate_graph