JuliaMath / JuliaMath/Polynomials.jl
depwarns please
- Dominant language
- Julia
- Stars
- 320
- Forks
- 80
- Avg merge
- 8h 46m
- Merged PRs (30d)
- 3
Description
i really like the new API, whereby one creates a polynomial with `Polynomial` instead of `Poly` and then evaluates it as a functor instead of calling `polyeval`. thanks for that!
however, upgrading is more difficult than it needs to be. one has to read the documentation! gheesh. would be more discoverable were there better deprecation warnings. currently, it just says `Poly` is deprecated and `polyeval` is not found. how about saying "use `Polynomial` instead of `Poly`" and "use `Polynomial(...)(...)` instead of `polyeval`" ?
```
julia> using Polynomials.PolyCompat
help?> Poly
search: Poly poly polyval polyint polyfit polyder PolyCompat @polly evalpoly @evalpoly
Poly{T}
Type of polynomial to support legacy code. Use of this type is not encouraged.
This type provides support for poly, polyval, polyder, and polyint to support older code. It
should not be used for a new code base. Call using Polynomials.PolyCompat to enable this
module.
help?> polyeval
search:
Couldn't find polyeval
Perhaps you meant polyval, padeval or polyder
No documentation found.
Binding polyeval does not exist.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.