# [GAP Forum] magnitude in GAP

Tue Apr 28 18:45:35 BST 2009



Dear forum;

I am trying to write some code to  find Z(chi);

where   Z(\chi ) = \{ g \in G\left| {\left| {\chi (g)} \right| = \chi (1)\} } \right

it seems that GAP doesn't contain function to find the magnitude for  complex number?

is there any way to calculate the above expression?

thanks.

http://www.live.com/getstarted.aspx