bridge/class-master/depend/pari/src/basemath/ellsea.c
/*Builds the modular equation corresponding to the vector list. Shallow */
Builds the modular equation corresponding to the vector list. Shallow
Builds the modular equation corresponding to the vector list . Shallow
static GEN
list_to_pol(GEN list, long vx, long vy)
{
  long i, l = lg(list);
  GEN P = cgetg(l, t_VEC);
  for (i = 1; i < l; i++)
  {
    GEN L = gel(list,i);
    if (typ(L) == t_VEC) L = RgV_to_RgX_reverse(L, vy);
    gel(P, i) = L;
  }
  return RgV_to_RgX_reverse(P, vx);
}
static GEN list_to_pol ( GEN list , long vx , long vy ) { long i , l = lg ( list ) ; GEN P = cgetg ( l , t_VEC ) ; for ( i = 1 ; i < l ; i ++ ) { GEN L = gel ( list , i ) ; if ( typ ( L ) == t_VEC ) L = RgV_to_RgX_reverse ( L , vy ) ; gel ( P , i ) = L ; } return RgV_to_RgX_reverse ( P , vx ) ; }
Builds the modular equation corresponding to the vector list.
Builds the modular equation corresponding to the vector list .