bridge/class-master/depend/pari/src/basemath/buch4.c
/* apply lift(rnfeltup) to all coeffs, without rnf structure */
apply lift(rnfeltup) to all coeffs, without rnf structure
apply lift ( rnfeltup ) to all coeffs without rnf structure
static GEN
nfX_eltup(GEN nf, GEN rnfeq, GEN x)
{
  long i, l;
  GEN y = cgetg_copy(x, &l), zknf = nf_nfzk(nf, rnfeq);
  for (i=2; i<l; i++) gel(y,i) = nfeltup(nf, gel(x,i), zknf);
  y[1] = x[1]; return y;
}
static GEN nfX_eltup ( GEN nf , GEN rnfeq , GEN x ) { long i , l ; GEN y = cgetg_copy ( x , & l ) , zknf = nf_nfzk ( nf , rnfeq ) ; for ( i = 2 ; i < l ; i ++ ) gel ( y , i ) = nfeltup ( nf , gel ( x , i ) , zknf ) ; y [ 1 ] = x [ 1 ] ; return y ; }
apply lift(rnfeltup) to all coeffs, without rnf structure
apply lift ( rnfeltup ) to all coeffs without rnf structure