matfree.polynomial
matfree.polynomial
Approximate matrix-function-vector products with polynomial expansions.
This module does not include Lanczos-style approximations, which are in matfree.lanczos.
matfree.polynomial.funm_vector_product_chebyshev(matfun, order, matvec)
Compute a matrix-function-vector product via Chebyshev's algorithm.
This function assumes that the spectrum of the matrix-vector product is contained in the interval (-1, 1), and that the matrix-function is analytic on this interval. If this is not the case, transform the matrix-vector product and the matrix-function accordingly.