Skip to content

Conversation

@edvinolo
Copy link
Owner

Adds an implementation of the SVD-based robust Padé scheme from Gonnet, Güttel, and Trefethen (SIAM Review 55, 1, 101-117, 2013). Also adds variations of the test cases that are in the article.

Add an implementation of the robust Padé approximation algorithm from
Gonnet, Güttel, and Trefethen (SIAM Review 55, 1, 101-117, 2013). Also
add module for evaluation of polynomials and rational functions, using
Horner's method.
Add an example for the Padé module. It computes a [3/2] approximant to
exp(x), which is compared to the actual value.
Add a test suite for poly_eval and rat_eval.
One for expontial and one for polynomial.
Remove U array in pade_init since it is not used. Resize arrays before
function calls to avoid temporary array warnings.
Add a test case where the coefficients have random noise. Also make sure
the polynomial test case is run for both real and complex types.
@edvinolo edvinolo self-assigned this Dec 29, 2025
@edvinolo edvinolo added the enhancement New feature or request label Dec 29, 2025
@edvinolo edvinolo merged commit 4c9a04c into main Dec 29, 2025
10 checks passed
@edvinolo edvinolo deleted the robust-pade branch December 29, 2025 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants