This is a pre-release version (2.5.0.dev0+git20251130.2de293a). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / _core / einsumfunc / _update_other_results

function

numpy._core.einsumfunc:_update_other_results

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