bridge/class-master/depend/pari/src/basemath/char.c
/* G is a znstar, 'a' is a Dirichlet character */
G is a znstar, 'a' is a Dirichlet character
G is a znstar ' a ' is a Dirichlet character
GEN
zncharpow(GEN G, GEN a, GEN n)
{
  switch(typ(a))
  {
    case t_INT: return Fp_pow(a, n, znstar_get_N(G));
    case t_VEC: return charpow(znstar_get_cyc(G), a, n);
    case t_COL: return charpow(znstar_get_conreycyc(G), a, n);
    default: pari_err_TYPE("znchapow",a);
             return NULL; 
  }
}
GEN zncharpow ( GEN G , GEN a , GEN n ) { switch ( typ ( a ) ) { case t_INT : return Fp_pow ( a , n , znstar_get_N ( G ) ) ; case t_VEC : return charpow ( znstar_get_cyc ( G ) , a , n ) ; case t_COL : return charpow ( znstar_get_conreycyc ( G ) , a , n ) ; default : pari_err_TYPE ( " " , a ) ; return NULL ; } }
G is a znstar, 'a' is a Dirichlet character
G is a znstar ' a ' is a Dirichlet character
/* LCOV_EXCL_LINE */