Closed vtjnash closed 10 years ago
Yes. Just need confirmation from @mathpup that he's willing to license it to here
@mathpup has commented on the gist to give his permission to incorporate his code into the library. You also have my permission to release my contribution under the MIT license as part of this library.
implemented in f66f7bb
Is there a chance that this improvement could be released with the standard distribution? I am using julia 0.3 and the version Polynomial 0.0.0 from the package manager does not seem to handle division.
julia> Poly([1.0,0,0])/Poly([1.0,2,1]) ERROR: no method /(Poly{Float64}, Poly{Float64})
julia> divrem(Poly([1,0,0]),Poly([1,2,1])) ERROR: no method div(Poly{Int64}, Poly{Int64}) in divrem at number.jl:20
Sincerely
I will defer to vtjnash on this because I am not aware of how the packaging is done. Again, feel free to use the work I provided for division. I'm glad it is useful.
On Mon, Feb 24, 2014 at 6:41 AM, my-little-repository < notifications@github.com> wrote:
Is there a chance that this improvement could be released with the standard distribution? I am using julia 0.3 and the version Polynomial 0.0.0 from the package manager does not seem to handle division.
julia> Poly([1.0,0,0])/Poly([1.0,2,1]) ERROR: no method /(Poly{Float64}, Poly{Float64})
julia> divrem(Poly([1,0,0]),Poly([1,2,1])) ERROR: no method div(Poly{Int64}, Poly{Int64}) in divrem at number.jl:20
Sincerely
Reply to this email directly or view it on GitHubhttps://github.com/vtjnash/Polynomial.jl/issues/1#issuecomment-35882223 .
Mostly I just forgot to call Pkg.tag("Polynomial",:minor)
You can also do Pkg.checkout("Polynomial")
to jump to the HEAD of master (although reminders like this are good too)
implement polynomial long division
/(num::Polynomial, den::Polynomial)