MCPcopy Create free account
hub / github.com/numpy/numpy / _multi_dot

Function _multi_dot

numpy/linalg/linalg.py:2826–2836  ·  view source on GitHub ↗

Actually do the multiplication with the given order.

(arrays, order, i, j, out=None)

Source from the content-addressed store, hash-verified

2824
2825
2826def _multi_dot(arrays, order, i, j, out=None):
2827 """Actually do the multiplication with the given order."""
2828 if i == j:
2829 # the initial call with non-None out should never get here
2830 assert out is None
2831
2832 return arrays[i]
2833 else:
2834 return dot(_multi_dot(arrays, order, i, order[i, j]),
2835 _multi_dot(arrays, order, order[i, j] + 1, j),
2836 out=out)

Callers 1

multi_dotFunction · 0.85

Calls 1

dotFunction · 0.90

Tested by

no test coverage detected