JuliaMath / JuliaMath/Polynomials.jl

Padé approximants weirdness

Open
#161 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
320
Forks
80
Avg merge
8h 46m
Merged PRs (30d)
3

Description

I'm not an expert in Padé approximations, but I encountered this (reduced from an actual computation):

```
b = [1.4;1.12;0.0;-1.08;0.0;1.6;-0.41;-2.65;2.45]
@show(Pade(Poly(b),2,4))
b = [1.4;1.1;0.0;-1.0;0.0;1.6;-0.4;-2.6;2.4]
@show(Pade(Poly(b),2,4))
```
yields for the first approximant a 6/1 (polynomial of degree 6) instead of the expected 2/4. I'm assuming this is a bug?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.