Changeset 74afe1f in git for Singular/LIB/schreyer.lib
- Timestamp:
- May 23, 2012, 8:26:06 PM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 8e650e4e942e4e3510a0d6fddf77ac0f30d32fb5
- Parents:
- 5020a60f5779ffc1406febfaaefb86db176ddc13
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-05-23 20:26:06+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-05-07 04:41:43+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/schreyer.lib
r5020a6 r74afe1f 703 703 704 704 // attrib(S, "InducionStart", @RANK); 705 attrib(S, "LEAD2SYZ", 0);705 attrib(S, "LEAD2SYZ", 1); 706 706 attrib(S, "TAILREDSYZ", 1); 707 707 attrib(S, "DEBUG", @DEBUG); … … 857 857 858 858 /// Compute Syz(L), where L is a monomial (leading) module 859 proc SSCompute2LeadingSyzygyTerms(def L , int @TAILREDSYZ)859 proc SSCompute2LeadingSyzygyTerms(def L) 860 860 { 861 861 if( typeof( attrib(basering, "DEBUG") ) == "int" ) … … 874 874 int @SYZCHECK = @DEBUG; 875 875 } 876 877 int @TAILREDSYZ = 1; 878 if( typeof( attrib(basering, "TAILREDSYZ") ) == "int" ) 879 { 880 @TAILREDSYZ = attrib(basering, "TAILREDSYZ"); 881 } 882 876 883 877 884 if( @DEBUG ) … … 879 886 "SSCompute2LeadingSyzygyTerms::Input: "; 880 887 L; 881 "@TAILREDSYZ: ", @TAILREDSYZ;882 888 } 883 889 … … 956 962 } 957 963 } 958 } 964 965 module SS = Compute2LeadingSyzygyTerms(L); 966 967 "S: "; DetailedPrint(S); 968 "SS: "; DetailedPrint(SS); 969 970 if( size(module(matrix(S) - matrix(SS))) > 0 ) 971 { 972 "ERROR: S != SS "; 973 974 "basering: "; 975 DetailedPrint(basering); 976 977 "S: "; S; 978 DetailedPrint(S, 2); 979 "SS: "; SS; 980 DetailedPrint(SS, 2); 981 982 "DIFF: "; 983 print(matrix(S) - matrix(SS)); 984 DetailedPrint(module(matrix(S) - matrix(SS)), 4); 985 $ 986 } 987 988 } 959 989 960 990 module S2 = Tail(S); … … 1146 1176 def a2; int r2; poly aa2; 1147 1177 module LL, LL2; 1148 (LL, LL2) = SSCompute2LeadingSyzygyTerms(L , @TAILREDSYZ); // ++1178 (LL, LL2) = SSCompute2LeadingSyzygyTerms(L); // ++ 1149 1179 } else 1150 1180 { … … 1562 1592 exportto(Schreyer, Syzextra::Tail); 1563 1593 exportto(Schreyer, Syzextra::ComputeLeadingSyzygyTerms); 1594 exportto(Schreyer, Syzextra::Compute2LeadingSyzygyTerms); 1564 1595 exportto(Schreyer, Syzextra::Sort_c_ds); 1565 1596 } … … 1605 1636 exportto(Schreyer, Syzextra_g::Tail); 1606 1637 exportto(Schreyer, Syzextra_g::ComputeLeadingSyzygyTerms); 1638 exportto(Schreyer, Syzextra_g::Compute2LeadingSyzygyTerms); 1607 1639 exportto(Schreyer, Syzextra_g::Sort_c_ds); 1608 1640
Note: See TracChangeset
for help on using the changeset viewer.