source: git/Tst/Plural/mult_general_q1.tst @ e3b071

fieker-DuValspielwiese
Last change on this file since e3b071 was e0b657, checked in by Hans Schönemann <hannes@…>, 17 years ago
*hannes: ncalgebra -> nc_algebra git-svn-id: file:///usr/local/Singular/svn/trunk@10367 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100755
File size: 472 bytes
Line 
1LIB "tst.lib";
2tst_init();
3ring r=(0,Q),(x,y,z),Dp;
4minpoly=Q^4+Q^2+1;
5matrix C[3][3];
6matrix D[3][3];
7C[1,2]=Q2;
8C[1,3]=1/Q2;
9C[2,3]=Q2;
10D[1,2]=-Q*z;
11D[1,3]=1/Q*y;
12D[2,3]=-Q*x;
13def S=nc_algebra(C,D); setring S;
14int N=5;
15poly f;
16poly g;
17int i;
18int j;
19int k;
20for(i=1;i<=N;i++)
21{
22  for(j=1;j<=N;j++)
23  {
24    for(k=1;k<=N;k++)
25    {
26       f=(z^k*y^j)*x^i;
27       g=z^k*(y^j*x^i);
28       g=g-f;
29       if (g!=0) {"Fail";i;j;k;f;}
30    }
31  } 
32}
33z^5*y^4*x^3;
34tst_status(1);$
Note: See TracBrowser for help on using the repository browser.