Code paths for *
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- julia
- Domain
- performance
Research direction
The issue names no files or tests. Start by reproducing the Julia REPL example with Polynomial and ImmutablePolynomial, then trace the multiplication paths involved and determine what behavior or numerical difference should be considered correct.
Written by the indexing model from the issue text.
Description
This polynomial shows that multiplication for different polynomial types can vary significantly:
julia> rts = [1.0, sqrt(2), sqrt(3)];
julia> ls = [2, 3, 4];
julia> x, xx = variable(Polynomial{Float64}), variable(ImmutablePolynomial{Float64});
julia> pp = prod((xx-z)^l for (z,l) in zip(rts, ls));
julia> p = prod((x-z)^l for (z,l) in zip(rts, ls));
julia> maximum(abs, coeffs(pp*pp) .- coeffs(p*p))
2.3283064365386963e-10
- Dominant language
- Julia
- Stars
- 321
- Forks
- 81
- Avg merge
- 10h 1m
- Merged PRs (30d)
- 5
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaMath/Polynomials.jl
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
JuliaMath/Polynomials.jl#647 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
JuliaMath/Polynomials.jl#641 ·
-
tagbot-manual
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
JuliaMath/Polynomials.jl#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
JuliaMath/Polynomials.jl#620 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
JuliaMath/Polynomials.jl#585 · 7 comments ·
All issues in JuliaMath/Polynomials.jl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JuliaDecisionFocusedLearning/ImplicitDifferentiation.jl#231 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bigfloat: invalid parse base crashes JuliaPossibly taken @MilesCranmerBot claimed this today. Openbignums bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
lanl-ansi/PowerModels.jl#1023 ·