Top
Back: divisorplus
Forward: negativedivisor
FastBack:
FastForward:
Up: divisors_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.5.4.3 multdivisor

Procedure from library divisors.lib (see divisors_lib).

Usage:
multdivisor(n ,A); A*n; n = integer, A = divisor.

Assume:
n is an integer and A is a divisor on X.

Return:
a divisor on X

Theory:
The procedure will compute the n-th power of the numerator and denominator ideals, respectively.

Example:
 
LIB "divisors.lib";
ring r=31991,(x,y,z),dp;
ideal I = y^2*z - x*(x-z)*(x+3*z);
qring Q = std(I);
divisor A = makeDivisor(ideal(x,z),ideal(1));
A;
==> (z,x) - (1)
==> 
divisor D = multdivisor(4,A);
D;
==> (z2,xz) - (1)
==> 
A*4;
==> (z2,xz) - (1)
==> 


Top Back: divisorplus Forward: negativedivisor FastBack: FastForward: Up: divisors_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.