Skip to content

static integer orders in Ultraspherical spaces #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 17, 2023

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Feb 17, 2023

After this, the following become type-inferred:

julia> @inferred Conversion(Ultraspherical(static(1)), Ultraspherical(static(4)));

julia> @inferred (() -> Conversion(Ultraspherical(1), Ultraspherical(static(4))))();

Also, generalizes Ultraspherical transforms, so that the following work now:

julia> Fun(x->x^2, NormalizedUltraspherical(3.5))
Fun(NormalizedUltraspherical(3.5), [0.106243, 0.0, 0.128133])

julia> Fun(x->x^2, NormalizedJacobi(3,3))
Fun(NormalizedJacobi(3,3), [0.106243, 0.0, 0.128133])

julia> Fun(x->x^2, NormalizedUltraspherical(3.5))  Fun(x->x^2)
true

@codecov
Copy link

codecov bot commented Feb 17, 2023

Codecov Report

Base: 60.95% // Head: 67.10% // Increases project coverage by +6.15% 🎉

Coverage data is based on head (d2f3895) compared to base (a94565e).
Patch coverage: 72.41% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #187      +/-   ##
==========================================
+ Coverage   60.95%   67.10%   +6.15%     
==========================================
  Files          28       28              
  Lines        2492     2508      +16     
==========================================
+ Hits         1519     1683     +164     
+ Misses        973      825     -148     
Impacted Files Coverage Δ
src/ApproxFunOrthogonalPolynomials.jl 66.66% <ø> (ø)
...c/Spaces/Ultraspherical/UltrasphericalOperators.jl 74.21% <57.57%> (-2.17%) ⬇️
src/Spaces/Jacobi/Jacobi.jl 65.04% <75.00%> (+1.94%) ⬆️
src/Spaces/PolynomialSpace.jl 89.31% <85.71%> (+0.59%) ⬆️
src/Spaces/Chebyshev/Chebyshev.jl 59.85% <100.00%> (+1.70%) ⬆️
src/Spaces/Chebyshev/ChebyshevOperators.jl 86.33% <100.00%> (+0.09%) ⬆️
src/Spaces/Hermite/Hermite.jl 70.88% <100.00%> (+22.16%) ⬆️
src/Spaces/Jacobi/JacobiOperators.jl 80.14% <100.00%> (+12.34%) ⬆️
src/Spaces/Ultraspherical/ContinuousSpace.jl 54.28% <100.00%> (+3.03%) ⬆️
src/Spaces/Ultraspherical/Ultraspherical.jl 81.48% <100.00%> (+3.89%) ⬆️
... and 17 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jishnub jishnub merged commit 9037192 into JuliaApproximation:master Feb 17, 2023
@jishnub jishnub deleted the staticultra branch February 17, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant