bridge/class-master/depend/pari/src/basemath/mftrace.c
/* return k such that minimal mfcharacter in Galois orbit of CHI is CHI^k */
return k such that minimal mfcharacter in Galois orbit of CHI is CHI^k
return k such that minimal mfcharacter in Galois orbit of CHI is CHI^k
static long
mfconreyminimize(GEN CHI)
{
  GEN G = gel(CHI,1), cyc, chi;
  cyc = ZV_to_zv(znstar_get_cyc(G));
  chi = ZV_to_zv(znconreychar(G, gel(CHI,2)));
  return zv_cyc_minimize(cyc, chi, coprimes_zv(mfcharorder(CHI)));
}
static long mfconreyminimize ( GEN CHI ) { GEN G = gel ( CHI , 1 ) , cyc , chi ; cyc = ZV_to_zv ( znstar_get_cyc ( G ) ) ; chi = ZV_to_zv ( znconreychar ( G , gel ( CHI , 2 ) ) ) ; return zv_cyc_minimize ( cyc , chi , coprimes_zv ( mfcharorder ( CHI ) ) ) ; }
return k such that minimal mfcharacter in Galois orbit of CHI is CHI^k
return k such that minimal mfcharacter in Galois orbit of CHI is CHI^k