Ejemplo n.º 1
0
  public static int syevd(char jobz, char uplo, DoubleMatrix A, DoubleMatrix w) {
    int n = A.rows;

    int info = NativeBlas.dsyevd(jobz, uplo, n, A.data, 0, A.rows, w.data, 0);

    if (info > 0) throw new LapackConvergenceException("SYEVD", "Not all eigenvalues converged.");

    return info;
  }