Boost logo

Ublas :

From: Paul C. Leopardi (paul.leopardi_at_[hidden])
Date: 2008-05-24 04:22:38


On Fri, 23 May 2008, jinzhu d wrote:
> 1 ÈçºÎÀûÓÃublasÇó¾ØÕóµÄÄ棿how to get the inverse matrix ?
> 2 ÓбȽÏÍêÕûµÄÖÐÎÄ°ïÖúÎļþ£¿how can i get a copy of helpfile
> in chinese ?

Hi Jinzhu,
1. GluCat needs to obtain the inverse matrix and does so by using lu_factorize
and lu_substitute with a right hand side which is a unit matrix of the
appropriate size. You can see the code in the routine operator/ at
http://glucat.cvs.sourceforge.net/glucat/glucat/glucat/matrix_multi_imp.h?view=markup

For an example which is more relevant to your case, see
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?LU_Matrix_Inversion

2. Sorry can't help.
Best, Paul