Home Online Manual
Top
Back: shiftPoly
Forward: lieBracket
FastBack:
FastForward:
Up: freegb_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.7.9.0. lpPower
Procedure from library freegb.lib (see freegb_lib).

Usage:
lpPower(f,n); f letterplace polynomial, int n

Return:
poly

Assume:
basering has a letterplace ring structure

Purpose:
compute the letterplace form of f^n

Example:
 
LIB "freegb.lib";
// define a ring in letterplace form as follows:
ring r = 0,(x(1),y(1),x(2),y(2),x(3),y(3),x(4),y(4)),dp;
def R = setLetterplaceAttributes(r,4,2); // supply R with letterplace structure
setring R;
poly a = x(1)*y(2) + y(1); poly b = y(1) - 1;
lpPower(a,2);
==> x(1)*y(2)*x(3)*y(4)+y(1)*x(2)*y(3)+x(1)*y(2)*y(3)+y(1)*y(2)
lpPower(b,4);
==> y(1)*y(2)*y(3)*y(4)-4*y(1)*y(2)*y(3)+6*y(1)*y(2)-4*y(1)+1