spielwiese
Last change
on this file since 75f460 was
75f460,
checked in by Hans Schoenemann <hannes@…>, 9 years ago
|
format
|
-
Property mode set to
100644
|
File size:
799 bytes
|
Line | |
---|
1 | // $Id$ |
---|
2 | |
---|
3 | // sba_s.tst -- long tests for sba |
---|
4 | // uses rcyclic examples from ISSAC'98 paper |
---|
5 | |
---|
6 | LIB "tst.lib"; |
---|
7 | tst_init(); |
---|
8 | |
---|
9 | LIB"poly.lib"; |
---|
10 | |
---|
11 | proc cyclicn(int z) |
---|
12 | { |
---|
13 | int n = z; |
---|
14 | ring R = 32003,(x(0..(n-1))),dp; |
---|
15 | ideal i = cyclic(n); |
---|
16 | string bench = "CYCLIC-"+string(n); |
---|
17 | export(R); |
---|
18 | export(i); |
---|
19 | return(bench); |
---|
20 | } |
---|
21 | |
---|
22 | proc cyclicnh(int z) |
---|
23 | { |
---|
24 | int n = z; |
---|
25 | ring R = 32003,(x(0..(n-1)),h),dp; |
---|
26 | ideal i = homog(cyclic(n),h); |
---|
27 | string bench = "CYCLIC-"+string(n)+"-H"; |
---|
28 | export(R); |
---|
29 | export(i); |
---|
30 | return(bench); |
---|
31 | } |
---|
32 | |
---|
33 | string bench = cyclicn(7); |
---|
34 | sprintf(bench); |
---|
35 | ideal f; |
---|
36 | f = sba(i,1,0); |
---|
37 | f = sba(i,1,1); |
---|
38 | f = sba(i,0,0); |
---|
39 | f = sba(i,0,1); |
---|
40 | killall; |
---|
41 | string bench = cyclicnh(8); |
---|
42 | sprintf(bench); |
---|
43 | ideal f; |
---|
44 | f = sba(i,0,1); |
---|
45 | killall; |
---|
46 | |
---|
47 | tst_status(1);$ |
---|
48 | LIB "poly.lib"; |
---|
49 | killall(); |
---|
50 | killall("proc"); |
---|
51 | exit; |
---|
Note: See
TracBrowser
for help on using the repository browser.