#11217: Bad displays for M2 in worksheets
--------------------------------------------+------------------------------
Reporter: tdupu | Owner: jason, mpatel,
Type: defect | was
Priority: minor | Status: new
Component: notebook | Milestone:
Keywords: Macaulay2, Sage Notebook | Resolution:
Authors: | Merged in:
Report Upstream: N/A | Reviewers:
Branch: | Work issues:
Dependencies: | Commit:
| Stopgaps:
--------------------------------------------+------------------------------
Description changed by chapoton:
Old description:
> This input in the sage notebook
> {{{
> R2 = macaulay2.ring('QQ','[x,y]'); R2
> }}}
> gives this output
> {{{
>
> QQ[x..y, Degrees => {2:1}, Heft => {1}, MonomialOrder =>
> {MonomialSize => 16}, DegreeRank => 1]
> {Lex => 2
> }
> {Position =>
> Up }
>
> }}}
>
> This input in the sage notebook
> {{{
> I = macaulay2.ideal( ('y^2 -x','x-y') ); I
> J = I^3;
> print J
> print J.gb()
> }}}
> gives this output
> {{{
> 6 4 2 2 3 4 5 2 2 3 3 2 2
> 2 3 4 3 2 2 3 2 2 3
> ideal (y + 2x*y - 2x y - x , x*y - y - 2x y + 2x*y + x - x y, x
> y - 2x*y + y - x + 2x y - x*y , x + 2x y - 2x*y - y )
> GroebnerBasis[status: done; S-pairs encountered up to degree 6]
> }}}
> This may not be limited to the sage notebook. I haven't checked.
New description:
This input in the sage notebook
{{{
R2 = macaulay2.ring('QQ','[x,y]'); R2
}}}
gives this output
{{{
QQ[x..y, Degrees => {2:1}, Heft => {1}, MonomialOrder =>
{MonomialSize => 16}, DegreeRank => 1]
{Lex => 2
}
{Position =>
Up }
}}}
This input in the sage notebook
{{{
I = macaulay2.ideal( ('y^2 -x','x-y') ); I
J = I^3;
print J
print J.gb()
}}}
gives this output
{{{
6 4 2 2 3 4 5 2 2 3 3 2 2
2 3 4 3 2 2 3 2 2 3
ideal (y + 2x*y - 2x y - x , x*y - y - 2x y + 2x*y + x - x y, x
y - 2x*y + y - x + 2x y - x*y , x + 2x y - 2x*y - y )
GroebnerBasis[status: done; S-pairs encountered up to degree 6]
}}}
This may not be limited to the sage notebook. I haven't checked.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/11217#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.