source: git/Tst/Short/modstd_s.tst @ 6b9ca3

fieker-DuValspielwiese
Last change on this file since 6b9ca3 was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 528 bytes
Line 
1LIB "tst.lib";
2tst_init();
3
4LIB "modstd.lib";
5
6example modStd;
7
8/* standard: cyclic 5 */
9ring r1 = 0, x(1..5), dp;
10ideal I = cyclic(5);
11modStd(I);
12
13/* without final tests */
14ring r2 = 0, x(1..6), dp;
15ideal I = cyclic(6);
16modStd(I, 0);
17
18/* with parameters */
19ring r3 = (0,u,v,w), (x,y,z), dp;
20ideal I = x+u*y, y+v*z;
21modStd(I);
22
23/* for primeTest_std() */
24ring r4 = 0, x, dp;
25ideal I = 2147483587*x2+1;
26modStd(I);
27
28/* for deleteUnluckyPrimes_std() */
29ring r5 = 0, (x,y), dp;
30ideal I = 2*x+y, x+2^30*y;
31modStd(I);
32
33tst_status(1);$
Note: See TracBrowser for help on using the repository browser.