bridge/class-master/depend/pari/src/basemath/galconj.c
/* index of conjugacy class containing g */
index of conjugacy class containing g
index of conjugacy class containing g
static long
cc_id(GEN cc, GEN g)
{
  GEN conj = gel(cc,2);
  long k = signe(gel(cc,4))? g[1]: vecvecsmall_search(gel(cc,1),g,0);
  return conj[k];
}
static long cc_id ( GEN cc , GEN g ) { GEN conj = gel ( cc , 2 ) ; long k = signe ( gel ( cc , 4 ) ) ? g [ 1 ] : vecvecsmall_search ( gel ( cc , 1 ) , g , 0 ) ; return conj [ k ] ; }
index of conjugacy class containing g
index of conjugacy class containing g