Changeset d6cc54 in git for Singular/LIB/latex.lib
- Timestamp:
- Dec 10, 1998, 2:07:19 PM (25 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 561cbff6c8bde79e69464018b2b6da689bcf69b3
- Parents:
- c4041ef202c36f5e5c59e227cb2e701c7e1a0fc3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/latex.lib
rc4041ef rd6cc54 1 // $Id: latex.lib,v 1. 5 1998-10-21 10:28:25krueger Exp $1 // $Id: latex.lib,v 1.6 1998-12-10 13:07:19 krueger Exp $ 2 2 // 1998/04/17 3 3 // author : Christian Gorzel email: gorzelc@math.uni-muenster.de … … 481 481 { "EXAMPLE:"; echo = 2; 482 482 string fname = "tldemo"; 483 ring r1=0,(x,y,z),dp; export r1; 483 ring r1=0,(x,y,z),dp; 484 if(system("with","Namespaces")) { exportto(Current, r1); } 485 else { export r1; } 484 486 ring r2=0,(u,v),dp; 485 487 map phi =(r1,u2,uv -v,v2); export phi; … … 1744 1746 } 1745 1747 1746 1747 1748 export randompoly; 1748 if(system("with","Namespaces")) { exportto(Current, randompoly); } 1749 else { export randompoly; } 1749 1750 1750 1751 proc randomintv(int n, int m) … … 1902 1903 " A ring in characteristic 0 with short variablenames and polynomial ordering. 1903 1904 " +nl); 1904 ring r0=0,(x,y,z),dp; export r0; 1905 ring r0=0,(x,y,z),dp; 1906 if(system("with","Namespaces")) { exportto(Current, r0); } 1907 else { export r0; } 1905 1908 poly g = -x2y +2y13z +1; export g; 1906 1909 poly f = randompoly(5,25,25); f; export f; … … 1937 1940 " A ring in characteristic 7 with indexed variablenames and local ordering. 1938 1941 " +nl); 1939 ring r1=7,(x1,x2,x3,x4),Ds; export r1; 1942 ring r1=7,(x1,x2,x3,x4),Ds; 1943 if(system("with","Namespaces")) { exportto(Current, r1); } 1944 else { export r1; } 1940 1945 poly g = -2*x1 +x4 -1; 1941 1946 poly f = randompoly(5,25,25); f; export f; … … 1979 1984 " A ring in characteristic 0 with indexed variablenames and weighted ordering. 1980 1985 " +nl); 1981 ring r3=0,(x_1,x_2,x_3),wp(3,2,1); export r3; 1986 ring r3=0,(x_1,x_2,x_3),wp(3,2,1); 1987 if(system("with","Namespaces")) { exportto(Current, r3); } 1988 else { export r3; } 1982 1989 poly g = -x_1*x_2 + 2*x_2*x_3 + x_1*x_3; g; 1983 1990 poly f = randompoly(5,25,25); f; export f; … … 2021 2028 " A ring in characteristic 0 and indexed parameters. 2022 2029 " +nl); 2023 ring r0t=(0,s,t),(x,y),dp; export r0t; 2030 ring r0t=(0,s,t),(x,y),dp; 2031 if(system("with","Namespaces")) { exportto(Current, r0t); } 2032 else { export r0t; } 2024 2033 poly g = 8*(-s+2t)/(st+t3)*x + t2*x -1; g; 2025 2034 poly f = randompoly(5,25,25); f; export f; … … 2087 2096 " A ring defined with \\verb|gftables|, the same as \\verb|ralg| before, but 2088 2097 with primitive element in the Galoisfield $\\F_{49}$." +nl); 2089 ring r49 =(49,a),x,dp; export r49; 2098 ring r49 =(49,a),x,dp; 2099 if(system("with","Namespaces")) { exportto(Current, r49); } 2100 else { export r49; } 2090 2101 poly g = -(2a13 +a)*x2 + a2*x -a +1; g; export g; 2091 2102 poly f = randompoly(5,25,25); f; … … 2315 2326 write(fname,nl2); 2316 2327 2317 export r0,ralg; 2328 if(system("with","Namespaces")) { exportto(Current, r0, ralg); } 2329 else { export r0,ralg; } 2318 2330 "end part 1" + nl; 2319 2331 } … … 2720 2732 setring r; 2721 2733 ideal I = 3xz5+x2y3-3z,7xz5+y3z+x-z,-xyz2+4yz+2x; 2722 export r; 2723 export I; 2734 if(system("with","Namespaces")) { exportto(Current, r, I); } 2735 else { 2736 export r; 2737 export I; 2738 } 2724 2739 listvar(r); 2725 2740 texobj(fname,"I"); … … 2754 2769 > texmap(fname,phi,r1,r2,\"\\\\C\");" + nl + 2755 2770 ev ); 2756 ring r1=0,(x,y,z),dp; export r1; 2771 ring r1=0,(x,y,z),dp; 2772 if(system("with","Namespaces")) { exportto(Current, r1); } 2773 else { export r1; } 2757 2774 ring r2=0,(u,v),dp; 2758 2775 map phi =r1,u2,uv -v,v2; export phi;
Note: See TracChangeset
for help on using the changeset viewer.