bridge/class-master/depend/pari/src/basemath/ellsea.c
/*Computes the n-division polynomial modulo the polynomial h \in Fq[x] */
Computes the n-division polynomial modulo the polynomial h \in Fq[x]
Computes the n - division polynomial modulo the polynomial h \ in Fq [ x ]
GEN
Fq_elldivpolmod(GEN a4, GEN a6, long n, GEN h, GEN T, GEN p)
{
  struct divpolmod_red d;
  pari_sp ltop = avma;
  GEN res;
  Fq_elldivpolmod_init(&d, a4, a6, n, h, T, p);
  res = gcopy(divpol(d.t,d.r2,n,d.E,d.ff));
  divpol_free(d.t);
  return gerepileupto(ltop, res);
}
GEN Fq_elldivpolmod ( GEN a4 , GEN a6 , long n , GEN h , GEN T , GEN p ) { struct divpolmod_red d ; pari_sp ltop = avma ; GEN res ; Fq_elldivpolmod_init ( & d , a4 , a6 , n , h , T , p ) ; res = gcopy ( divpol ( d . t , d . r2 , n , d . E , d . ff ) ) ; divpol_free ( d . t ) ; return gerepileupto ( ltop , res ) ; }
Computes the n-division polynomial modulo the polynomial h \in Fq[x]
Computes the n - division polynomial modulo the polynomial h \ in Fq [ x ]