I would like to calculate the eigenvalues of a complex hermitian matrix, but I don't know how to use the cgees function, everytime I use it, it gives a segmentation fault. I'm a beginner in using lapack, so could anyone write me a code, which i can include to my c program, so it would work?