(self, a, b, tags)
| 658 | class SVDCases(LinalgSquareTestCase, LinalgGeneralizedSquareTestCase): |
| 659 | |
| 660 | def do(self, a, b, tags): |
| 661 | u, s, vt = linalg.svd(a, False) |
| 662 | assert_allclose(a, dot_generalized(np.asarray(u) * np.asarray(s)[..., None, :], |
| 663 | np.asarray(vt)), |
| 664 | rtol=get_rtol(u.dtype)) |
| 665 | assert_(consistent_subclass(u, a)) |
| 666 | assert_(consistent_subclass(vt, a)) |
| 667 | |
| 668 | |
| 669 | class TestSVD(SVDCases, SVDBaseTests): |
nothing calls this directly
no test coverage detected