source: git/Tst/Manual/ringtensor.tst @ 0d6b7fc

spielwiese Release-4-3-2p2
Last change on this file since 0d6b7fc 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: 526 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "ring.lib";
3ring r=32003,(x,y,u,v),dp;
4ring s=0,(a,b,c),wp(1,2,3);
5ring t=0,x(1..5),(c,ls);
6def R=ringtensor(r,s,t);
7type R;
8setring s;
9ideal i = a2+b3+c5;
10def S=changevar("x,y,z");       //change vars of s
11setring S;
12qring qS =std(fetch(s,i));      //create qring of S mod i (mapped to S)
13def T=changevar("d,e,f,g,h",t); //change vars of t
14setring T;
15qring qT=std(d2+e2-f3);         //create qring of T mod d2+e2-f3
16def Q=ringtensor(s,qS,t,qT);
17setring Q; type Q;
18kill R,S,T,Q;
19tst_status(1);$
Note: See TracBrowser for help on using the repository browser.