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
Either there's a mistake in PolynomialTraits_d::Sturm_habicht_sequence or I misunderstand something.
I have a polynomial x^3.y^4 + x^2.y^2 + 3*y - 6. I do PolynomialTraits_d::Sturm_habicht_sequence shs; and then shs(myPolynomial, out, 0). The 0 means that I want the Sturm-Habicht sequence with respect to the first variable, x. Here are the results:
The last one should be my polynomial, but as you can see, the variables x and y have been swapped.
So there are two possibilities:
I misunderstand something;
CGAL permutes the variables in order to apply the algorithm with the outermost variable, but then it forgets to apply the inverse permutation to the results.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Either there's a mistake in
PolynomialTraits_d::Sturm_habicht_sequence
or I misunderstand something.I have a polynomial
x^3.y^4 + x^2.y^2 + 3*y - 6
. I doPolynomialTraits_d::Sturm_habicht_sequence shs;
and thenshs(myPolynomial, out, 0)
. The0
means that I want the Sturm-Habicht sequence with respect to the first variable,x
. Here are the results:The last one should be my polynomial, but as you can see, the variables
x
andy
have been swapped.So there are two possibilities:
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions