|
From: | Doug McKee |
Subject: | Re: [Help-gsl] Determinant of a matrix: |
Date: | Mon, 28 Feb 2005 10:29:41 -0800 |
Thanks to both of you! Indeed, I was not including gsl_linalg.h, and since I've added that, gsl_linalg_LU_det() now works great. And I've been lazy and haven't been using -Wall which would have caught the problem. Maybe this was the original guy's issue!
Doug On Feb 28, 2005, at 4:29 AM, Joakim Hove wrote:
Doug McKee <address@hidden> writes:If I copy the function definition from the gsl source and rename the function my_gsl_linalg_LU_det in my own file, it works great.Did you have the appropriate include statements in your code, i.e. at least:#include <gsl/gsl_matrix.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_linalg.h> How did you compile and link? HTH - Joakim -- Joakim Hove hove AT ift uib no Tlf: +47 (55 5)8 27 90 Fax: +47 (55 5)8 94 40 http://www.ift.uib.no/~hove/
[Prev in Thread] | Current Thread | [Next in Thread] |