New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for weight vectors to gran/groebner_fan #4352
Comments
Attachment: 4352_1.patch.gz based on 3.1.4 but should be fine against 3.2-alpha0 |
comment:2
REVIEW: patch applies and passes test. Code raises major red flag!!
If the output -- which you make into vectors over QQ ever actually has any rational numbers, then eval will do very bad things to them, e.g.,
Oops! Use sage_eval instead:
|
Attachment: 4352_2.patch.gz supercedes previous patch, addresses review |
comment:5
This patch no longer applies cleanly to my 3.2.1.rc1 merge tree:
I gather from the patch description that only trac_4352_2.patch should be applied. So unless I am mistaken please rebase this. If there are unknown dependencies for this ticket please list them. Cheers, Michael |
Attachment: 4352_3.patch.gz rebased against 3.2.1.rc0 |
comment:7
Merged 4352_3.patch in Sage 3.2.1.rc1 |
This should be pretty straightforward.
sage-support request from Ursula Whitcher:
I asked Anders Jensen, "I would like to compute the weight vectors
corresponding to each reduced Groebner basis in gfan's output. Is
there a way to tell gfan to do this?"
He replied:
"There is a command "weightvector" that does exactly this. The command
is hidden (does not show up in the manual or the file system). To run
it type "gfan weightvector" in your shell. MIND THE SPACE BEFORE ''.
According to the --help text the correct thing to do would be to run
"gfan _weightvector -m" with the gfan output as input.
For example
gfan | gfan _weightvector -m
Q[x,y]
{x-y}
will produce a list of two vectors.
I hope this works out for you.
Best regards,
Anders"
Is there a way to access the weightvector command from the Sage
implementation of gfan?
Thanks!
Ursula
Component: interfaces
Keywords: gfan, groebner_fan, weight vectors
Issue created by migration from https://trac.sagemath.org/ticket/4352
The text was updated successfully, but these errors were encountered: