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 / _coo / isspmatrix_coo

function

scipy.sparse._coo:isspmatrix_coo

source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/_coo.py:1659

Signature

def isspmatrix_coo(x)

Summary

Is x of coo_matrix type?

Extended Summary

Parameters

x

object to check for being a coo matrix

Returns

: bool

True if x is a coo matrix, False otherwise

Examples

from scipy.sparse import coo_array, coo_matrix, csr_matrix, isspmatrix_coo
✓

Aliases

  • scipy.sparse.isspmatrix_coo