(*arrays)
| 207 | 'at least two-dimensional' % a.ndim) |
| 208 | |
| 209 | def _assert_stacked_square(*arrays): |
| 210 | for a in arrays: |
| 211 | m, n = a.shape[-2:] |
| 212 | if m != n: |
| 213 | raise LinAlgError('Last 2 dimensions of the array must be square') |
| 214 | |
| 215 | def _assert_finite(*arrays): |
| 216 | for a in arrays: |
no test coverage detected