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

D.15.6.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;
divisor D = multdivisor(4,A);
D;
A*4;