(*arrays)
| 258 | raise LinAlgError('Last 2 dimensions of the array must be square') |
| 259 | |
| 260 | def _assert_finite(*arrays): |
| 261 | for a in arrays: |
| 262 | if not isfinite(a).all(): |
| 263 | raise LinAlgError("Array must not contain infs or NaNs") |
| 264 | |
| 265 | def _is_empty_2d(arr): |
| 266 | # check size first for efficiency |
no test coverage detected
searching dependent graphs…