Recent content by tosburn3
-
T
GNU Scientific Library determinant of complex array help
While I'm still not sure why the other way didn't work, looping through each component seems to work. At least it compiles... Thanks!- tosburn3
- Post #9
- Forum: Programming and Computer Science
-
T
GNU Scientific Library determinant of complex array help
mymatrix is in fact a double complex. I will try that.- tosburn3
- Post #8
- Forum: Programming and Computer Science
-
T
GNU Scientific Library determinant of complex array help
Also, the inefficiency was actually that I computed the determinant once for the real part then again for the imaginary part, which would in fact take a lot longer.- tosburn3
- Post #6
- Forum: Programming and Computer Science
-
T
GNU Scientific Library determinant of complex array help
FWIW here is the error message when compiling with gcc (updated original post for recent version): lorenz_odd_1.c: In function ‘det’: lorenz_odd_1.c:122:1: warning: passing argument 1 of ‘gsl_matrix_complex_view_array’ from incompatible pointer type...- tosburn3
- Post #5
- Forum: Programming and Computer Science
-
T
GNU Scientific Library determinant of complex array help
I don't care if I have to use GSL crap as intermediate steps. I just want to start with a regular complex array and end with a regular complex number. It was my understanding that: gsl_matrix_complex_view m = gsl_matrix_complex_view_array(mymatrix, 6, 6); Will take "mymatrix" and make a...- tosburn3
- Post #3
- Forum: Programming and Computer Science
-
T
GNU Scientific Library determinant of complex array help
So I suck at programming, but I need to find the determinant of a complex 6x6 array using GSL in C (not GSL complex, complex.h complex). Here is what has failed so far starting with a 6x6 double complex array named mymatrix: gsl_matrix_complex_view m = gsl_matrix_complex_view_array(mymatrix, 6...- tosburn3
- Thread
- Array Complex Determinant Scientific
- Replies: 10
- Forum: Programming and Computer Science