source: git/Tst/Short/bug_sres_betti.tst @ 197c4e

spielwiese
Last change on this file since 197c4e was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 391 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=32003,(y,t,x,z,w),(dp, c);
4ideal i=6*t^5*x^3*z^4+5*x^5*z^7+4*t^4*y*z^3*w^4,
55*t^3*x^2*y^7*z^4+5*t^6*x*y^3*z^3*w^3+4*t^5*x^5*y*w^5,
62*t^8*z^6+6*t^5*y*z^7*w+6*t^4*y^2*z^3*w^5;
7resolution rs = sres(std(i), 0);rs;
8resolution rl = lres(i, 0);rl;
9intmat is = betti(rs);is;
10intmat il = betti(rl);il;
11if (size(is) != size(il)) {"ERROR: is != il";}
12tst_status(1);
13$
Note: See TracBrowser for help on using the repository browser.