bundles / scipy 1.17.1 / scipy / optimize / _remove_redundancy / _row_count
function
scipy.optimize._remove_redundancy:_row_count
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