apply_I,
apply_S,
apply_T,
index,
index_and_scalar,
index_of_normalized_pair,
list,
N,
normalize,
normalize_with_scalar
Further documentation:
) |
Returns the index of the class of
in the fixed list of
representatives of
.
INPUT: u, v -- integers, with GCD(u,v,N)=1. OUTPUT: i -- the index of u, v, in the P^1 list.
) |
Returns the index of the class of
in the fixed list of
representatives of
.
INPUT: u, v -- integers, with GCD(u,v,N)=1. OUTPUT: i -- the index of u, v, in the P^1 list. s -- scalar that transforms normalized form to u,v
) |
Returns the index of the class of
in the fixed list of
representatives of
.
INPUT: u, v -- integers, with GCD(u,v,N)=1 normalized so they lie in the list. OUTPUT: i -- the index of u, v, in the P^1 list.
) |
normalize_with_scalar(self, int u, int v)
INPUT: u, v -- integers, with GCD(u,v,N)=1. OUTPUT: uu, vv -- integers of *normalized* rep ss -- scalar such that (ss*uu, ss*vv) = (u,v) mod N
Instances of class P1List also have the following special functions:
__getitem__,
__getslice__,
__len__
See About this document... for information on suggesting changes.