You are viewing an older version (1.17.1).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 1.17.1 / scipy / optimize / _remove_redundancy / _get_densest

function

scipy.optimize._remove_redundancy:_get_densest

source: /scipy/optimize/_remove_redundancy.py:35

Signature

def _get_densest(A, eligibleRows)

Summary

Returns the index of the densest row of A. Ignores rows that are not eligible for consideration.

Parameters

A : 2-D array

An array representing a matrix

eligibleRows : 1-D logical array

Values indicate whether the corresponding row of A is eligible to be considered

Returns

i_densest : int

Index of the densest row in A eligible for consideration

Aliases

  • scipy.optimize._remove_redundancy._get_densest