jdeldre / SchwarzChristoffel.jl

Construct a mapping from the unit circle to a closed polygon.
https://jdeldre.github.io/SchwarzChristoffel.jl/latest/
Other
8 stars 5 forks source link

Added derivatives function #9

Closed jdeldre closed 2 years ago

jdeldre commented 2 years ago

This function will calculate up to the third derivative of a function. For example,

p = SchwarzChristoffel.Polygon([-1.0,0.2,1.0,-1.0],[-1.0,-1.0,0.5,1.0]) m = SchwarzChristoffel.ExteriorMap(p) zeta = [1.0+3.0im,-2.0-2.0im,0.0+1.1im] dz, ddz, dddz = derivatives(zeta,m)

codecov-commenter commented 2 years ago

Codecov Report

Merging #9 (d74e3d1) into master (9e9ee4f) will increase coverage by 0.50%. The diff coverage is 91.11%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   70.98%   71.48%   +0.50%     
==========================================
  Files           8        8              
  Lines         965      996      +31     
==========================================
+ Hits          685      712      +27     
- Misses        280      284       +4     
Impacted Files Coverage Δ
src/Exterior.jl 71.27% <84.00%> (+0.89%) :arrow_up:
src/exterior/polygon.jl 74.81% <100.00%> (+0.31%) :arrow_up:
src/exterior/powerseries.jl 83.50% <100.00%> (+0.70%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more