Changeset 56c1da in git
- Timestamp:
- Mar 15, 2018, 3:03:41 PM (5 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 7e5164822dfad56a986d4d205e77a60f62611fc3
- Parents:
- 8ff090c8caf331f456d841b4dfcae0dab86cc3d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/freegb.lib
r8ff090 r56c1da 3732 3732 } 3733 3733 3734 proc lpPrint(ideal I, def @r) 3735 "USAGE: lpPrint(I, r); I an ideal, r a ring 3736 RETURN: list of strings 3737 PURPOSE: represent Letterplace ideal in the form of words 3738 ASSUME: - basering is a Letterplace ring, r is the commutative ring 3739 from which basering has been built 3740 EXAMPLE: example lpPrint; shows example 3741 " 3742 { 3743 def save = basering; 3744 lp2lstr(I,@r); // export an object called @code{@LN} to the ring r 3745 setring @r; // change to the ring r 3746 list @L = lst2str(@LN,1); 3747 export @L; 3748 setring save; 3749 list @@L = @L; 3750 setring @r; 3751 kill @L; 3752 kill @LN; 3753 setring save; 3754 return(@@L); 3755 } 3756 example 3757 { 3758 "EXAMPLE:"; echo = 2; 3759 ring r = (0,a,b,g),(x,y),Dp; 3760 def R = makeLetterplaceRing(4); // constructs a Letterplace ring 3761 setring R; // downup algebra A 3762 ideal J = x(1)*x(2)*y(3)-a*x(1)*y(2)*x(3) - b*y(1)*x(2)*x(3) - g*x(1), 3763 x(1)*y(2)*y(3)-a*y(1)*x(2)*y(3) - b*y(1)*y(2)*x(3) - g*y(1); 3764 list L = lpPrint(J,r); 3765 L; 3766 } 3767 3734 3768 /* THE FOLLOWING ARE UNDER DEVELOPMENT 3735 3769 // copied following from freegb_wrkcp.lib by Karim Abou Zeid on 07.04.2017:
Note: See TracChangeset
for help on using the changeset viewer.