bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / optimize / _remove_redundancy / _row_count
function
scipy.optimize._remove_redundancy:_row_count
source: build-install/usr/lib/python3.14/site-packages/scipy/optimize/_remove_redundancy.py:14
Signature
def _row_count(A)Summary
Counts the number of nonzeros in each row of input array A. Nonzeros are defined as any element with absolute value greater than tol = 1e-13. This value should probably be an input to the function.
Parameters
A: 2-D arrayAn array representing a matrix
Returns
rowcount: 1-D arrayNumber of nonzeros in each row of A
Aliases
scipy.optimize._remove_redundancy._row_count