MCPcopy Index your code
hub / github.com/numpy/numpy / _multi_dot

Function _multi_dot

numpy/linalg/_linalg.py:3046–3056  ·  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

3044
3045
3046def _multi_dot(arrays, order, i, j, out=None):
3047 """Actually do the multiplication with the given order."""
3048 if i == j:
3049 # the initial call with non-None out should never get here
3050 assert out is None
3051
3052 return arrays[i]
3053 else:
3054 return dot(_multi_dot(arrays, order, i, order[i, j]),
3055 _multi_dot(arrays, order, order[i, j] + 1, j),
3056 out=out)
3057
3058
3059# diagonal

Callers 1

multi_dotFunction · 0.85

Calls 1

dotFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…