MAGMA calls rational points of a curve
``places of
degree
''. MAGMA will find all points in all
affine components at the same time. A point in the
affine component
is denoted
. A point in the
affine component
is denoted
. A point in the
affine component
is denoted
.
> Places(C,1);
[
Place at (0 : 1 : 0),
Place at (0 : 0 : 1),
Place at (1 : 0 : 0),
Place at (4 : 2 : 1),
Place at (3 : 2 : 1),
Place at (3 : 4 : 1)
]
> p:=A![3,2];
> p in C;
true (3, 2)
Divisors can be defined as formal sums of points:
> P1:=Places(C,1); > D:=P1[2]+P1[3]; > Div := DivisorGroup(C); > D0:=Div!D; > D0; Divisor 1*Place at (0 : 0 : 1) + 1*Place at (1 : 0 : 0) > D:=2*P1[2]+P1[3]; > D0:=Div!D; > D0; Divisor 2*Place at (0 : 0 : 1) + 1*Place at (1 : 0 : 0)