Hi, Umm, I just happened to notice that the source code jacobi.c is very similar to that in the book, Numerical Recipes in C, the jacobi function (page 467). Even the local variables have the same names.