Ejemplo n.º 1
0
  public static int syev(char jobz, char uplo, FloatMatrix a, FloatMatrix w) {
    int info = NativeBlas.ssyev(jobz, uplo, a.rows, a.data, 0, a.rows, w.data, 0);

    if (info > 0)
      throw new LapackConvergenceException(
          "SYEV",
          "Eigenvalues could not be computed " + info + " off-diagonal elements did not converge");

    return info;
  }