This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Matrix inversion.


Negin Nejati writes:
 >  Hi, I am a new user of this library and I have a silly question:
 > For inverting a matrix shouldn't I first use "gsl_linalg_LU_decomp"
 > function to decompose my matrix and then use "gsl_linalg_LU_invert"
 > passing the results of previous function to it, to invert the
 > matrix? If it is correct how come the multiplication of the
 > original matrix and it's reverse is not I?  I'll appreciate any
 > help, NN.

What you've described should work.  If it doesn't please send your
program as a bug report.

Thanks,

-- 
Brian Gough

----------------------------------------------------------------------
Network Theory Ltd            Phone: 0117 3179309 (+44 117 3179309)
15 Royal Park                 WWW: http://www.network-theory.co.uk/
Bristol BS8 3AL               Email: bjg@network-theory.co.uk     
United Kingdom                
----------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]