Changeset 7f5789 in git for Singular/LIB/freegb.lib
- Timestamp:
- Jan 18, 2020, 10:59:58 PM (4 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- c417af59af93bdad5278db69f84585a318ee2ba5
- Parents:
- da6d43a81ee1ba91b8ecae7bb3a89f608e66b354
- git-author:
- Karim Abou Zeid <karim23697@gmail.com>2020-01-18 22:59:58+01:00
- git-committer:
- Karim Abou Zeid <karim23697@gmail.com>2020-01-18 23:05:58+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/freegb.lib
rda6d43a r7f5789 26 26 lpDegBound(R); returns the degree bound of a letterplace ring 27 27 lpVarBlockSize(R); returns the size of the letterplace blocks 28 lpNcgenCount(R); returns the number of ncgen variables 28 29 lpDivision(f,I); two-sided division with remainder 29 30 lpGBPres2Poly(L,I); reconstructs a polynomial from the output of lpDivision … … 1004 1005 def R = freeAlgebra(r, 7); 1005 1006 isFreeAlgebra(R); 1007 } 1008 1009 proc lpNcgenCount(def R) 1010 "USAGE: lpNcgenCount(R); R a letterplace ring 1011 RETURN: int 1012 PURPOSE: returns the number of ncgen variables in the letterplace ring. 1013 EXAMPLE: example ncgenCount; shows examples 1014 " 1015 { 1016 return(attrib(R, "ncgenCount")); 1017 } 1018 example 1019 { 1020 "EXAMPLE:"; echo = 2; 1021 ring r = 0,(x,y,z),dp; 1022 def R = freeAlgebra(r, 7, 10); 1023 lpNcgenCount(R); // should be 10 1006 1024 } 1007 1025
Note: See TracChangeset
for help on using the changeset viewer.