|
From: | Yves Renard |
Subject: | Re: [Getfem-users] GMM - orthonormals basis for range of matrix |
Date: | Thu, 19 Sep 2013 17:01:56 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 |
Dear P. Berger, No, there is no specific function in Gmm to compute the orthonormal basis for the range of a matrix. (There is a function which is range_basis in gmm_range_basis.h but it is for large sparse matrices and this extract only a basis, it do not perform an orthogonalization). The class in gmm_modified_gram_schmidt.h header is mainly used by gmres algorithm. It works on a dense matrix. The function "orthogonalize" performs the ortogonalization of the vector number i, storing the scalar products in a vector Hi. This means that before calling "orthogonalize" you need to fill the vectors V[i] of the object modified_gram_schmidt. This is really adapted to the gmres algorithm. Probably, in your case, it is simpler to just copy the loop of the function orthogonalize than using the modified_gram_schmidt object. Yves. Le 18/09/2013 18:26, Philipp Berger a écrit : To whom it may concern, -- Yves Renard (address@hidden) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard --------- |
[Prev in Thread] | Current Thread | [Next in Thread] |