fieker-DuValspielwiese
Last change
on this file since cbf01b was
894057,
checked in by Oleksandr Motsak <motsak@…>, 13 years ago
|
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
|
-
Property mode set to
100644
|
File size:
304 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | ring r=0,(x,y,z),dp; |
---|
3 | ideal I = 0,x,0,1; |
---|
4 | I; |
---|
5 | I + 0; // simplification |
---|
6 | ideal J = I,0,x,x-z;; |
---|
7 | J; |
---|
8 | I * J; // multiplication with simplification |
---|
9 | I*x; |
---|
10 | vector V = [x,y,z]; |
---|
11 | print(V*I); |
---|
12 | ideal m = maxideal(1); |
---|
13 | m^2; |
---|
14 | ideal II = I[2..4]; |
---|
15 | II; |
---|
16 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.