This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / optimize / _remove_redundancy / _get_densest

function

scipy.optimize._remove_redundancy:_get_densest

source: build-install/usr/lib/python3.14/site-packages/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