MCPcopy
hub / github.com/numpy/numpy / _assert_stacked_2d

Function _assert_stacked_2d

numpy/linalg/_linalg.py:244–248  ·  view source on GitHub ↗
(*arrays)

Source from the content-addressed store, hash-verified

242 'two-dimensional')
243
244def _assert_stacked_2d(*arrays):
245 for a in arrays:
246 if a.ndim < 2:
247 raise LinAlgError(f'{a.ndim}-dimensional array given. Array must be '
248 'at least two-dimensional')
249
250def _assert_stacked_square(*arrays):
251 for a in arrays:

Callers 2

qrFunction · 0.85
svdFunction · 0.85

Calls 1

LinAlgErrorClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…