get
scipy.sparse.dok_matrix.
- dok_matrix.get(key, default=0.0)
This provides dict.get method functionality with type checking.
- Parameters:
- key : int or tuple of int
The key to look for in the dok_array.
- default : optional
The value to return if is not found. Default is 0.0.