I am trying to find the inverse of a Fourier Matrix but am getting confusing results. Inverse[R].R instead of giving the identity matrix, is giving me this(pic below). When I try for even order ones, it is working as expected(giving me the identity) but odd ones are giving me this result. Can someone please tell me what I am missing? PS. I am working on the RaspberryPi