Hey everyone,
I’m a bit newer to Mathematica, and am running across an issue. I am trying to calculate the determinant of matrices of the form
mat = Table[(e^(2 *I* Pi/n))^(i*j), {i, 0, n-1}, {j, 0, n-1}];
but all results are displaying in the form Re^(i \theta) rather than in a component form. This seems inefficient; for example, for n=4 the simplified determinant on Mathematica is some chain of exponentials, while if you simplify by hand and plug in components properly, you get a succinct answer of -16i. Is there anyway to specifiy that Mathematica writes complex values from a table in component form, so that calculations based on that table/matrix like determinants look more presentable?
Thanks so much everyone!