binary_cubic_coefficients_from_invariants not working?

asked 2024-03-10 23:13:59 +0200

updated 2024-03-11 16:13:11 +0200

Max Alekseyev gravatar image

I'm trying to use the function binary_cubic_coefficients_from_invariants from sage.rings.invariants.reconstruction. I tried the example at the documentation for Reconstruction of Algebraic Forms (top of page), which works as shown, and produces the cubic form (0, 1, -1, 0) as shown. However, using any other discriminant (other that 0) in the function call produces the same form. So for example

sage: binary_cubic_coefficients_from_invariants(4)
(0, 1, -1, 0)

sage: binary_cubic_coefficients_from_invariants(-4)
(0, 1, -1, 0)

sage: binary_cubic_coefficients_from_invariants(108)
(0, 1, -1, 0)

I tried in Sage 10.2 for Mac OS x86 and in SageCell, with the same results in both.

edit retag flag offensive close merge delete

Comments

Please submit a bugreport at https://github.com/sagemath/sage/issues

Max Alekseyev gravatar imageMax Alekseyev ( 2024-03-11 16:13:40 +0200 )edit