{ } Raw JSON

bundles / scipy latest / scipy / optimize / _remove_redundancy / _row_count

function

scipy.optimize._remove_redundancy:_row_count

source: /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 array

An array representing a matrix

Returns

rowcount : 1-D array

Number of nonzeros in each row of A

Aliases

  • scipy.optimize._remove_redundancy._row_count