Skip to content
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

Miles lucas refactor delta #196

Merged
merged 16 commits into from
Apr 7, 2020

Conversation

jverzani
Copy link
Member

@jverzani jverzani commented Apr 7, 2020

Version 0.7

✓ hold off on deprecations; moved into PolyCompat module
✓ adjust roots; doc note to alternatives
✓ drop sorting of roots output. Following issue #185, use a keyword to pass to eigvals
✓ fix variable definition (return monomial x in the polynomial basis)
✓ iteration; add basis method
✓ add round (to go with truncate, chop)
✓ adjust chop! for degree -1 polynomials
✓ remove order as synonym for length; use order term only for derivative
✓ For fit, make deg positional, not a keyword (like Matlab, as I don't like deg for degree.)
✓ change to iszero from == zero(T) in showterm
✓ Close issue #189 for p(A::Array) for Polynomial and Poly type. Not for ChebyshevT (as x ∉ domain(p) isn't satisfied
✓ adjust type calculation for derivative; adjust derivative(::ChebyshevT...) to use recursion for order > 1
✓ Close issue #194

--> Plots
✓ plot recipe respects domain if finite
✓ tighten range of plot recipe
✓ adjust tests for change of tightening

--> Chebyshev
✓ ChebyshevT: fix derivative if order > degree
✓ ChebyshevT: make copy, as derivative modifies p
✓ ChebyshevT: make basis more explicit when printing

--> Docs
✓ docs to emphasize basis
✓ change doc order -> degree

--> run some benchmarks
✓ add Base.:+(p::Polynomial{T}, c::S) where {T,S<:Number} method
✓ add @inbounds for p*q; use one(x) in places
✓ fit: use vand \ y in place of pinv(vand) * y
✓ divrem: avoid R.(num[0:n]), as it is slower than typed comprehension

@codecov-io
Copy link

codecov-io commented Apr 7, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@4c99692). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #196   +/-   ##
=========================================
  Coverage          ?   89.51%           
=========================================
  Files             ?       10           
  Lines             ?      677           
  Branches          ?        0           
=========================================
  Hits              ?      606           
  Misses            ?       71           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c99692...2831c82. Read the comment docs.

@jverzani jverzani merged commit aa33559 into JuliaMath:master Apr 7, 2020
@jverzani jverzani deleted the miles-lucas-refactor-delta branch April 7, 2020 21:36
@mileslucas
Copy link
Contributor

I’ll be honest it’s nice to see this get merged! It had been so long since I wrote it 😅 thanks for all the help tightening the PR up and getting this ready to push out!!

@jverzani
Copy link
Member Author

jverzani commented Apr 7, 2020 via email

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.

3 participants