(self)
| 91 | assert_equal(cheb.chebmulx(ser), tgt) |
| 92 | |
| 93 | def test_chebmul(self): |
| 94 | for i in range(5): |
| 95 | for j in range(5): |
| 96 | msg = f"At i={i}, j={j}" |
| 97 | tgt = np.zeros(i + j + 1) |
| 98 | tgt[i + j] += .5 |
| 99 | tgt[abs(i - j)] += .5 |
| 100 | res = cheb.chebmul([0]*i + [1], [0]*j + [1]) |
| 101 | assert_equal(trim(res), trim(tgt), err_msg=msg) |
| 102 | |
| 103 | def test_chebdiv(self): |
| 104 | for i in range(5): |
nothing calls this directly
no test coverage detected