Set up Chebyshev.
(self, A)
| 68 | |
| 69 | |
| 70 | def setup_chebyshev(self, A): |
| 71 | """Set up Chebyshev.""" |
| 72 | lower_bound=1.0/30.0 |
| 73 | upper_bound=1.1 |
| 74 | degree=3 |
| 75 | rho = self.calc_spectral_radius( A) |
| 76 | a = rho * lower_bound |
| 77 | b = rho * upper_bound |
| 78 | self.chebyshev_coeff = -chebyshev_polynomial_coefficients(a, b, degree)[:-1] |
| 79 | |
| 80 | |
| 81 | def setup_jacobi(self, A): |
no test coverage detected