code: public static INDArray symmetricGeneralizedEigenvalues(INDArray A, boolean calculateVectors) {
          INDArray eigenvalues = Nd4j.create(A.rows());
          Nd4j.getBlasWrapper().syev('V', 'L', (calculateVectors ? A : A.dup()), eigenvalues);
          return eigenvalues;
      }
docs: Compute generalized eigenvalues of the problem A x = L x.
  Matrix A is modified in the process, holding eigenvectors as columns after execution.
  
  @param A symmetric Matrix A. After execution, A will contain the eigenvectors as columns
  @param calculateVectors if false, it will not modify A and calculate eigenvectors
  @return a vector of eigenvalues L.