help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] gsl_linalg_LU_invert


From: Warren Weckesser
Subject: [Help-gsl] gsl_linalg_LU_invert
Date: Tue, 10 Apr 2007 15:11:07 -0400

Matthias,

Your variable m is a "matrix view" of the array data[].  When
you call gsl_linalg_LU_decomp, this data is overwritten.  To make
your code work, you can first save a copy of the matrix. I have
attached a modified version of your program that will print the
2x2 identity matrix, as expected.

Warren

Attachment: gsl_inverse_test2.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]