1,2,1
//used time: 0.96 sec
536
i[1]=0
i[2]=0
i[3]=0
_[1]=xy-y2+xz-yz-z2+x3
_[2]=x2-xy-xz+yz
Note that Sage itself also has a built in singular interface, which is extremely good.
There's both a pexpect interface, which %singular
uses as does %singular.eval
. and a C++ library interface, which singular(...)
uses.
Singular
1,2,1
x^2-x*y+x-y