code: public static FloatMatrix symmetricGeneralizedEigenvalues(FloatMatrix A, FloatMatrix B) {
          A.assertSquare();
          B.assertSquare();
          FloatMatrix W = new FloatMatrix(A.rows);
          SimpleBlas.sygvd(1, 'N', 'U', A.dup(), B.dup(), W);
          return W;
      }
docs: Compute generalized eigenvalues of the problem A x = L B x.
  
  @param A symmetric Matrix A. Only the upper triangle will be considered.
  @param B symmetric Matrix B. Only the upper triangle will be considered.
  @return a vector of eigenvalues L.