Ask Your Question
0

binary_cubic_coefficients_from_invariants not working? [closed]

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 reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Max Alekseyev
close date 2024-05-05 17:42:05.662845

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
1

Bug report #37933 submitted.

Allen Stenger gravatar imageAllen Stenger ( 2024-05-04 23:19:25 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-05-05 15:46:24 +0200

updated 2024-05-05 17:41:36 +0200

Max Alekseyev gravatar image

I've changed this to a bug report, so no answer is needed. https://github.com/sagemath/sage/issu...

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 224 times

Last updated: May 05