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

Function _assert_stacked_2d

numpy/linalg/linalg.py:203–207  ·  view source on GitHub ↗
(*arrays)

Source from the content-addressed store, hash-verified

201 'two-dimensional' % a.ndim)
202
203def _assert_stacked_2d(*arrays):
204 for a in arrays:
205 if a.ndim < 2:
206 raise LinAlgError('%d-dimensional array given. Array must be '
207 'at least two-dimensional' % a.ndim)
208
209def _assert_stacked_square(*arrays):
210 for a in arrays:

Callers 14

solveFunction · 0.85
invFunction · 0.85
matrix_powerFunction · 0.85
choleskyFunction · 0.85
qrFunction · 0.85
eigvalsFunction · 0.85
eigvalshFunction · 0.85
eigFunction · 0.85
eighFunction · 0.85
svdFunction · 0.85
condFunction · 0.85
slogdetFunction · 0.85

Calls 1

LinAlgErrorClass · 0.85

Tested by

no test coverage detected