scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturnsBackRef
min(self, axis=None, out=None)

Parameters

axis : {-2, -1, 0, 1, None} optional

Axis along which the sum is computed. The default is to compute the minimum over all the matrix elements, returning a scalar (i.e., :None:None:`axis` = :None:None:`None`).

out : None, optional

This argument is in the signature solely for NumPy compatibility reasons. Do not pass in anything except for the default value, as this argument is not used.

Returns

amin : coo_matrix or scalar

Minimum of a. If :None:None:`axis` is None, the result is a scalar value. If :None:None:`axis` is given, the result is a sparse.coo_matrix of dimension a.ndim - 1 .

Return the minimum of the matrix or maximum along an axis. This takes all elements into account, not just the non-zero ones.

See Also

max

The maximum value of a sparse matrix along a given axis.

numpy.matrix.min

NumPy's implementation of 'min' for matrices

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.sparse._data._minmax_mixin.max

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/sparse/_data.py#326
type: <class 'function'>
Commit: