You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In both cases coeff(f, 0) can be replaced with first(coefficients(f)), which will give the leading coefficient, which is presumably what was meant. Alternatively, perhaps leading_coefficient is better once the relevant PR is merged.
wbhart
changed the title
coeff used by (correctly) not implemented for spoly
coeff (correctly) not implemented for spoly used by various functions
Mar 23, 2021
Just to clarify, addition of has_length wouldn't make these definitions correct, even if Singular depended on Hecke. Fortunately with the new printing code, these may not be needed any more anyway.
spoly cannot provide a coeff(f, n) function due to the fact that Singular does not have random access structures for polynomials.
This means the following are implemented incorrectly in Singular (or no longer needed):
canonical_unit(a::spoly{T}) -- src/poly/poly.jl
isnegative(x::spoly) -- src/poly/poly.jl
The text was updated successfully, but these errors were encountered: