(self)
| 53 | assert_array_almost_equal(vals, rvals) |
| 54 | |
| 55 | def test_svd_build(self): |
| 56 | # Ticket 627. |
| 57 | a = array([[0., 1.], [1., 1.], [2., 1.], [3., 1.]]) |
| 58 | m, n = a.shape |
| 59 | u, s, vh = linalg.svd(a) |
| 60 | |
| 61 | b = dot(transpose(u[:, n:]), a) |
| 62 | |
| 63 | assert_array_almost_equal(b, np.zeros((2, 2))) |
| 64 | |
| 65 | def test_norm_vector_badarg(self): |
| 66 | # Regression for #786: Frobenius norm for vectors raises |
nothing calls this directly
no test coverage detected