Skip to content

Extend normalizedspace for PolynomialSpace #242

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 4 commits into from
Apr 26, 2023

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Apr 26, 2023

This provides a uniform way to construct normalized spaces over intervals/segments or piecewise domains:

julia> d = Segment(-1..0)Segment(0..1)
the segment [-1.0,0.0]  the segment [0.0,1.0]

julia> S = PiecewiseSpace(Chebyshev.(components(d)))
Chebyshev(the segment [-1.0,0.0]) ⨄ Chebyshev(the segment [0.0,1.0])

julia> normalized(S)
NormalizedChebyshev(the segment [-1.0,0.0]) ⨄ NormalizedChebyshev(the segment [0.0,1.0])

julia> S = Chebyshev(0..1)
Chebyshev(0..1)

julia> normalized(S)
NormalizedChebyshev(0..1)

@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Patch coverage: 86.25% and project coverage change: -0.62 ⚠️

Comparison is base (69c583a) 69.14% compared to head (638aaf7) 68.52%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #242      +/-   ##
==========================================
- Coverage   69.14%   68.52%   -0.62%     
==========================================
  Files          28       28              
  Lines        2573     2621      +48     
==========================================
+ Hits         1779     1796      +17     
- Misses        794      825      +31     
Impacted Files Coverage Δ
src/ApproxFunOrthogonalPolynomials.jl 81.48% <ø> (ø)
src/Spaces/Jacobi/jacobitransform.jl 100.00% <ø> (ø)
src/Spaces/Ultraspherical/DirichletSpace.jl 48.64% <37.93%> (-1.36%) ⬇️
src/Spaces/Chebyshev/Chebyshev.jl 59.15% <100.00%> (-0.71%) ⬇️
src/Spaces/Chebyshev/ChebyshevOperators.jl 97.14% <100.00%> (+10.28%) ⬆️
src/Spaces/Jacobi/Jacobi.jl 65.71% <100.00%> (-0.64%) ⬇️
src/Spaces/Jacobi/JacobiOperators.jl 79.64% <100.00%> (-4.04%) ⬇️
src/Spaces/PolynomialSpace.jl 92.50% <100.00%> (+0.54%) ⬆️
src/Spaces/Spaces.jl 100.00% <100.00%> (ø)
src/Spaces/Ultraspherical/Ultraspherical.jl 93.10% <100.00%> (+2.03%) ⬆️
... and 1 more

... and 6 files with indirect coverage changes

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

@jishnub jishnub changed the title Add normalized Extend normalizedspace for PolynomialSpace Apr 26, 2023
@jishnub jishnub merged commit 068dc31 into JuliaApproximation:master Apr 26, 2023
@jishnub jishnub deleted the normalized branch April 26, 2023 11:19
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