JuliaApproximation / ApproxFunBase.jl

Core functionality of ApproxFun
MIT License
12 stars 13 forks source link

Evaluate Fun{<:PointSpace} using a Point #633

Closed jishnub closed 8 months ago

jishnub commented 8 months ago

Since a Point may be converted to a Number, we may allow evaluating a Fun{<:PointSpace} at a point as well, so that the following works now:

julia> f = Fun(PointSpace(1:3))
Fun(PointSpace([1, 2, 3]), [1, 2, 3])

julia> f(Point(1))
1
codecov[bot] commented 8 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (768625d) 75.07% compared to head (eb4f043) 75.18%. Report is 3 commits behind head on master.

Files Patch % Lines
src/Spaces/DiracSpace.jl 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #633 +/- ## ========================================== + Coverage 75.07% 75.18% +0.10% ========================================== Files 80 79 -1 Lines 8439 8439 ========================================== + Hits 6336 6345 +9 + Misses 2103 2094 -9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.