code: public static ComplexDoubleMatrix eigenvalues(DoubleMatrix A) {
          A.assertSquare();
          DoubleMatrix WR = new DoubleMatrix(A.rows);
          DoubleMatrix WI = WR.dup();
          SimpleBlas.geev('N', 'N', A.dup(), WR, WI, dummyDouble, dummyDouble);
  
          return new ComplexDoubleMatrix(WR, WI);
      }
docs: Computes the eigenvalues of a general matrix.