source: git/Tst/Plural/doc-twostd.tst @ a6e7454

spielwiese
Last change on this file since a6e7454 was a6e7454, checked in by Viktor Levandovskyy <levandov@…>, 21 years ago
nontrivial examples from Plural doc git-svn-id: file:///usr/local/Singular/svn/trunk@6653 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 337 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=0,(x,y,z),dp;
4matrix d[3][3];
5d[1,2]=-z;
6d[1,3]=2x;
7d[2,3]=-2y;
8system("PLURAL",1,d);
9// it is algebra U(sl_2)
10int N=3;
11poly f=1;
12for(int n=0;n<=N;n++)
13{
14  f=f*(z+N-2*n);
15}
16f;
17ideal i=x^(N+1),y^(N+1),f;
18option(redSB);
19option(redTail);
20ideal I=std(i);
21I;
22ideal J=system("twostd",i);
23J;
24tst_status(1);$
Note: See TracBrowser for help on using the repository browser.