What do you mean by handle it? According to the documentation, if the function cannot compute all eigenvalues, an error code is returned. In the case of gsl_eigen_nonsymm, the number of converged eigenvalues is stored in w->n_evals.
Patrick On 1/19/21 10:33 AM, Patrick Dupre wrote: > Hello, > > Is there a way to handle the possible error of gsl_eigen_nonsymmv ? > > For example, when the matrix is not diagonalizable. > > Thanks > > =========================================================================== > Patrick DUPRÉ | | email: pdu...@gmx.com > Laboratoire interdisciplinaire Carnot de Bourgogne > 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE > Tel: +33 (0)380395988 > =========================================================================== > >