The function gsl_linalg_solve_symm_tridiag is documented (and named) as
a solver for a general symmetric tridiagonal system.  It uses a variant
of Cholesky decomposition, treating the diagonal differently so that the algorithm applies to more than just positive definite matrices.

However, if that diagonal in this decomposition is ever zero (e.g., the upper-left entry of the original matrix is zero), the algorithm will divide by zero without checking, producing NaNs.

Duane Nykamp


--
Duane Nykamp                 Phone:  612-625-0338
School of Mathematics        Fax:    612-626-2017
University of Minnesota      E-mail: [EMAIL PROTECTED]
206 Church St. SE            Web:    www.math.umn.edu/~nykamp/
Minneapolis, MN 55455        Office: 202 Vincent Hall



_______________________________________________
Bug-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gsl

Reply via email to