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

bundles / numpy 2.4.3 / numpy / _core / einsumfunc / _update_other_results

function

numpy._core.einsumfunc:_update_other_results

source: /numpy/_core/einsumfunc.py :288

Signature

def   _update_other_results ( results best )

Summary

Update the positions and provisional input_sets of results based on performing the contraction result best. Remove any involving the tensors contracted.

Parameters

results : list

List of contraction results produced by _parse_possible_contraction.

best : list

The best contraction of results i.e. the one that will be performed.

Returns

mod_results : list

The list of modified results, updated with outcome of best contraction.

Aliases

  • numpy._core.einsumfunc._update_other_results