Skip to content

How to get BigFloat accurate conversion operators? #88

@MarcoFasondini

Description

@MarcoFasondini

For OPs on y⁴ = 1 - x⁴ I need conversion operators between ChebyshevT() and certain semiclassical OPs, e.g.,

T = ChebyshevT{BigFloat}()
x = axes(T,1)
P₁ = LanczosPolynomial( (1 .+ x.^2).^(0.5) )
R₁ = P₁\T

This is accurate to only Float64 precision:

xv = big"0.1"
T[xv,3] - ( P₁[xv,1]*R₁[1,3] + P₁[xv,3]*R₁[3,3] )
-6.05859383536196727705447569248701020544252033186250536144991618812281214296214e-17

Another example:

P = Legendre{BigFloat}()
R = P\T

The entry R[3,3] is 4/3 but it's accurate to only Float64 precision:

R[3,3]
1.333333333333333250903485233170513237354072211061085640237818614115573313606597

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions