Skip to content

three-term multiplication involving conversions #480

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 1 commit into from
Jun 13, 2023

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Jun 13, 2023

These often show up in operations in normalized polynomial spaces, so it's worth improving the type-inference here.

julia> @inferred Multiplication(Fun(), NormalizedChebyshev())
MultiplicationWrapper : NormalizedChebyshev()  NormalizedChebyshev()
 0.0       0.707107                                  
 0.707107  0.0       0.5                              
          0.5       0.0  0.5                          
                   0.5  0.0  0.5                      
                       0.5  0.0  0.5                  
                           0.5  0.0  0.5              
                               0.5  0.0  0.5          
                                   0.5  0.0  0.5      
                                       0.5  0.0  0.5  
                                           0.5  0.0  
                                                   

@codecov
Copy link

codecov bot commented Jun 13, 2023

Codecov Report

Patch coverage: 93.51% and project coverage change: -0.79 ⚠️

Comparison is base (2f401fa) 71.22% compared to head (142459e) 70.44%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #480      +/-   ##
==========================================
- Coverage   71.22%   70.44%   -0.79%     
==========================================
  Files          80       81       +1     
  Lines        8331     8466     +135     
==========================================
+ Hits         5934     5964      +30     
- Misses       2397     2502     +105     
Impacted Files Coverage Δ
src/ApproxFunBase.jl 84.00% <ø> (+0.66%) ⬆️
src/LinearAlgebra/blas.jl 77.77% <ø> (ø)
src/Spaces/Spaces.jl 63.52% <ø> (-3.53%) ⬇️
src/Spaces/SumSpace.jl 70.44% <33.33%> (+0.77%) ⬆️
src/Operators/banded/CalculusOperator.jl 75.40% <80.64%> (+0.84%) ⬆️
src/Operators/functionals/CalculusFunctional.jl 79.48% <86.66%> (+7.07%) ⬆️
src/eigen.jl 96.42% <96.42%> (ø)
src/show.jl 95.68% <97.56%> (+12.85%) ⬆️
src/Operators/Operator.jl 70.70% <100.00%> (+3.13%) ⬆️
src/Operators/banded/ConstantOperator.jl 80.00% <100.00%> (+1.68%) ⬆️
... and 3 more

... and 47 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 merged commit 9f5a288 into JuliaApproximation:master Jun 13, 2023
@jishnub jishnub deleted the threeopproduct branch June 13, 2023 13:30
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